2015-05-21 17:02:34 +00:00
|
|
|
<?php
|
2015-05-23 09:24:50 +00:00
|
|
|
if ( function_exists( 'wfLoadExtension' ) ) {
|
|
|
|
wfLoadExtension( 'ConfirmEdit/MathCaptcha' );
|
|
|
|
// Keep i18n globals so mergeMessageFileList.php doesn't break
|
|
|
|
$wgMessagesDirs['MathCaptcha'] = __DIR__ . '/i18n';
|
|
|
|
/* wfWarn(
|
2015-10-28 15:52:04 +00:00
|
|
|
'Deprecated PHP entry point used for MathCaptcha extension. ' .
|
|
|
|
'Please use wfLoadExtension instead, ' .
|
2015-05-23 09:24:50 +00:00
|
|
|
'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
|
|
|
|
); */
|
|
|
|
return;
|
|
|
|
} else {
|
|
|
|
die( 'This version of the MathCaptcha extension requires MediaWiki 1.25+' );
|
2015-05-21 17:02:34 +00:00
|
|
|
}
|