mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-28 10:00:29 +00:00
Uncomment wfWarn in deprecated PHP entry point
Change-Id: Ic6cba1dab5c0f7f09ba5479f15fb81bb2d869cb1
This commit is contained in:
parent
a2f3dd2758
commit
0d4df2b666
|
@ -35,11 +35,11 @@ if ( function_exists( 'wfLoadExtension' ) ) {
|
|||
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
||||
$wgMessagesDirs['ConfirmEdit'] = __DIR__ . '/i18n';
|
||||
$wgExtensionMessagesFiles['ConfirmEditAlias'] = __DIR__ . '/ConfirmEdit.alias.php';
|
||||
/* wfWarn(
|
||||
wfWarn(
|
||||
'Deprecated PHP entry point used for ConfirmEdit extension. ' .
|
||||
'Please use wfLoadExtension instead, ' .
|
||||
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
||||
); */
|
||||
);
|
||||
return;
|
||||
} else {
|
||||
die( 'This version of the ConfirmEdit extension requires MediaWiki 1.25+' );
|
||||
|
|
Loading…
Reference in a new issue