Index: branches/resourceloader/phase3/includes/OutputPage.php |
— | — | @@ -2309,10 +2309,6 @@ |
2310 | 2310 | $scripts .= Skin::makeGlobalVariablesScript( $sk->getSkinName() ) . "\n"; |
2311 | 2311 | // Support individual script requests in debug mode |
2312 | 2312 | if ( $wgRequest->getBool( 'debug' ) && $wgRequest->getVal( 'debug' ) !== 'false' ) { |
2313 | | - // Styles |
2314 | | - foreach ( $this->getModuleStyles() as $name ) { |
2315 | | - $scripts .= self::makeResourceLoaderLink( $sk, $name, 'styles' ); |
2316 | | - } |
2317 | 2313 | // Scripts |
2318 | 2314 | foreach ( $this->getModuleScripts() as $name ) { |
2319 | 2315 | $scripts .= self::makeResourceLoaderLink( $sk, $name, 'scripts' ); |
— | — | @@ -2322,10 +2318,6 @@ |
2323 | 2319 | $scripts .= self::makeResourceLoaderLink( $sk, $name, 'messages' ); |
2324 | 2320 | } |
2325 | 2321 | } else { |
2326 | | - // Styles |
2327 | | - if ( count( $this->getModuleStyles() ) ) { |
2328 | | - $scripts .= self::makeResourceLoaderLink( $sk, $this->getModuleStyles(), 'styles' ); |
2329 | | - } |
2330 | 2322 | // Scripts |
2331 | 2323 | if ( count( $this->getModuleScripts() ) ) { |
2332 | 2324 | $scripts .= self::makeResourceLoaderLink( $sk, $this->getModuleScripts(), 'scripts' ); |