Removing wgLegacyJavaScriptGlobals from JavaScript output
* PHP config variable itself is still needed for sure, but not needed in JavaScript output. Did get into 1.18 (accidentally added to js output as part of r87856) but undocumented and unannounced.
This commit is contained in:
parent
10138296b4
commit
f6ddf76ce8
1 changed files with 1 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule {
|
|||
$wgVariantArticlePath, $wgActionPaths, $wgUseAjax, $wgVersion,
|
||||
$wgEnableAPI, $wgEnableWriteAPI, $wgDBname, $wgEnableMWSuggest,
|
||||
$wgSitename, $wgFileExtensions, $wgExtensionAssetsPath,
|
||||
$wgCookiePrefix, $wgResourceLoaderMaxQueryLength, $wgLegacyJavaScriptGlobals;
|
||||
$wgCookiePrefix, $wgResourceLoaderMaxQueryLength;
|
||||
|
||||
$mainPage = Title::newMainPage();
|
||||
|
||||
|
|
@ -92,7 +92,6 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule {
|
|||
// MediaWiki sets cookies to have this prefix by default
|
||||
'wgCookiePrefix' => $wgCookiePrefix,
|
||||
'wgResourceLoaderMaxQueryLength' => $wgResourceLoaderMaxQueryLength,
|
||||
'wgLegacyJavaScriptGlobals' => $wgLegacyJavaScriptGlobals,
|
||||
'wgCaseSensitiveNamespaces' => $caseSensitiveNamespaces,
|
||||
);
|
||||
if ( $wgUseAjax && $wgEnableMWSuggest ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue