Last modified: 2007-09-24 00:47:46 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 8250 - maintenance/deleteBatch.php doesn't work right on image pages
maintenance/deleteBatch.php doesn't work right on image pages
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.9.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-13 20:29 UTC by Fyren
Modified: 2007-09-24 00:47 UTC (History)
1 user (show)

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


Attachments
Fix (490 bytes, patch)
2006-12-13 20:29 UTC, Fyren
Details
Update (829 bytes, patch)
2006-12-27 06:40 UTC, Fyren
Details

Description Fyren 2006-12-13 20:29:00 UTC
The script creates a new ImagePage but just calls doDeleteArticle.  This leaves
behind the image itself.  It should make a new Image and call its delete.
Comment 1 Fyren 2006-12-13 20:29:35 UTC
Created attachment 2858 [details]
Fix

Tested briefly, seems to work.	Could use some better error reporting?
Comment 2 Rob Church 2006-12-19 12:56:10 UTC
Could check for the image file's existence, and skip the deletion step if
appropriate?
Comment 3 Fyren 2006-12-27 06:40:20 UTC
Created attachment 2965 [details]
Update

Checks for image existence, changes output format a little.
Comment 4 Aaron Schulz 2007-09-24 00:47:46 UTC
Done in r26048.

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


Navigation
Links