r87835 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87834‎ | r87835 | r87836 >
Date:19:03, 10 May 2011
Author:ialex
Status:ok
Tags:
Comment:
Moved inclusion of UtfNormalDefines.php near other inclusions
Modified paths:
  • /trunk/phase3/includes/Setup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Setup.php
@@ -323,6 +323,8 @@
324324 require_once( "$IP/includes/ImageFunctions.php" );
325325 wfProfileOut( $fname . '-includes' );
326326 }
 327+require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) );
 328+
327329 wfProfileIn( $fname . '-misc1' );
328330
329331 # Raise the memory limit if it's too low
@@ -455,8 +457,6 @@
456458
457459 wfDebug( "Fully initialised\n" );
458460 $wgFullyInitialised = true;
 461+
459462 wfProfileOut( $fname . '-extensions' );
460 -
461 -require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) );
462 -
463463 wfProfileOut( $fname );

Status & tagging log