X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=skins%2FMonoBook.php;h=e805acadbd3e95584f4c6e69e187d11b97b1fd28;hb=02919f75297e8f1e212c5fc11a93323ead45ae23;hp=ecbcd70a345788e0322f35573d43ff9749ec2df8;hpb=c0f872ddf7ac1ebe791933a1423c629eee9ee521;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/MonoBook.php b/skins/MonoBook.php index ecbcd70a34..e805acadbd 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -25,8 +25,9 @@ * @ingroup Skins */ -if( !defined( 'MEDIAWIKI' ) ) +if ( !defined( 'MEDIAWIKI' ) ) { die( -1 ); +} /** * Inherit main code from SkinTemplate, set the CSS and template filter. @@ -42,17 +43,10 @@ class SkinMonoBook extends SkinTemplate { * @param $out OutputPage */ function setupSkinUserCss( OutputPage $out ) { - global $wgHandheldStyle; parent::setupSkinUserCss( $out ); $out->addModuleStyles( 'skins.monobook' ); - // Ugh. Can't do this properly because $wgHandheldStyle may be a URL - if( $wgHandheldStyle ) { - // Currently in testing... try 'chick/main.css' - $out->addStyle( $wgHandheldStyle, 'handheld' ); - } - // TODO: Migrate all of these $out->addStyle( 'monobook/IE60Fixes.css', 'screen', 'IE 6' ); $out->addStyle( 'monobook/IE70Fixes.css', 'screen', 'IE 7' ); @@ -82,39 +76,39 @@ class MonoBookTemplate extends BaseTemplate { ?>