2014-08-07 11:38:34 +00:00
|
|
|
<?php
|
|
|
|
|
2015-04-07 19:52:32 +00:00
|
|
|
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+' );
|
2015-06-09 13:36:04 +00:00
|
|
|
}
|