Start showing warning for deprecated PHP entry point

Change-Id: If2864e84a416687274e2c376ffe018ed34419d0e
This commit is contained in:
Umherirrender 2018-10-26 21:17:31 +02:00
parent 559f7825ad
commit adca008f1c

View file

@ -6,12 +6,12 @@ if ( function_exists( 'wfLoadExtension' ) ) {
$wgMessagesDirs['Nuke'] = __DIR__ . '/i18n';
$wgExtensionMessagesFiles['NukeAlias'] = __DIR__ . '/Nuke.alias.php';
/* wfWarn(
wfWarn(
'Deprecated PHP entry point used for Nuke extension. Please use wfLoadExtension instead, ' .
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
); */
);
return true;
} else {
die( 'This version of the Nuke extension requires MediaWiki 1.25+' );
die( 'This version of the Nuke extension requires MediaWiki 1.28.1+' );
}