From: Platonides Date: Fri, 5 Nov 2010 22:29:08 +0000 (+0000) Subject: Follow up r76138. Globals that are now unneeded. X-Git-Tag: 1.31.0-rc.0~34056 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=1531dda96673ce086352339062b1e438d25e56c6;p=lhc%2Fweb%2Fwiklou.git Follow up r76138. Globals that are now unneeded. --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index e65450cb28..4cfaa44961 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2296,7 +2296,7 @@ class OutputPage { // TODO: Document protected function makeResourceLoaderLink( $skin, $modules, $only, $useESI = false ) { - global $wgUser, $wgLang, $wgRequest, $wgLoadScript, $wgResourceLoaderDebug, $wgResourceLoaderUseESI, + global $wgUser, $wgLang, $wgLoadScript, $wgResourceLoaderUseESI, $wgResourceLoaderInlinePrivateModules; // Lazy-load ResourceLoader if ( is_null( $this->mResourceLoader ) ) { @@ -2393,7 +2393,7 @@ class OutputPage { * @return String: HTML fragment */ function getHeadScripts( Skin $sk ) { - global $wgUser, $wgRequest, $wgUseSiteJs, $wgResourceLoaderDebug; + global $wgUser, $wgRequest, $wgUseSiteJs; // Startup - this will immediately load jquery and mediawiki modules $scripts = $this->makeResourceLoaderLink( $sk, 'startup', 'scripts', true ); @@ -2501,7 +2501,7 @@ class OutputPage { * @return string HTML tag links to be put in the header. */ public function getHeadLinks( $sk ) { - global $wgFeed, $wgRequest, $wgResourceLoaderDebug; + global $wgFeed; // Ideally this should happen earlier, somewhere. :P $this->addDefaultMeta();