On Fri, May 30, 2008 at 12:12 PM, Brion Vibber <brion(a)wikimedia.org> wrote:
As I replied to this email on mediawiki-l, this is
already done in
current MediaWiki.
Where is it? I don't see the code for it, grepping for img_sha1. It
doesn't seem to be working very well on Commons, either; look at
these, for instance:
*************************** 1. row ***************************
img_name:
Instruments_used_in_sutures,_from_Dictionnaire_Encyclopédique_des_Sciences_Médicales_(1884),4.png
img_timestamp: 20080530105044
img_sha1: 1ce8pwf7d2s0hcd3a6ktxex6dlktpoa
*************************** 2. row ***************************
img_name:
Instruments_used_in_sutures,_from_Dictionnaire_Encyclopédique_des_Sciences_Médicales_(1884),4_v2.png
img_timestamp: 20080530093214
img_sha1: 1ce8pwf7d2s0hcd3a6ktxex6dlktpoa
*************************** 3. row ***************************
img_name: Dongba_aspiration_windbells_in_Yuhe_Square_1.JPG
img_timestamp: 20080530164527
img_sha1: 8v0evoinz6f5qgdgxofi0vwfufu083h
*************************** 4. row ***************************
img_name: Dongba_aspiration_windbells_on_Yuhe_Square_1.JPG
img_timestamp: 20080530164450
img_sha1: 8v0evoinz6f5qgdgxofi0vwfufu083h
*************************** 5. row ***************************
img_name: 100_IT_Leaders_Infoworld_2008.pdf
img_timestamp: 20080530153253
img_sha1: ijgu9wx4qcxk6ve078comu0x0g7cbxk
*************************** 6. row ***************************
img_name: Ricardo_Astilla.pdf
img_timestamp: 20080530153947
img_sha1: ijgu9wx4qcxk6ve078comu0x0g7cbxk
*************************** 7. row ***************************
img_name:
Instruments_used_in_sutures,_from_Dictionnaire_Encyclopédique_des_Sciences_Médicales_(1884),5.png
img_timestamp: 20080530111626
img_sha1: j83wf4oz8iayd8v85syirgw9u6y9gyv
*************************** 8. row ***************************
img_name:
Instruments_used_in_sutures,_from_Dictionnaire_Encyclopédique_des_Sciences_Médicales_(1884),5_v2.png
img_timestamp: 20080530091740
img_sha1: j83wf4oz8iayd8v85syirgw9u6y9gyv
*************************** 9. row ***************************
img_name: Hot_Brown.jpg
img_timestamp: 20080530163250
img_sha1: mq3f3xci3okph7k3ll2uis4i87cvp86
*************************** 10. row ***************************
img_name: Hot_Brown_Kurtz.jpg
img_timestamp: 20080530164027
img_sha1: mq3f3xci3okph7k3ll2uis4i87cvp86
*************************** 11. row ***************************
img_name: Carte_paradiso.png
img_timestamp: 20080514083154
img_sha1: nwtyz25atmimeuukaa3b1hjdc5nqook
*************************** 12. row ***************************
img_name: Carto.png
img_timestamp: 20080530092516
img_sha1: nwtyz25atmimeuukaa3b1hjdc5nqook
*************************** 13. row ***************************
img_name: Cartography.png
img_timestamp: 20080530091309
img_sha1: nwtyz25atmimeuukaa3b1hjdc5nqook
*************************** 14. row ***************************
img_name: Flag_of_Fustumum_Independendist.svg
img_timestamp: 20080530153245
img_sha1: ptwnbj6qzanp8hzrz7atxd57y1ml8of
*************************** 15. row ***************************
img_name: Flag_of_Fustumum_without_Independendist.svg
img_timestamp: 20080530152427
img_sha1: ptwnbj6qzanp8hzrz7atxd57y1ml8of
*************************** 16. row ***************************
img_name: 2_tableau_etm.jpg
img_timestamp: 20080530105615
img_sha1: t9rj2xtv5nkw8775rocn74qhoyqogmk
*************************** 17. row ***************************
img_name: Les_valeurs_cycle_fermé.jpg
img_timestamp: 20080530115607
img_sha1: t9rj2xtv5nkw8775rocn74qhoyqogmk
*************************** 18. row ***************************
img_name: Ccf.JPG
img_timestamp: 20080530164826
img_sha1: tea3v7bso0h42pb15d1mmurbkvzfxe8
*************************** 19. row ***************************
img_name: Claycountyfair.JPG
img_timestamp: 20080530165307
img_sha1: tea3v7bso0h42pb15d1mmurbkvzfxe8
All are duplicate SHA-1's, and all have at least two copies uploaded
today. One has another copy that was uploaded two weeks ago. Are
these just people who were ignoring the warnings?
On Fri, May 30, 2008 at 12:14 PM, M Sz <echalone(a)hotmail.com> wrote:
Concerning the core integration: Well, I don't
know how long it will take till its actually in the core and up on wikipedia. If its
faster when integrated into the core it would be a better choice, of course. But until
then it may be a good idea to put the extension up for preventing duplicate images until a
new version of wikipedia with this feature integrated into the core is running.
Generally things done in core (or an already-used extension) are
faster, because anyone with commit access can make those changes.
Enabling a new extension requires a shell user, and there are a lot
fewer of those.