X-Git-Url: http://git.cyclocoop.org//%22javascript:ModifierStyle%28%27%22.%24id.%22%27%29/%22?a=blobdiff_plain;f=includes%2Fresourceloader%2FResourceLoaderStartUpModule.php;h=63a444b518977fa18403b022a71d3c9c11b89ad3;hb=476997b3bbfb88bbae0083cd1f882f4b97f357b7;hp=d4359c5707a16630d2c066c2ad0b7c587c629afa;hpb=7c585b5a33d57469d19e9b176f14b84403488b73;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/resourceloader/ResourceLoaderStartUpModule.php b/includes/resourceloader/ResourceLoaderStartUpModule.php index d4359c5707..63a444b518 100644 --- a/includes/resourceloader/ResourceLoaderStartUpModule.php +++ b/includes/resourceloader/ResourceLoaderStartUpModule.php @@ -44,8 +44,8 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule { } global $wgLoadScript, $wgScript, $wgStylePath, $wgScriptExtension, - $wgArticlePath, $wgScriptPath, $wgServer, $wgContLang, - $wgVariantArticlePath, $wgActionPaths, $wgVersion, + $wgArticlePath, $wgScriptPath, $wgServer, $wgServerName, + $wgContLang, $wgVariantArticlePath, $wgActionPaths, $wgVersion, $wgEnableAPI, $wgEnableWriteAPI, $wgDBname, $wgSitename, $wgFileExtensions, $wgExtensionAssetsPath, $wgCookiePrefix, $wgCookieDomain, $wgCookiePath, @@ -86,6 +86,7 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule { // becoming [] instead of {} in JS (bug 34604) 'wgActionPaths' => (object)$wgActionPaths, 'wgServer' => $wgServer, + 'wgServerName' => $wgServerName, 'wgUserLanguage' => $context->getLanguage(), 'wgContentLanguage' => $wgContLang->getCode(), 'wgVersion' => $wgVersion,