diff options
author | Zheng Zhu <zhengzhu@users.mediawiki.org> | 2004-09-24 00:34:13 +0000 |
---|---|---|
committer | Zheng Zhu <zhengzhu@users.mediawiki.org> | 2004-09-24 00:34:13 +0000 |
commit | 6d10e85a523115ad6e6a2024c2c0aadb78df8159 (patch) | |
tree | 854d9bda2f0f9ebeefd009630a189683dd83c736 /config | |
parent | 382e2b0b34717913302fec41b72237cf4e28e228 (diff) | |
download | mediawikicore-6d10e85a523115ad6e6a2024c2c0aadb78df8159.tar.gz mediawikicore-6d10e85a523115ad6e6a2024c2c0aadb78df8159.zip |
Changed installation code so that wgContLanguageCode is set, replacing wgLanguageCode.
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/5450
Diffstat (limited to 'config')
-rw-r--r-- | config/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/index.php b/config/index.php index 6adbc3fb3d86..53e30641175e 100644 --- a/config/index.php +++ b/config/index.php @@ -885,7 +885,7 @@ if ( \$wgCommandLineMode ) { \$wgLocalInterwiki = \$wgSitename; -\$wgLanguageCode = \"{$slconf['LanguageCode']}\"; +\$wgContLanguageCode = \"{$slconf['LanguageCode']}\"; \$wgUseLatin1 = " . ($conf->Latin1 ? 'true' : 'false') . ";\n \$wgProxyKey = \"$proxyKey\"; @@ -968,7 +968,7 @@ function aField( &$conf, $field, $text, $type = "", $value = "" ) { function getLanguageList() { global $wgLanguageNames; if( !isset( $wgLanguageNames ) ) { - $wgLanguageCode = "xxx"; + $wgContLanguageCode = "xxx"; function wfLocalUrl( $x ) { return $x; } function wfLocalUrlE( $x ) { return $x; } require_once( "../languages/Names.php" ); |