Last modified: 2007-09-13 07:13:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 6290 - Deleted images can still be deleted.
Deleted images can still be deleted.
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
  Show dependency treegraph
Reported: 2006-06-13 09:06 UTC by Sam Horn
Modified: 2007-09-13 07:13 UTC (History)
1 user (show)

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

patch for trunk (712 bytes, patch)
2006-09-23 03:55 UTC, Jimmy Collins

Description Sam Horn 2006-06-13 09:06:35 UTC
I discovered this at the Homestar Runner Fanstuff Wiki
( a few days ago. While I was running my bot
(deleting images), I discovered that even if images had already been deleted,
they had been reported successfully deleted.

Basically, if I go to an URL such as
"/index.php?title=Non-existant_page&action=delete", it will tell me that the
page doesn't exist and won't let me do anything else. However, if I go to
something like "/index.php?title=Image:Non-existant_image.ext&action=delete",
the deletion page will come up as if it existed. I can then proceed to press
"Confirm", and it will tell me that the image has been deleted, although it
never even existed. No log entry or anything like that is generated.

Marked as minor because it doesn't really affect anything, although it can give
false outputs on bot runs.
Comment 1 Jimmy Collins 2006-09-23 03:53:08 UTC
Bug is still present in 1.8-svn. This minor bug will not be backported to 1.5
branch - I will change Version to 1.8-svn.
Comment 2 Jimmy Collins 2006-09-23 03:55:31 UTC
Created attachment 2384 [details]
patch for trunk

Attached you will find a patch.
Can somebody please double check it? I`m not sure concerning side effects.

Comment 3 Aaron Schulz 2007-03-02 19:50:42 UTC
Images can have image revisions and no file revisions, so deleting non-existant
image pages is not "a bug". Perhaps if it also checks for the lack of existance
of file revisions, then action=delete could throw a bad title error.
Comment 4 Raimond Spekking 2007-09-13 07:13:24 UTC
Fixed some time ago...

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