mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-12 09:32:55 +00:00
3cbbec4539
Bug: T88047 Change-Id: I4c140aadc988683b9abf01b7a6f6db031ea713d3
14 lines
523 B
PHP
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+' );
|
|
}
|