* Update docs/skin.txt.
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 11 Mar 2008 16:00:59 +0000 (16:00 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 11 Mar 2008 16:00:59 +0000 (16:00 +0000)
* Removed skins/SkinPHPTal.sample as PHPTal isn't used for ages.

docs/skin.txt
skins/SkinPHPTal.sample [deleted file]

index 82a5b72..ce2d0b7 100644 (file)
@@ -5,6 +5,18 @@ This document describes the overall architecture of MediaWiki's HTML rendering
 code as well as some history about the skin system. It is placed here rather
 than in comments in the code itself to help reduce the code size.
 
+== Version 1.6 and greater ==
+
+PHPTal skins doesn't exist anymore. They were replaced by SkinTemplate skins,
+introduced since 1.4 to remove the depedency of PHPTal.
+
+A new experimental (disabled by default) callback-based template processor
+has been introduced to try to speed up the generation of html pages. See for
+example skins/disabled/MonoBookCBT.php.
+
+You can find more informations at http://www.mediawiki.org/wiki/Manual:Skins.
+
+
 == Version 1.4 ==
 
 MediaWiki still use the PHPTal skin system introduced in version 1.3 but some
diff --git a/skins/SkinPHPTal.sample b/skins/SkinPHPTal.sample
deleted file mode 100644 (file)
index 683c208..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?php
-require_once('includes/SkinPHPTal.php');
-
-# Test if PHPTal is enabled. If not MediaWiki will load the 'standard' skin
-# which doesnt use PHPTal
-if( class_exists( 'SkinPHPTal' ) ) {
-       
-       # Your class extension is defined there.
-       #
-       # The class name MUST begin with 'Skin' and the rest is the name of the file
-       # excluding '.php'
-       # This file is named SkinPHPTal.sample (but it should end with php). So the
-       # class name will be 'Skin' . 'SkinPHPTal'
-       
-       class SkinSkinPHPTal extends SkinPHPTal {
-               function initPage( &$out ) {
-                       SkinPHPTal::initPage( $out );
-                       $this->skinname = 'name of your skin all lower case';
-                       $this->template = 'phptal template used do not put the .pt';
-               }
-       
-       # Override method below
-       #
-       
-       }
-
-}
-?>