Follow up r47852. Unlike forkWorkers(), the start() method doesn't get the $procs...
[lhc/web/wiklou.git] / skins / MySkin.php
index d6c155d..8859a71 100644 (file)
@@ -1,11 +1,20 @@
 <?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 {
+       var $skinname = 'myskin', $stylename = 'myskin',
+               $template = 'MonoBookTemplate', $useHeadElement = true;
 }
-?>