Last modified: 2009-05-08 08:55:32 UTC
While the old image version deletion links as follows: http://en.wikipedia.org/w/index.php?title=File:92mudlark.jpg&action=delete&oldimage%5B%5D=20090315015722%2192mudlark.jpg The following page is not the delete revision page, but the delete image page. On en.wikipedia, see my contributions [[Skier Dude]] for [[File:944521 20080226 screen011.jpg]] [[File:9958 poster-1-.jpg]] [[File:95137389iw8.jpg]] [[File:8729677.jpg]]. This happens on both firefox and IE7. Thanks all Skier Dude
Not sure what's wrong here. Deletion of individual file revisions should be the file deletion page, not the revision deletion page. Or am I misunderstanding something?
I just encountered a strange behaviour, from what I understand it's the same as what Robert reported, only phrased differently. When trying to delete a single revision of a file, using the "delete" link for this revision in the "File history" section of the description page, I inadvertedly deleted all the revisions of the file and of the description page. Surely this wasn't the previous behaviour.
Just an FYI that it's also being discussed at the en.wiki [[Wikipedia:Village pump (technical)#Image/File deletion issue]].
The problem is with the "oldimage[]" parameter (or its interpretation): It's generated as e.g. http://en.wikipedia.org/w/index.php?title=File:Najib_Tun_Razak_cropped.jpg&action=delete&oldimage[]=20090405034831!Najib_Tun_Razak_cropped.jpg however, http://en.wikipedia.org/w/index.php?title=File:Najib_Tun_Razak_cropped.jpg&action=delete&oldimage=20090405034831!Najib_Tun_Razak_cropped.jpg currently works.
Thanks Amalthea! The removal of the [] after delete&oldimage does the trick. I removed it in the address bar, re-sent the request without the [] and it did point to the correct page, which did solely the revision deletion. See [[File:1983worldjamboree.jpg]] and [[File:4C ecosa logo master copy.jpg]]. Is it possible to just have the [] removed from the command, or would that create other problems?
*** Bug 18530 has been marked as a duplicate of this bug. ***
I can confirm the issue: when trying to delete an old revision of a file, the entire page gets deleted instead.
Please also not discussion at http://commons.wikimedia.org/wiki/Commons:Administrators%27_noticeboard#selective_deletion_of_single_image_versions.3F
Broken in: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48277 Fixed in: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/48837 Note: not yet live, but apparently fixed, unless the fix gets reverted. Then bug should be reopened.
Since the fix is disputed in CodeReview and has not been deployed, I'm re-opening this for now.
r48837 is deployed on Wikimedia now, but for 1.15 I will revert r48277 and any related revisions instead.