some merge fixes per comments on r53282
[lhc/web/wiklou.git] / skins / MySkin.php
index d6c155d..fac2b72 100644 (file)
@@ -1,11 +1,24 @@
 <?php
+/**
+ * MySkin: Monobook without the CSS. The idea is that you
+ * customise it using user or site CSS
+ *
+ * @file
+ * @ingroup Skins
+ */
 
-require_once($IP.'/includes/SkinPHPTal.php');
+if( !defined( 'MEDIAWIKI' ) )
+       die( -1 );
 
-class SkinMySkin extends SkinPHPTal {
-       function initPage( &$out ) {
-               SkinPHPTal::initPage( $out );
-               $this->skinname = 'myskin';
+/**
+ * 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';
        }
 }
-?>