summaryrefslogtreecommitdiff
path: root/skins/MySkin.php
diff options
context:
space:
mode:
Diffstat (limited to 'skins/MySkin.php')
-rw-r--r--skins/MySkin.php14
1 files changed, 5 insertions, 9 deletions
diff --git a/skins/MySkin.php b/skins/MySkin.php
index 46098454..8859a71a 100644
--- a/skins/MySkin.php
+++ b/skins/MySkin.php
@@ -1,8 +1,8 @@
<?php
/**
- * See docs/skin.txt
+ * MySkin: Monobook without the CSS. The idea is that you
+ * customise it using user or site CSS
*
- * @todo document
* @file
* @ingroup Skins
*/
@@ -11,14 +11,10 @@ if( !defined( 'MEDIAWIKI' ) )
die( -1 );
/**
- * @todo document
+ * Inherit main code from SkinTemplate, set the CSS and template filter.
* @ingroup Skins
*/
class SkinMySkin extends SkinTemplate {
- function initPage( OutputPage $out ) {
- parent::initPage( $out );
- $this->skinname = 'myskin';
- $this->stylename = 'myskin';
- $this->template = 'MonoBookTemplate';
- }
+ var $skinname = 'myskin', $stylename = 'myskin',
+ $template = 'MonoBookTemplate', $useHeadElement = true;
}