2 require_once('includes/SkinPHPTal.php');
4 # Test if PHPTal is enabled. If not MediaWiki will load the 'standard' skin
5 # which doesnt use PHPTal
6 if( class_exists( 'SkinPHPTal' ) ) {
8 # Your class extension is defined there.
10 # The class name MUST begin with 'Skin' and the rest is the name of the file
12 # This file is named SkinPHPTal.sample (but it should end with php). So the
13 # class name will be 'Skin' . 'SkinPHPTal'
15 class SkinSkinPHPTal extends SkinPHPTal {
16 function initPage( &$out ) {
17 SkinPHPTal::initPage( $out );
18 $this->skinname = 'name of your skin all lower case';
19 $this->template = 'phptal template used do not put the .pt';
22 # Override method below