Fix Bug 33384 - database drivers cannot be provided by extension
[lhc/web/wiklou.git] / skins / Chick.php
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.
5 *
6 * @file
7 * @ingroup Skins
8 */
9
10 if( !defined( 'MEDIAWIKI' ) )
11 die( -1 );
12
13 /** */
14 require_once( dirname(__FILE__) . '/MonoBook.php' );
15
16 /**
17 * Inherit main code from SkinTemplate, set the CSS and template filter.
18 * @ingroup Skins
19 */
20 class SkinChick extends SkinTemplate {
21 var $skinname = 'chick', $stylename = 'chick',
22 $template = 'MonoBookTemplate', $useHeadElement = true;
23
24 /**
25 * @param $out OutputPage
26 */
27 function setupSkinUserCss( OutputPage $out ){
28 parent::setupSkinUserCss( $out );
29
30 $out->addModuleStyles( 'skins.chick' );
31
32 // TODO: Migrate all of these to RL
33 $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' );
34 }
35 }