r48911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r48910‎ | r48911 | r48912 >
Date:10:20, 27 March 2009
Author:aaron
Status:ok
Tags:
Comment:
Fix r48837: Add target param back, still needed in some places
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -297,8 +297,8 @@
298298 'diff='.intval($Ids[0])."&unhide=1&token=$token" );
299299 }
300300 // View/modify link...
301 - $revert[] = $this->skin->makeKnownLinkObj( $revdel,
302 - $this->message['revdel-restore'], "$key=$query" );
 301+ $revert[] = $this->skin->makeKnownLinkObj( $revdel, $this->message['revdel-restore'],
 302+ 'target='.$title->getPrefixedUrl()."&$key=$query" );
303303 // Pipe links
304304 $revert = '(' . implode(' | ',$revert) . ')';
305305 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r48837Fix url params for multi-item deletion by converting to CVSaaron17:52, 25 March 2009

Status & tagging log