When a file is deleted but later restored, the history is missing from the file, even though the history was displayed prior to the undeletion/restore. Deleteing the file again and undeleting seems to make the issue worse with the history totally missing.

I deleted and restored the image, to complete a history merge, but found the resulting history was completely empty. I tried to delete and re-restore to fix it, but the missing revisions were not listed on the restore screen. I tried to resubmit my original restore request with a refresh, but received the following errors:

Errors were encountered while undeleting the file:

Unable to restore file archive ID 2060260 because it is not in the database.

It may have already been undeleted.

Unable to restore file archive ID 2060258 because it is not in the database.

It may have already been undeleted.

Unable to restore file archive ID 2060259 because it is not in the database.

Further note: this bug is in 1.21wmf3, which had been deployed to all non-Wikipedia sites earlier today. Our first response to this bug was to roll it back on almost all wikis (except test2, mediawiki.org and wikidata.org). Aude is working on a fix with Aaron's advice.

Our short-term fix for this problem was reverting this on commons (and most others) from 1.21wmf3 to 1.21wmf2. We've now just deployed the fixed version of 1.21wmf3 everywhere it was previously deployed. We should be able to clean up any instances where this caused problems, and we'll work out a plan for that shortly (see bug 41649)

Add Comment

Text is available under the Creative Commons Attribution-ShareAlike 3.0 License (CC-BY-SA); code is available under the GNU General Public License (GPL) or other appropriate open source licenses. By using this site, you agree to the Terms of Use and Privacy Policy. · Wikimedia Foundation · Privacy Policy · Terms of Use · Disclaimer · CC-BY-SA · GPL