Remove php entry point

Deprecation notice since I7c37e6eb6b7c802fa1e4ebaca2752247ba4d3b8c

Bug: T140850
Change-Id: Iff4c44bed0b143bb015bca047e4673bf2d11aa2b
This commit is contained in:
Umherirrender 2021-03-13 00:22:58 +01:00
parent 646fcf6ad1
commit 08ac202ba9

View file

@ -1,16 +0,0 @@
<?php
if ( function_exists( 'wfLoadExtension' ) ) {
wfLoadExtension( 'Math' );
// Keep i18n globals so mergeMessageFileList.php doesn't break
$wgMessagesDirs['Math'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['Math'] = __DIR__ . '/Math.alias.php';
$wgExtensionMessagesFiles['MathAliasNoTranslate'] = __DIR__ . '/Math.alias.noTranslate.php';
wfWarn(
'Deprecated PHP entry point used for Math extension. Please use wfLoadExtension instead, ' .
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
);
return;
} else {
die( 'This version of the Math extension requires MediaWiki 1.32+' );
}