blob: d1eb44efc0d66b8927a0647f070cfcdfdf5f9640 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<?php
/**
* Captcha class using simple sums and the math renderer
* Not brilliant, but enough to dissuade casual spam bots
*
* @file
* @ingroup Extensions
* @author Rob Church <robchur@gmail.com>
* @copyright © 2006 Rob Church
* @licence GNU General Public Licence 2.0
*/
if ( !defined( 'MEDIAWIKI' ) ) {
exit;
}
$dir = __DIR__;
require_once $dir . '/ConfirmEdit.php';
$wgCaptchaClass = 'MathCaptcha';
$wgAutoloadClasses['MathCaptcha'] = $dir . '/MathCaptcha.class.php';
|