mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Nuke
synced 2024-11-24 00:05:33 +00:00
Start showing warning for deprecated PHP entry point
Change-Id: If2864e84a416687274e2c376ffe018ed34419d0e
This commit is contained in:
parent
559f7825ad
commit
adca008f1c
6
Nuke.php
6
Nuke.php
|
@ -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+' );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue