mediawiki-extensions-Confir.../QuestyCaptcha/QuestyCaptcha.php
Florian 3cbbec4539 Remove PHP entry point and use extension.json for QuestyCaptcha
Bug: T88047
Change-Id: I4c140aadc988683b9abf01b7a6f6db031ea713d3
2015-05-23 14:36:53 +02:00

14 lines
523 B
PHP

<?php
if ( function_exists( 'wfLoadExtension' ) ) {
wfLoadExtension( 'ConfirmEdit/QuestyCaptcha' );
// Keep i18n globals so mergeMessageFileList.php doesn't break
$wgMessagesDirs['QuestyCaptcha'] = __DIR__ . '/i18n';
/* wfWarn(
'Deprecated PHP entry point used for QuestyCaptcha extension. Please use wfLoadExtension instead, ' .
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
); */
return;
} else {
die( 'This version of the QuestyCaptcha extension requires MediaWiki 1.25+' );
}