From 528340d24ae18aa5628c0575698ab9d424a7327f Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Wed, 27 Oct 2010 15:21:18 +0000 Subject: [PATCH] Followup r74966, r75006: load $wgHandheldStyle again in SkinMonoBook. Can't do this the nice way (with ResourceLoader) because $wgHandheldStyle might be a URL :( --- skins/MonoBook.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 3eb04ce811..41ed35b4f3 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -28,6 +28,12 @@ class SkinMonoBook extends SkinTemplate { $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/IE50Fixes.css', 'screen', 'lt IE 5.5000' ); //$out->addStyle( 'monobook/IE55Fixes.css', 'screen', 'IE 5.5000' ); -- 2.20.1