Extension:VisualMathCaptcha

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
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.16.0
License No license specified
Download here
Example example 1,
example 2
Parameters

$wgVisualMathCaptchaItemMax, $wgVisualMathCaptchaItemNum, $wgVisualMathCaptchaOperators

Check usage (experimental)

VisualMathCaptcha extension gives your wiki a strong captcha with a math operation generated as image.

Contents

[edit] Installation

This extension requires you have GD module for PHP.

Download VisualMathExtension from here.

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

require_once( "$IP/extensions/VisualMathCaptcha/VisualMathCaptcha.setup.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] With other extensions

[edit] With 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";

[edit] With Lockdown extension

VisualMathCaptcha uses a special page: SpecialPage:VisualMathCaptcha.

Add in LocalSettings.php

$wgSpecialPageLockdown['VisualMathCaptcha'] = array('*');

[edit] With CorporateContact

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox