MediaWiki
REL1_30
ReCaptchaNoCaptcha.php
Go to the documentation of this file.
1
<?php
2
if
( function_exists(
'wfLoadExtension'
) ) {
3
wfLoadExtension
(
'ConfirmEdit/ReCaptchaNoCaptcha'
);
4
// Keep i18n globals so mergeMessageFileList.php doesn't break
5
$wgMessagesDirs
[
'ReCaptchaNoCaptcha'
] = __DIR__ .
'/i18n'
;
6
/* wfWarn(
7
'Deprecated PHP entry point used for ReCaptchaNoCaptcha 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 ReCaptchaNoCaptcha extension requires MediaWiki 1.25+'
);
14
}
$wgMessagesDirs
$wgMessagesDirs
Extension messages directories.
Definition
DefaultSettings.php:7223
wfLoadExtension
wfLoadExtension( $ext, $path=null)
Load an extension.
Definition
GlobalFunctions.php:115
extensions
ConfirmEdit
ReCaptchaNoCaptcha
ReCaptchaNoCaptcha.php
Generated on Mon Nov 25 2024 15:41:56 for MediaWiki by
1.10.0