summaryrefslogtreecommitdiffstats
path: root/skins/MySkin.php
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-24 18:01:35 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-24 18:01:35 +0000
commit246b38834224f9575f7b22cf84428ff615cb5acd (patch)
tree9e856efbb5a8f14faedf83432687b2a4bef5c493 /skins/MySkin.php
downloadmediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar.gz
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar.bz2
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.tar.xz
mediawiki-246b38834224f9575f7b22cf84428ff615cb5acd.zip
add mediawiki themes
Diffstat (limited to 'skins/MySkin.php')
-rw-r--r--skins/MySkin.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/skins/MySkin.php b/skins/MySkin.php
new file mode 100644
index 0000000..8859a71
--- /dev/null
+++ b/skins/MySkin.php
@@ -0,0 +1,20 @@
+<?php
+/**
+ * MySkin: Monobook without the CSS. The idea is that you
+ * customise it using user or site CSS
+ *
+ * @file
+ * @ingroup Skins
+ */
+
+if( !defined( 'MEDIAWIKI' ) )
+ die( -1 );
+
+/**
+ * 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;
+}