diff options
Diffstat (limited to 'skins/ArchLinux/ArchLinux.php')
-rw-r--r-- | skins/ArchLinux/ArchLinux.php | 14 |
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+' ); +} |