MediaWiki REL1_31
ReCaptcha.php
Go to the documentation of this file.
1<?php
2if ( function_exists( 'wfLoadExtension' ) ) {
3 wfLoadExtension( 'ConfirmEdit/ReCaptcha' );
4 // Keep i18n globals so mergeMessageFileList.php doesn't break
5 $wgMessagesDirs['ReCaptcha'] = __DIR__ . '/i18n';
6 /* wfWarn(
7 'Deprecated PHP entry point used for ReCaptcha extension. ' .
8 'Please use wfLoadExtension instead, ' .
9 'see https://www.mediawiki.org/wiki/Extension_registration for more details.'
10 ); */
11 return;
12} else {
13 die( 'This version of the Re^Captcha extension requires MediaWiki 1.25+' );
14}
wfLoadExtension( $ext, $path=null)
Load an extension.
$wgMessagesDirs['ReplaceText']