r92854 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92853‎ | r92854 | r92855 >
Date:10:32, 22 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Avoid redefining TESTWIKI constant (Het wrappers already do this)
Modified paths:
  • /trunk/phase3/maintenance/Maintenance.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/Maintenance.php
@@ -926,7 +926,9 @@
927927 ini_set( 'include_path', ".:$IP:$IP/includes:$IP/languages:$IP/maintenance" );
928928
929929 if ( $lang == 'test' && $site == 'wikipedia' ) {
930 - define( 'TESTWIKI', 1 );
 930+ if ( !defined( 'TESTWIKI' ) ) {
 931+ define( 'TESTWIKI', 1 );
 932+ }
931933 }
932934 }
933935
@@ -1254,4 +1256,3 @@
12551257 return;
12561258 }
12571259 }
1258 -

Follow-up revisions

RevisionCommit summaryAuthorDate
r92858MFT r92854aaron11:09, 22 July 2011
r93426MFT to REL1_18...hashar20:20, 28 July 2011

Status & tagging log