Add tests for r96562. HttpTest still has 5 failing test (which is why it's marked...
[lhc/web/wiklou.git] / skins / MySkin.php
index 90fb534..8859a71 100644 (file)
@@ -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
  */
 if( !defined( 'MEDIAWIKI' ) )
        die( -1 );
 
-/** */
-require_once( dirname(__FILE__) . '/MonoBook.php' );
-
 /**
- * @todo document
+ * Inherit main code from SkinTemplate, set the CSS and template filter.
  * @ingroup Skins
  */
 class SkinMySkin extends SkinTemplate {
-       function initPage( &$out ) {
-               SkinTemplate::initPage( $out );
-               $this->skinname  = 'myskin';
-               $this->stylename = 'myskin';
-               $this->template  = 'MonoBookTemplate';
-       }
+       var $skinname = 'myskin', $stylename = 'myskin',
+               $template = 'MonoBookTemplate', $useHeadElement = true;
 }
-
-