Update documentation as LanguageGetMagic hook is deprecated.
[lhc/web/wiklou.git] / skins / Chick.php
index 75204c6..2362263 100644 (file)
@@ -18,19 +18,18 @@ require_once( dirname(__FILE__) . '/MonoBook.php' );
  * @ingroup Skins
  */
 class SkinChick extends SkinTemplate {
-       function initPage( OutputPage $out ) {
-               SkinTemplate::initPage( $out );
-               $this->skinname  = 'chick';
-               $this->stylename = 'chick';
-               $this->template  = 'MonoBookTemplate';
-       }
+       var $skinname = 'chick', $stylename = 'chick',
+       $template = 'MonoBookTemplate', $useHeadElement = true;
 
+       /**
+        * @param $out OutputPage
+        */
        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->addModuleStyles( 'skins.chick' );
+
+               // TODO: Migrate all of these to RL
                $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' );
        }
-}
\ No newline at end of file
+}