(bug 28507) Fix for r85844: that revision was not actually sufficient to fix bug...
[mediawiki.git] / skins / Chick.php
blobb7cef695fde1a97720192b139fc66f2bf9513cbb
1 <?php
2 /**
3 * Chick: A lightweight Monobook skin with no sidebar, the sidebar links are
4 * given at the bottom of the page instead, as in the unstyled MySkin.
6 * @file
7 * @ingroup Skins
8 */
10 if( !defined( 'MEDIAWIKI' ) )
11 die( -1 );
13 /** */
14 require_once( dirname(__FILE__) . '/MonoBook.php' );
16 /**
17 * Inherit main code from SkinTemplate, set the CSS and template filter.
18 * @ingroup Skins
20 class SkinChick extends SkinTemplate {
21 var $skinname = 'chick', $stylename = 'chick',
22 $template = 'MonoBookTemplate', $useHeadElement = true;
24 function setupSkinUserCss( OutputPage $out ){
25 parent::setupSkinUserCss( $out );
27 $out->addModuleStyles( 'skins.chick' );
29 // TODO: Migrate all of these to RL
30 $out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' );
31 $out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' );
32 $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' );