X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fresourceloader%2FResourceLoaderStartUpModule.php;h=2e3c6fc161da73cf335cbf4612caed6350fab219;hb=de6dab71e3ea0166095b6c6e3837255d1e56b887;hp=681e8dc0052a9b4a19d8e3371fa880e1aa2c7314;hpb=72266c7b35eab5ec7d8565c4964a156b2eacbbfe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/resourceloader/ResourceLoaderStartUpModule.php b/includes/resourceloader/ResourceLoaderStartUpModule.php index 681e8dc005..2e3c6fc161 100644 --- a/includes/resourceloader/ResourceLoaderStartUpModule.php +++ b/includes/resourceloader/ResourceLoaderStartUpModule.php @@ -88,7 +88,6 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule { 'wgUrlProtocols' => wfUrlProtocols(), 'wgArticlePath' => $conf->get( 'ArticlePath' ), 'wgScriptPath' => $conf->get( 'ScriptPath' ), - 'wgScriptExtension' => '.php', 'wgScript' => wfScript(), 'wgSearchType' => $conf->get( 'SearchType' ), 'wgVariantArticlePath' => $conf->get( 'VariantArticlePath' ), @@ -101,8 +100,8 @@ class ResourceLoaderStartUpModule extends ResourceLoaderModule { 'wgContentLanguage' => $wgContLang->getCode(), 'wgTranslateNumerals' => $conf->get( 'TranslateNumerals' ), 'wgVersion' => $conf->get( 'Version' ), - 'wgEnableAPI' => $conf->get( 'EnableAPI' ), - 'wgEnableWriteAPI' => $conf->get( 'EnableWriteAPI' ), + 'wgEnableAPI' => true, // Deprecated since MW 1.32 + 'wgEnableWriteAPI' => true, // Deprecated since MW 1.32 'wgMainPageTitle' => $mainPage->getPrefixedText(), 'wgFormattedNamespaces' => $wgContLang->getFormattedNamespaces(), 'wgNamespaceIds' => $namespaceIds,