https://bugzilla.wikimedia.org/show_bug.cgi?id=31792

       Web browser: ---
             Bug #: 31792
           Summary: Mediawiki losing old file versions upon undeletion in
                    MW 1.18
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: magog.the.o...@gmail.com
                CC: bawolff...@gmail.com, bryan.tongm...@gmail.com
    Classification: Unclassified


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?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to