Uncommitted stuff still in my working copy:
[lhc/web/wiklou.git] / skins / MySkin.php
index 8abc75b..fac2b72 100644 (file)
@@ -1,28 +1,24 @@
 <?php
 /**
- * See skin.txt
+ * MySkin: Monobook without the CSS. The idea is that you
+ * customise it using user or site CSS
  *
- * @todo document
- * @addtogroup Skins
+ * @file
+ * @ingroup Skins
  */
 
 if( !defined( 'MEDIAWIKI' ) )
        die( -1 );
 
-/** */
-require_once('MonoBook.php');
-
 /**
- * @todo document
- * @addtogroup Skins
+ * Inherit main code from SkinTemplate, set the CSS and template filter.
+ * @ingroup Skins
  */
 class SkinMySkin extends SkinTemplate {
-       function initPage( &$out ) {
-               SkinTemplate::initPage( $out );
+       function initPage( OutputPage $out ) {
+               parent::initPage( $out );
                $this->skinname  = 'myskin';
                $this->stylename = 'myskin';
                $this->template  = 'MonoBookTemplate';
        }
 }
-
-?>