mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
23f2c6a8fc
Bug: T87875 Change-Id: I0e298137e27e2a4c7ced5213ea90aef4cd991376
14 lines
463 B
PHP
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+' );
|
|
} |