Index: trunk/phase3/includes/Skin.php |
— | — | @@ -566,6 +566,7 @@ |
567 | 567 | // If we use the site's dynamic CSS, throw that in, too |
568 | 568 | // Per-site custom styles |
569 | 569 | if( $wgUseSiteCss ) { |
| 570 | + global $wgHandheldStyle; |
570 | 571 | $query = wfArrayToCGI( array( |
571 | 572 | 'usemsgcache' => 'yes', |
572 | 573 | 'ctype' => 'text/css', |
— | — | @@ -573,6 +574,10 @@ |
574 | 575 | ) + $siteargs ); |
575 | 576 | # Site settings must override extension css! (bug 15025) |
576 | 577 | $out->addStyle( self::makeNSUrl( 'Common.css', $query, NS_MEDIAWIKI) ); |
| 578 | + $out->addStyle( self::makeNSUrl( 'Print.css', $query, NS_MEDIAWIKI), "print" ); |
| 579 | + if( $wgHandheldStyle ) { |
| 580 | + $out->addStyle( self::makeNSUrl( 'Handheld.css', $query, NS_MEDIAWIKI), "handheld" ); |
| 581 | + } |
577 | 582 | $out->addStyle( self::makeNSUrl( $this->getSkinName() . '.css', $query, NS_MEDIAWIKI ) ); |
578 | 583 | } |
579 | 584 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -112,6 +112,7 @@ |
113 | 113 | displaying an external image inline. |
114 | 114 | * (bugs 15405, 15436) Sort more currency types correctly in sortable tables |
115 | 115 | * (bug 15422) Sort more different types of numbers in sortable tables |
| 116 | +* (bug 2889) MediaWiki:Print.css applies to the printable version |
116 | 117 | |
117 | 118 | === Bug fixes in 1.14 === |
118 | 119 | |