Fix a syntax error

$wgULSIMEEnabled was not defined properly

Change-Id: I642c0b84e809e26ff0c98a471c5d092f6f6b6205
This commit is contained in:
Santhosh Thottingal
2012-10-31 15:43:26 +05:30
parent fc29a7e587
commit a388d7cb95

View File

@@ -162,10 +162,10 @@ class UniversalLanguageSelectorHooks {
* @return bool
*/
public static function addConfig( &$vars ) {
global $wgULSGeoService;
global $wgULSGeoService, $wgULSIMEEnabled;
$vars['wgULSGeoService'] = $wgULSGeoService;
$vars['wgULSIMEEnabled']= wgULSIMEEnabled;
$vars['wgULSIMEEnabled'] = $wgULSIMEEnabled;
// ULS is localized using jquery.i18n library. Unless it knows
// the localized locales, it can create 404 response. To avoid that,