Index: trunk/phase3/includes/OutputPage.php |
— | — | @@ -2296,7 +2296,7 @@ |
2297 | 2297 | |
2298 | 2298 | // TODO: Document |
2299 | 2299 | protected function makeResourceLoaderLink( $skin, $modules, $only, $useESI = false ) { |
2300 | | - global $wgUser, $wgLang, $wgRequest, $wgLoadScript, $wgResourceLoaderDebug, $wgResourceLoaderUseESI, |
| 2300 | + global $wgUser, $wgLang, $wgLoadScript, $wgResourceLoaderUseESI, |
2301 | 2301 | $wgResourceLoaderInlinePrivateModules; |
2302 | 2302 | // Lazy-load ResourceLoader |
2303 | 2303 | if ( is_null( $this->mResourceLoader ) ) { |
— | — | @@ -2393,7 +2393,7 @@ |
2394 | 2394 | * @return String: HTML fragment |
2395 | 2395 | */ |
2396 | 2396 | function getHeadScripts( Skin $sk ) { |
2397 | | - global $wgUser, $wgRequest, $wgUseSiteJs, $wgResourceLoaderDebug; |
| 2397 | + global $wgUser, $wgRequest, $wgUseSiteJs; |
2398 | 2398 | |
2399 | 2399 | // Startup - this will immediately load jquery and mediawiki modules |
2400 | 2400 | $scripts = $this->makeResourceLoaderLink( $sk, 'startup', 'scripts', true ); |
— | — | @@ -2501,7 +2501,7 @@ |
2502 | 2502 | * @return string HTML tag links to be put in the header. |
2503 | 2503 | */ |
2504 | 2504 | public function getHeadLinks( $sk ) { |
2505 | | - global $wgFeed, $wgRequest, $wgResourceLoaderDebug; |
| 2505 | + global $wgFeed; |
2506 | 2506 | |
2507 | 2507 | // Ideally this should happen earlier, somewhere. :P |
2508 | 2508 | $this->addDefaultMeta(); |