diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:31:04 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-06-04 07:58:39 +0200 |
commit | f6d65e533c62f6deb21342d4901ece24497b433e (patch) | |
tree | f28adf0362d14bcd448f7b65a7aaf38650f923aa /extensions/ConfirmEdit/MathCaptcha.php | |
parent | c27b2e832fe25651ef2410fae85b41072aae7519 (diff) |
Update to MediaWiki 1.25.1
Diffstat (limited to 'extensions/ConfirmEdit/MathCaptcha.php')
-rw-r--r-- | extensions/ConfirmEdit/MathCaptcha.php | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/extensions/ConfirmEdit/MathCaptcha.php b/extensions/ConfirmEdit/MathCaptcha.php index d1eb44ef..dd34d53e 100644 --- a/extensions/ConfirmEdit/MathCaptcha.php +++ b/extensions/ConfirmEdit/MathCaptcha.php @@ -1,22 +1,2 @@ <?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'; +require_once __DIR__ . "/MathCaptcha/MathCaptcha.php"; |