r50469 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50468‎ | r50469 | r50470 >
Date:06:22, 11 May 2009
Author:tstarling
Status:deferred
Tags:
Comment:
Fixed bug 18171 (broken image deletion) by partial revert of r48277.
Modified paths:
  • /branches/REL1_15/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: branches/REL1_15/phase3/includes/ImagePage.php
@@ -789,7 +789,7 @@
790790 $q = array();
791791 $q[] = 'action=delete';
792792 if( !$iscur )
793 - $q[] = 'oldimage[]=' . urlencode( $img );
 793+ $q[] = 'oldimage=' . urlencode( $img );
794794 $row .= $this->skin->makeKnownLinkObj(
795795 $this->title,
796796 wfMsgHtml( $iscur ? 'filehist-deleteall' : 'filehist-deleteone' ),

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48277minor tweak: revisiondelete id url param is an arrayaaron19:15, 10 March 2009

Status & tagging log