Index: trunk/phase3/resources/Resources.php |
— | — | @@ -47,8 +47,10 @@ |
48 | 48 | 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
49 | 49 | ), |
50 | 50 | 'skins.modern' => array( |
51 | | - 'styles' => array( 'modern/main.css' => array( 'media' => 'screen' ), |
52 | | - 'modern/print.css' => array( 'media' => 'print' ) ), |
| 51 | + 'styles' => array( |
| 52 | + 'modern/main.css' => array( 'media' => 'screen' ), |
| 53 | + 'modern/print.css' => array( 'media' => 'print' ), |
| 54 | + ), |
53 | 55 | 'remoteBasePath' => $GLOBALS['wgStylePath'], |
54 | 56 | 'localBasePath' => $GLOBALS['wgStyleDirectory'], |
55 | 57 | ), |
Index: trunk/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -521,6 +521,7 @@ |
522 | 522 | for ( var i = 0; i < style.length; i++ ) { |
523 | 523 | getMarker().before( mw.html.element( 'link', { |
524 | 524 | 'type': 'text/css', |
| 525 | + 'media': media, |
525 | 526 | 'rel': 'stylesheet', |
526 | 527 | 'href': style[i] |
527 | 528 | } ) ); |