Extension:VisualMathCaptcha

From MediaWiki.org

Jump to: navigation, search

               

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
VisualMathCaptcha

Release status: stable

Special VisualMathCaptcha.png
Implementation  Special page
Description Visual (image) and math captcha
Author(s)  CchantepTalk
Last Version  1.0-SNAPSHOT
MediaWiki  1.11.x, 1.12.x, 1.13.x
License No license specified
Download here
Example  example 1,
example 2

check usage (experimental)

Contents

[edit] What can this extension do?

This extension allow to integrate a strong captcha with a math operation generated as image.

[edit] Usage

[edit] Download instructions

You can download VisualMathExtension from there.

[edit] Installation

To install this extension, add the following to LocalSettings.php:

require_once( "$IP/extensions/VisualMathCaptcha/VisualMathCaptcha.setup.php" );

This extension requires you have GD module for PHP.

[edit] Configuration parameters

  • $wgVisualMathCaptchaItemMax : [int] max value (included) for each number in operation ; Defaulted to 9.
  • $wgVisualMathCaptchaItemNum : [int] count of number in generated operator; Defaulted to 2.
  • $wgVisualMathCaptchaOperators : [array] operators allowed for generation; Defaulted to { '+', '-' }.

[edit] See also

[edit] CorporateContact

VisualMathCaptcha can be used with CorporateContact.

[edit] ConfirmEdit

This captcha can be used instead of standard captcha of ConfirmEdit extension. To do so :

  1. Open ConfirmEdit.php, in ConfirmEdit extension directory, and change $wgCaptchaClass value to VisualMathConfirmCaptcha.
  2. Add following line in LocalSettings.php, after content copied from provided file LocalSettings.part :
  $wgAutoloadClasses['VisualMathConfirmCaptcha'] = "$IP/extensions/VisualMathCaptcha/VisualMathConfirmCaptcha.class.php";