Uncomment wfWarn in deprecated PHP entry point

Change-Id: Ic6cba1dab5c0f7f09ba5479f15fb81bb2d869cb1
This commit is contained in:
James D. Forrester 2017-10-13 14:15:53 -07:00
parent a2f3dd2758
commit 0d4df2b666

View file

@ -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+' );