mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-13 18:07:00 +00:00
4a6c4e2bcf
* stylize.php and trailing whitespace removed for ConfirmEdit * add support for QuestyCaptcha to Translate * svn execute bits removed
19 lines
506 B
PHP
19 lines
506 B
PHP
<?php
|
|
|
|
/**
|
|
* Captcha class using simple sums and the math renderer
|
|
* Not brilliant, but enough to dissuade casual spam bots
|
|
*
|
|
* @addtogroup 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';
|