Remove PHP entry point
Change-Id: I1d6b3a1f2078b0e2db844d1334dcafc3794c9f74
This commit is contained in:
parent
d4132dab01
commit
f9aa4a74b3
1 changed files with 0 additions and 16 deletions
|
@ -1,16 +0,0 @@
|
|||
<?php
|
||||
|
||||
if ( function_exists( 'wfLoadExtension' ) ) {
|
||||
wfLoadExtension( 'ContributionScores' );
|
||||
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
||||
$wgMessageDirs['ContributionScores'] = __DIR__ . '/i18n';
|
||||
$wgExtensionMessagesFiles['ContributionScoresAlias'] = __DIR__ . '/ContributionScores.alias.php';
|
||||
$wgExtensionMessagesFiles['ContributionScoresMagic'] = __DIR__ . '/ContributionScores.i18n.magic.php';
|
||||
wfWarn(
|
||||
'Deprecated PHP entry point used for ContributionScores extension. ' .
|
||||
'Please use wfLoadExtension instead, ' .
|
||||
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
||||
);
|
||||
} else {
|
||||
die( 'This version of the ContributionScores extension requires MediaWiki 1.29+' );
|
||||
}
|
Loading…
Add table
Reference in a new issue