mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-13 18:07:00 +00:00
f6b61b4dd6
* changed all @addtogroup to @ingroup * added some @file where needed * changed some @package/@subpackage to @ingroup
20 lines
512 B
PHP
20 lines
512 B
PHP
<?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' ) ) {
|
|
echo( "This file is an extension to the MediaWiki software and cannot be used standalone.\n" );
|
|
die( 1 );
|
|
}
|
|
|
|
$wgAutoloadClasses['MathCaptcha'] = dirname( __FILE__ ) . '/MathCaptcha.class.php';
|