aboutsummaryrefslogtreecommitdiffstats
path: root/skins/Chick.php
diff options
context:
space:
mode:
authorAntoine Musso <hashar@users.mediawiki.org>2004-09-02 01:29:18 +0000
committerAntoine Musso <hashar@users.mediawiki.org>2004-09-02 01:29:18 +0000
commitfd758aaa3c619ed1f3058117b55e61a3b59f8a63 (patch)
treeec9dd023afe8f9aca2847616332552bc0e018099 /skins/Chick.php
parent837b18f8db547a62b30e62ff607f56d4d2a19b0f (diff)
downloadmediawikicore-fd758aaa3c619ed1f3058117b55e61a3b59f8a63.tar.gz
mediawikicore-fd758aaa3c619ed1f3058117b55e61a3b59f8a63.zip
Big change to the skin system. Php files are now in ./skins/ . Templates and stylesheets will be migrated there as well later. The main idea is to let users add new skins easily without hacking mediawiki
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/5015
Diffstat (limited to 'skins/Chick.php')
-rw-r--r--skins/Chick.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/skins/Chick.php b/skins/Chick.php
new file mode 100644
index 000000000000..db7ad68b63d1
--- /dev/null
+++ b/skins/Chick.php
@@ -0,0 +1,14 @@
+<?php
+require_once($IP.'/includes/SkinPHPTal.php');
+
+class SkinChick extends SkinPHPTal {
+ function initPage( &$out ) {
+ SkinPHPTal::initPage( $out );
+ $this->skinname = 'chick';
+ $this->template = 'xhtml_minimal';
+ }
+ function suppressUrlExpansion() { return true; }
+ function printSource() { return ''; }
+}
+
+?>