[Mediawiki-l] fancycaptcha image

Brion Vibber brion at pobox.com
Sun Feb 5 20:52:16 UTC 2006


FxParlant wrote:
> i've seen that the fancycaptcha system is enabled on mediawiki.org
> Could Brion or any admin of www.mediawiki.org, tell me how to have
> images show up instead of the arithmetic system of "simplecaptcha".

Include the extension files and set:

$wgCaptchaClass = 'FancyCaptcha';

The images aren't generated live; you can use the captcha.py script to
batch-generate a directory full of images, which can be periodically replaced to
keep the pool fresh.

Set the $wgCaptchaDirectory to this directory, and $wgCaptchaSecret to the
string you passed as the --key parameter to the generator script. The directory
doesn't need to be web-accessible, but the files do need to be readable by the
web server process.

-- brion vibber (brion @ pobox.com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20060205/b86e5078/attachment.pgp 


More information about the MediaWiki-l mailing list