r92108 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92107‎ | r92108 | r92109 >
Date:22:11, 13 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Pointless w/s tweaks :)
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -1143,7 +1143,7 @@
11441144 'rightslog',
11451145 'rightslogtext',
11461146 'rightslogentry',
1147 - 'rightslogentry-autopromote',
 1147+ 'rightslogentry-autopromote',
11481148 'rightsnone',
11491149 ),
11501150 'action' => array(
@@ -3249,9 +3249,9 @@
32503250 'lag-warn-normal',
32513251 'lag-warn-high',
32523252 ),
3253 - 'watch' => array(
3254 - 'confirm-watch-button',
3255 - ),
 3253+ 'watch' => array(
 3254+ 'confirm-watch-button',
 3255+ ),
32563256 'watchlisteditor' => array(
32573257 'watchlistedit-numitems',
32583258 'watchlistedit-noitems',
@@ -3456,9 +3456,9 @@
34573457 'sqlite-has-fts',
34583458 'sqlite-no-fts',
34593459 ),
3460 - 'unwatch' => array(
3461 - 'confirm-unwatch-button',
3462 - ),
 3460+ 'unwatch' => array(
 3461+ 'confirm-unwatch-button',
 3462+ ),
34633463 );
34643464
34653465 /** Comments for each block */
Index: trunk/phase3/includes/Wiki.php
@@ -453,7 +453,7 @@
454454 $act = $this->getAction();
455455
456456 $action = Action::factory( $act, $article );
457 - if( $action instanceof Action ){
 457+ if ( $action instanceof Action ) {
458458 $action->show();
459459 wfProfileOut( __METHOD__ );
460460 return;
@@ -564,8 +564,9 @@
565565
566566 wfProfileOut( __METHOD__ );
567567
568 - if ( !$abort )
 568+ if ( !$abort ) {
569569 return false;
 570+ }
570571 exit;
571572 }
572573 }

Status & tagging log