r38326 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38325‎ | r38326 | r38327 >
Date:00:54, 1 August 2008
Author:simetrical
Status:old
Tags:
Comment:
(bug 14997) Rollback links now work again, yay! But doesn't the code look so much prettier?
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Linker.php
@@ -1547,7 +1547,10 @@
15481548 public function buildRollbackLink( $rev ) {
15491549 global $wgRequest, $wgUser;
15501550 $title = $rev->getTitle();
1551 - $query = array( 'action' => 'rollback' );
 1551+ $query = array(
 1552+ 'action' => 'rollback',
 1553+ 'from' => $rev->getUserText()
 1554+ );
15521555 if( $wgRequest->getBool( 'bot' ) ) {
15531556 $query['bot'] = '1';
15541557 }
Index: trunk/phase3/RELEASE-NOTES
@@ -49,6 +49,7 @@
5050 * Fixed few performance troubles of large job queue processing
5151 * Not setting various parameters in Foreign Repos now fails more gracefully
5252 * (bug 14995) Some link fragments in the interface stopped appearing
 53+* (bug 14997) Rollback links now work again
5354
5455 === API changes in 1.14 ===
5556

Status & tagging log