Since the most recent MW version upgrade, I've now had Mediawiki lose two different old versions of a file while in the process of deletion. Let me explain:
- User uploads version A to Myfile.jpg.
- The same user or a different user uploads version B to Myfile.jpg, overwriting the old version.
- I delete Myfile.jpg.
- I go to undelete version A, but when I undelete the file, version B pops up.
Looking in the file history, version B is now version A, even though the resolution information (and IIRC the sha1 information) are still different. Thus version A is forever gone.
You can see this occur at two files:
- http://en.wikipedia.org/wiki/Special:Undelete/File:University.JPG: in this case, only one deleted version appears in the history because I was trying to perform a history split. See http://en.wikipedia.org/w/index.php?title=Special:Log&page=File%3AUniversity.JPG. However, you'll notice the deleted revision is inexplicably identitical to http://en.wikipedia.org/wiki/File:Sindh_Agriculture_University.JPG.
- http://en.wikipedia.org/wiki/Special:Undelete/File:Kolkata_Tipu_Sultan%27s_Mosque3.jpg: you'll notice that the software lists two different files at two different resolutions. However, if you actually click both of the old versions, you'll get the same file (445x387: the newer one uploaded).
Do I need to file a bug for this? Or is there already a bug filed?
Version: 1.18.x
Severity: critical