mediawiki-skins-Vector/Vector.php
Vivek Ghaisas e0289b7d0c Run phplint and phpcs through "composer test" entry point
Also fixed files to match coding standards. (Checked against
tools/codesniffer v0.2.0)

Bug: T90943
Change-Id: I38dcb7a5389cf6986dc1247b9291bfb1ad3fca7d
2015-06-09 16:37:14 +03:00

15 lines
464 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+' );
}