Version 2 (modified by Rob McMullen, 13 years ago) (diff)


A simple equation solver used as a CAPTCHA


This is a small plugin to present an anonymous user with simple math addition problems in order to submit a new ticket or to make edits in the wiki. Currently there is no customization: it presents two integers in the range of 1 - 10 and asks the user to add them together.

For the future, would be nice if there were multiple types of math problems presented in a way that wouldn't be easy for a bot to recognize.

Bugs/Feature Requests

Existing bugs and feature requests for MathCaptchaPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:mathcaptchaplugin here].


You can check out MathCaptchaPlugin from here using Subversion, or browse the source with Trac.


To enable the plugin, add the line:

mathcaptcha.* = enabled

to the components section in trac.ini.

Recent Changes

17091 by rjollos on 2018-04-04 03:32:00
TracMathCaptcha 5.0dev: Fix grammar in option doc

Refs #6891.

17090 by rjollos on 2018-04-04 02:21:09
TracMathCaptcha 5.0dev: Add option ban_after_failed_attempts

This also fixes two defects that led to the number of
failures being miscounted.

Fixes #6891.

17089 by rjollos on 2018-04-04 02:00:21
TracMathCaptcha 5.0dev: Change plugin name

This prepares for publishing to pypi.

Remove the old plugin before installing:

$ pip uninstall matchcaptcha

Refs #13399.



Author: robm