Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -962,8 +962,7 @@ |
963 | 963 | function setupUserCss() { |
964 | 964 | wfProfileIn( __METHOD__ ); |
965 | 965 | |
966 | | - global $wgRequest, $wgAllowUserCss, $wgUseSiteCss, |
967 | | - $wgContLang, $wgSquidMaxage, $wgStylePath, $wgUser, $wgOut; |
| 966 | + global $wgRequest, $wgAllowUserCss, $wgUseSiteCss, $wgContLang, $wgSquidMaxage, $wgStylePath, $wgUser; |
968 | 967 | |
969 | 968 | $sitecss = ''; |
970 | 969 | $usercss = ''; |
— | — | @@ -1006,7 +1005,6 @@ |
1007 | 1006 | $sitecss .= '@import "' . self::makeNSUrl( 'Common.css', $query, NS_MEDIAWIKI) . '";' . "\n"; |
1008 | 1007 | $sitecss .= '@import "' . self::makeNSUrl( ucfirst( $this->skinname ) . '.css', $query, NS_MEDIAWIKI ) . '";' . "\n"; |
1009 | 1008 | $sitecss .= '@import "' . self::makeUrl( '-', "action=raw&gen=css$siteargs$skinquery" ) . '";' . "\n"; |
1010 | | - if( $wgOut->isPrintable()) $sitecss .= '@import "' . self::makeNSUrl( 'Print.css', $query, NS_MEDIAWIKI) . '";' . "\n"; |
1011 | 1009 | } |
1012 | 1010 | |
1013 | 1011 | # If we use any dynamic CSS, make a little CDATA block out of it. |
Index: trunk/phase3/includes/Skin.php |
— | — | @@ -416,7 +416,7 @@ |
417 | 417 | |
418 | 418 | # get the user/site-specific stylesheet, SkinTemplate loads via RawPage.php (settings are cached that way) |
419 | 419 | function getUserStylesheet() { |
420 | | - global $wgStylePath, $wgRequest, $wgContLang, $wgSquidMaxage, $wgStyleVersion, $wgOut; |
| 420 | + global $wgStylePath, $wgRequest, $wgContLang, $wgSquidMaxage, $wgStyleVersion; |
421 | 421 | $sheet = $this->getStylesheet(); |
422 | 422 | $s = "@import \"$wgStylePath/common/shared.css?$wgStyleVersion\";\n"; |
423 | 423 | $s .= "@import \"$wgStylePath/common/oldshared.css?$wgStyleVersion\";\n"; |
— | — | @@ -428,7 +428,6 @@ |
429 | 429 | '@import "' . self::makeNSUrl( ucfirst( $this->getSkinName() . '.css' ), $query, NS_MEDIAWIKI ) . "\";\n"; |
430 | 430 | |
431 | 431 | $s .= $this->doGetUserStyles(); |
432 | | - if($wgOut->isPrintable()) $s .= '@import "' . self::makeNSUrl( 'Print.css', $query, NS_MEDIAWIKI ) . "\";\n"; |
433 | 432 | return $s."\n"; |
434 | 433 | } |
435 | 434 | |
— | — | @@ -529,7 +528,7 @@ |
530 | 529 | } |
531 | 530 | return $s; |
532 | 531 | } |
533 | | - |
| 532 | + |
534 | 533 | function getBodyOptions() { |
535 | 534 | global $wgUser, $wgTitle, $wgOut, $wgRequest, $wgContLang; |
536 | 535 | |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -157,7 +157,6 @@ |
158 | 158 | external links. |
159 | 159 | * (bug 14132) Allow user to disable bot edits from being output to UDP. |
160 | 160 | * (bug 14328) jsMsg() within Wikibits now accepts a DOM object, not just a string |
161 | | -* (bug 2889) MediaWiki:Print.css applies to the printable version |
162 | 161 | * (bug 14558) New system message (emailuserfooter) is now added to the footer of |
163 | 162 | e-mails sent with Special:Emailuser |
164 | 163 | * Add support for Hijri (Islamic) calendar |