Index: trunk/phase3/includes/ResourceLoaderModule.php |
— | — | @@ -372,11 +372,11 @@ |
373 | 373 | } |
374 | 374 | $styles[$media] .= $style; |
375 | 375 | } |
376 | | - foreach ( $this->getPrimaryStyles() as $media => $style ) { |
| 376 | + foreach ( $this->getSkinStyles( $context->getSkin() ) as $media => $style ) { |
377 | 377 | if ( !isset( $styles[$media] ) ) { |
378 | 378 | $styles[$media] = ''; |
379 | 379 | } |
380 | | - $styles[$media] .= $this->getSkinStyles( $context->getSkin() ); |
| 380 | + $styles[$media] .= $style; |
381 | 381 | } |
382 | 382 | |
383 | 383 | // Collect referenced files |
— | — | @@ -718,7 +718,9 @@ |
719 | 719 | return $this->modifiedTime; |
720 | 720 | } |
721 | 721 | |
722 | | - public function getStyles( ResourceLoaderContext $context ) { return array(); } |
| 722 | + public function getStyles( ResourceLoaderContext $context ) { |
| 723 | + return array(); |
| 724 | + } |
723 | 725 | public function getMessages() { return array(); } |
724 | 726 | public function getLoaderScript() { return ''; } |
725 | 727 | public function getDependencies() { return array(); } |