From: Jerome Jamnicky Date: Wed, 19 May 2004 03:21:30 +0000 (+0000) Subject: Let the bulk of LanguageUtf8.php be included by Setup.php when running X-Git-Tag: 1.3.0beta1~42 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=9118b17901988a3f5a55932e8f582a11aa7f8efa;p=lhc%2Fweb%2Fwiklou.git Let the bulk of LanguageUtf8.php be included by Setup.php when running command-line scripts. --- diff --git a/maintenance/commandLine.inc b/maintenance/commandLine.inc index d43bc0daab..f868b0bfc7 100644 --- a/maintenance/commandLine.inc +++ b/maintenance/commandLine.inc @@ -31,6 +31,7 @@ include_once( $settingsFile ); ini_set( "include_path", "../includes$sep../languages$sep$newpath$IP$sep$include_path" ); $wgUsePHPTal = false; +define("MEDIAWIKI",true); include_once( "Setup.php" ); include_once( "./InitialiseMessages.inc" ); include_once( "../install-utils.inc" );