diff --git a/CodeEditor.php b/CodeEditor.php index 3cbcc1de..da910725 100644 --- a/CodeEditor.php +++ b/CodeEditor.php @@ -20,12 +20,12 @@ if ( function_exists( 'wfLoadExtension' ) ) { wfLoadExtension( 'CodeEditor' ); // Keep i18n globals so mergeMessageFileList.php doesn't break $wgMessagesDirs['CodeEditor'] = __DIR__ . '/i18n'; - /* wfWarn( + wfWarn( 'Deprecated PHP entry point used for CodeEditor extension. ' . 'Please use wfLoadExtension instead, ' . 'see https://www.mediawiki.org/wiki/Extension_registration for more details.' - ); */ + ); return; } else { - die( 'This version of the CodeEditor extension requires MediaWiki 1.25+' ); + die( 'This version of the CodeEditor extension requires MediaWiki 1.32+' ); }