r25192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25191‎ | r25192 | r25193 >
Date:13:59, 27 August 2007
Author:robchurch
Status:old
Tags:
Comment:
* Drop useless `image` parameter from deletion links in file histories
* Drop useless `wpEditToken` parameter from same
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -574,9 +574,8 @@
575575 $row .= '<td>';
576576 $q = array();
577577 $q[] = 'action=delete';
578 - $q[] = ( $iscur ? 'image=' . $this->title->getPartialUrl() : 'oldimage=' . urlencode( $img ) );
579578 if( !$iscur )
580 - $q[] = 'wpEditToken=' . urlencode( $wgUser->editToken( $img ) );
 579+ $q[] = 'oldimage=' . urlencode( $img );
581580 $row .= '(' . $this->skin->makeKnownLinkObj(
582581 $this->title,
583582 wfMsgHtml( $iscur ? 'filehist-deleteall' : 'filehist-deleteone' ),

Follow-up revisions

RevisionCommit summaryAuthorDate
r25223Merged revisions 25126-25214 via svnmerge from...david07:39, 28 August 2007

Status & tagging log