From b9b85843572bf283f48285001e276ba7e61b63f6 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 22 Feb 2009 13:37:51 +0100 Subject: updated to MediaWiki 1.14.0 --- skins/Chick.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'skins/Chick.php') diff --git a/skins/Chick.php b/skins/Chick.php index cfbdbc7d..a95a72ce 100644 --- a/skins/Chick.php +++ b/skins/Chick.php @@ -18,12 +18,20 @@ require_once( dirname(__FILE__) . '/MonoBook.php' ); * @ingroup Skins */ class SkinChick extends SkinTemplate { - function initPage( &$out ) { + function initPage( OutputPage $out ) { SkinTemplate::initPage( $out ); $this->skinname = 'chick'; $this->stylename = 'chick'; $this->template = 'MonoBookTemplate'; - $this->fixfiles = array( 'IE50', 'IE55', 'IE60' ); + } + + function setupSkinUserCss( OutputPage $out ){ + parent::setupSkinUserCss( $out ); + // Append to the default screen common & print styles... + $out->addStyle( 'chick/main.css', 'screen,handheld' ); + $out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' ); + $out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' ); + $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' ); } } -- cgit v1.2.3-54-g00ecf