diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 11:52:48 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-07-28 11:52:48 +0200 |
commit | 222b01f5169f1c7e69762e0e8904c24f78f71882 (patch) | |
tree | 8e932e12546bb991357ec48eb1638d1770be7a35 /skins/Chick.php | |
parent | 00ab76a6b686e98a914afc1975812d2b1aaa7016 (diff) |
update to MediaWiki 1.16.0
Diffstat (limited to 'skins/Chick.php')
-rw-r--r-- | skins/Chick.php | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/skins/Chick.php b/skins/Chick.php index a95a72ce..c8eb8152 100644 --- a/skins/Chick.php +++ b/skins/Chick.php @@ -1,8 +1,8 @@ <?php /** - * See docs/skin.txt + * Chick: A lightweight Monobook skin with no sidebar, the sidebar links are + * given at the bottom of the page instead, as in the unstyled MySkin. * - * @todo document * @file * @ingroup Skins */ @@ -14,16 +14,12 @@ if( !defined( 'MEDIAWIKI' ) ) require_once( dirname(__FILE__) . '/MonoBook.php' ); /** - * @todo document + * Inherit main code from SkinTemplate, set the CSS and template filter. * @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; function setupSkinUserCss( OutputPage $out ){ parent::setupSkinUserCss( $out ); @@ -34,5 +30,3 @@ class SkinChick extends SkinTemplate { $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' ); } } - - |