Merge "Remove php entry point"

This commit is contained in:
jenkins-bot 2018-09-12 23:51:15 +00:00 committed by Gerrit Code Review
commit 9c231b2bb4
1 changed files with 0 additions and 14 deletions

View File

@ -1,14 +0,0 @@
<?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+' );
}