From 1531dda96673ce086352339062b1e438d25e56c6 Mon Sep 17 00:00:00 2001 From: Platonides Date: Fri, 5 Nov 2010 22:29:08 +0000 Subject: [PATCH] Follow up r76138. Globals that are now unneeded. --- includes/OutputPage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(); -- 2.20.1