mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
e0289b7d0c
Also fixed files to match coding standards. (Checked against tools/codesniffer v0.2.0) Bug: T90943 Change-Id: I38dcb7a5389cf6986dc1247b9291bfb1ad3fca7d
15 lines
464 B
PHP
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+' );
|
|
}
|