r61175 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61174‎ | r61175 | r61176 >
Date:18:25, 17 January 2010
Author:maxsem
Status:ok
Tags:
Comment:
Follow-up to r60744: one more const != $var <--> $var != const switch
Modified paths:
  • /trunk/phase3/includes/Wiki.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Wiki.php
@@ -113,7 +113,7 @@
114114 if( $curid = $wgRequest->getInt( 'curid' ) ) {
115115 # URLs like this are generated by RC, because rc_title isn't always accurate
116116 $ret = Title::newFromID( $curid );
117 - } elseif( $title == '' && 'delete' != $action ) {
 117+ } elseif( $title == '' && $action != 'delete' ) {
118118 $ret = Title::newMainPage();
119119 } else {
120120 $ret = Title::newFromURL( $title );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r60744Attempt at normalistion of comparison styles - empty string on left and right...reedy19:59, 6 January 2010

Status & tagging log