Last modified: 2011-03-13 18:05:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14777, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12777 - Undeletion of missing files is not handled correctly
Undeletion of missing files is not handled correctly
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.12.x
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-24 17:13 UTC by Huji
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Huji 2008-01-24 17:13:23 UTC
Upload a file to the wiki, then delete it. Now remove the backup version of the deleted file from image/deleted/... and then try to restore the deleted file.

You will get something like:

  Image:Test.png has been restored
  Consult the deletion log for a record of recent deletions and restorations.
  Error undeleting file: Could not find file "deleted/0/g/m/0gmrfwcz98nttgzo0f15m7t2kc8wvuk.png". 

Also, in the deletion log, an entry is added:
  17:15, 24 January 2008 Huji (Talk | contribs | block) restored "Image:Test.png" ‎ (1 revision restored)

Both of these are undesirable. Neither should a "has been restored" be shown, nor should an entry get added to the deletion log.
Comment 1 Aaron Schulz 2008-09-16 11:56:20 UTC
The page text and files are not the same. If the text is restored, that still warrants an entry.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links