Last modified: 2007-09-13 07:13:24 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 T8290, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6290 - Deleted images can still be deleted.
Deleted images can still be deleted.
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.8.x
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch
Depends on:
Blocks:
  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: ---


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

Description Sam Horn 2006-06-13 09:06:35 UTC
I discovered this at the Homestar Runner Fanstuff Wiki
(http://fanstuff.hrwiki.org) 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.

Thanks!
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.


Navigation
Links