summaryrefslogtreecommitdiff
path: root/skins/ArchLinux/ArchLinux.php
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-15 14:58:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-15 14:58:21 -0300
commit3b3143d38611fc04a4ff7cba9a27a14f7ef1d8f9 (patch)
treed1dea5276cc6dd368838b5e4cda2bb35ec7da02d /skins/ArchLinux/ArchLinux.php
parent74f7c8a0bea120fb56c3faa813add46b63108d5c (diff)
Revert some changes for compatibilitycoadde/master
Diffstat (limited to 'skins/ArchLinux/ArchLinux.php')
-rw-r--r--skins/ArchLinux/ArchLinux.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/skins/ArchLinux/ArchLinux.php b/skins/ArchLinux/ArchLinux.php
new file mode 100644
index 00000000..fce0e822
--- /dev/null
+++ b/skins/ArchLinux/ArchLinux.php
@@ -0,0 +1,14 @@
+<?php
+
+if ( function_exists( 'wfLoadSkin' ) ) {
+ wfLoadSkin( 'ArchLinux' );
+ // Keep i18n globals so mergeMessageFileList.php doesn't break
+ $wgMessagesDirs['MonoBook'] = __DIR__ . '/i18n';
+ /* wfWarn(
+ 'Deprecated PHP entry point used for MonoBook skin. Please use wfLoadSkin instead, ' .
+ 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
+ ); */
+ return true;
+} else {
+ die( 'This version of the ArchLinux skin requires MediaWiki 1.25+' );
+}