Page MenuHomePhabricator

Files with hash of an old version
Closed, ResolvedPublic

Description

Similar to bug 17057, some images seem to keep the hash from a previus version when they were reuploaded:

http://commons.wikimedia.org/wiki/File:Alan_Alda_Emmys_1994.jpg has hash ebfeda3e0b08e3f040ed855e02f52ba5fde538fd but the database lists for it acc93845d15352be6489706577ee2b11a2e81c7d, which is the one of the former version.
http://commons.wikimedia.org/w/api.php?action=query&titles=File:Alan_Alda_Emmys_1994.jpg&gdflimit=max&prop=imageinfo&iiprop=sha1|user|comment|timestamp&iilimit=5

Same with http://commons.wikimedia.org/wiki/File:Acad%C3%A9mica_de_Coimbra.svg real hash is 2da03cff20ab190e53fa763a4faec2dde0da8bdd but lists ad80500d406e9601e18688b3b9b2a9dac8429708 which is the one of the second version
http://commons.wikimedia.org/w/api.php?action=query&titles=File:Acad%E9mica_de_Coimbra.svg&gdflimit=max&prop=imageinfo&iiprop=sha1|user|comment|timestamp&iilimit=5

And http://upload.wikimedia.org/wikipedia/commons/f/f0/Abrantes_FC.svg real hash bbc20c068861c510b348d41ad2bd626d11ce356b, stored 14031e8da776827500750b25b0687d0a371c2fa8
http://commons.wikimedia.org/w/api.php?action=query&titles=File:Abrantes_FC.svg&gdflimit=max&prop=imageinfo&iiprop=sha1|user|comment|timestamp&iilimit=5


Version: unspecified
Severity: enhancement

Details

Reference
bz17070

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:28 PM
bzimport set Reference to bz17070.
bzimport added a subscriber: Unknown Object (MLST).

We can now fix this for individual broken cases as of r54328. Underlying cause of why they're wrong might need fixing still?

*** This bug has been marked as a duplicate of bug 17057 ***