Related to bug 28470 (Doxygen not updating)
authorSam Reed <reedy@users.mediawiki.org>
Wed, 13 Apr 2011 13:09:17 +0000 (13:09 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 13 Apr 2011 13:09:17 +0000 (13:09 +0000)
Move require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) ); to Setup.php

Might want relocating in Setup.php though

includes/Setup.php
includes/normal/UtfNormalUtil.php

index dce6d79..837740e 100644 (file)
@@ -453,6 +453,8 @@ foreach ( $wgExtensionFunctions as $func ) {
        wfProfileOut( $profName );
 }
 
+require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) );
+
 // For compatibility
 wfRunHooks( 'LogPageValidTypes', array( &$wgLogTypes ) );
 wfRunHooks( 'LogPageLogName', array( &$wgLogNames ) );
index 2df5577..e470a8b 100644 (file)
@@ -25,8 +25,6 @@
  * @ingroup UtfNormal
  */
 
-require_once( MWInit::compiledPath( 'includes/normal/UtfNormalDefines.php' ) );
-
 /**
  * Return UTF-8 sequence for a given Unicode code point.
  * May die if fed out of range data.