diff --git a/ConfirmEdit.php b/ConfirmEdit.php index 8116e5a0..22cb25fe 100644 --- a/ConfirmEdit.php +++ b/ConfirmEdit.php @@ -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+' );