$wgLanguageCode in LocalSettings.php, and pass that value on
to $wgContLanguageCode internally.
\$wgLocalInterwiki = \$wgSitename;
-\$wgContLanguageCode = \"{$slconf['LanguageCode']}\";
+\$wgLanguageCode = \"{$slconf['LanguageCode']}\";
\$wgUseLatin1 = " . ($conf->Latin1 ? 'true' : 'false') . ";\n
\$wgProxyKey = \"$proxyKey\";
* Default to 'en'. Should be one of ./language/Language(.*).php
* @global string $wgLanguageCode
*/
-$wgContLanguageCode = 'en';
+$wgLanguageCode = 'en';
/**
* Filename of a language file generated by dumpMessages.php
require_once( 'languages/Language.php' );
+# $wgLanguageCode may be changed later to fit with user preference.
+# The content language will remain fixed as per the configuration,
+# so let's keep it.
+$wgContLanguageCode = $wgLanguageCode;
$wgContLangClass = 'Language' . str_replace( '-', '_', ucfirst( $wgContLanguageCode ) );
$wgContLang = setupLangObj( $wgContLangClass, $wgContLangClass );