mediawiki-skins-Vector/Vector.php
paladox 23f2c6a8fc Add skin.json, deprecate and empty PHP entry point
Bug: T87875
Change-Id: I0e298137e27e2a4c7ced5213ea90aef4cd991376
2015-04-30 20:02:32 +01:00

14 lines
463 B
PHP

<?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+' );
}