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