<?php
-if ($wgUsePHPTal) {
+/**
+ * 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;
}
-
-}
-?>