Thread:Project:Support desk/How to exclude stylesheets when printable=yes?

The printable=yes page (when not being printed/previewed) is still a media="screen" page. It seems like the media="screen" stylesheets should be excluded entirely no?

On second glance it looks like the skin CSS files are excluded when addStyle is handed a 'screen' page. But:

$out->addStyle( self::makeNSUrl( $this->getSkinName. '.css', $query, NS_MEDIAWIKI ) );

Of includes/Skin.php does not pass a media variable. It seems like since there is a MediaWiki:Print.css page, that the skin override CSS (Eg. MediaWiki:Skin.css) should be 'screen' media.

Anyway, I made this change just now. So this is just a heads up in case this has not been fixed in the newest version.