User:Robchurch/ConfirmEdit rewrite
From MediaWiki.org
|
Release status: stable |
|||
|---|---|---|---|
| Implementation | Page action | ||
| Description | Flexible captcha plugin which can trigger on edits, user registration, etc. | ||
| Author(s) | Brion Vibber | ||
| MediaWiki | 1.6.0+ | ||
| License | No license specified | ||
| Download | from Subversion Subversion log |
||
|
|||
The ConfirmEdit extension adds a framework which provides a captcha that can be triggered on various actions, including certain classes of edits and user registration, to help combat spam and automated editing or account creation.
Contents |
[edit] Installation
- Download all files from Subversion and place them into a ConfirmEdit subdirectory within your MediaWiki extensions directory
- Add the line
require_once( "{$IP}/extensions/ConfirmEdit/ConfirmEdit.php" );to your LocalSettings.php file - Choose a captcha plugin (see below) and set the value of $wgCaptchaClass accordingly
You can confirm installation through the Special:Version page on your wiki.
[edit] Captcha plugins
The extension provides a framework for adding plugins to generate and present captcha images. Three are provided:
- SimpleCaptcha
- Basic math-based captcha which prints a simple sum in plain text. Considered a reference implementation, rather than production standard, as it's quite straightforward to crack.
- MathCaptcha
- Math-based captcha which uses the math renderer to output a simple sum as an image. Better than SimpleCaptcha, but not bulletproof. Requires texvc to be compiled and working.
- FancyCaptcha
- Captcha selects pre-generated images using classic "warped words"; the best of the provided plugins. Requires Python and Python Imaging Libraries for the generation script.