summaryrefslogtreecommitdiffstats
path: root/skins/Cavendish/Cavendish.php
diff options
context:
space:
mode:
Diffstat (limited to 'skins/Cavendish/Cavendish.php')
-rw-r--r--skins/Cavendish/Cavendish.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/skins/Cavendish/Cavendish.php b/skins/Cavendish/Cavendish.php
new file mode 100644
index 0000000..4fdd0d4
--- /dev/null
+++ b/skins/Cavendish/Cavendish.php
@@ -0,0 +1,14 @@
+<?php
+
+if ( function_exists( 'wfLoadSkin' ) ) {
+ wfLoadSkin( 'Cavendish' );
+ // Keep i18n globals so mergeMessageFileList.php doesn't break
+ $wgMessagesDirs['Modern'] = __DIR__ . '/i18n';
+ /* wfWarn(
+ 'Deprecated PHP entry point used for Modern skin. Please use wfLoadSkin instead, ' .
+ 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
+ ); */
+ return true;
+} else {
+ die( 'This version of the Modern skin requires MediaWiki 1.25+' );
+}