Extension:Asirra

The Asirra extension provides a kitten auth system for protection against spambots and other automated tools. The Asirra service itself is powered by Microsoft. Users have to distinguish between images of cats and images of dogs, a task which proves to be easy for humans but difficult for bots.

See it in action!
You can live-test Asirra on the Test wiki at http://test.bachsau.com/mediawiki/. Just edit the page, create accounts or whatever you want. It's just a test installation.

Installation

 * 1) Download the latest version
 * 2) Extract the archive to $IP/extensions/ directory
 * 3) Add to the end of LocalSettings.php:
 * 4) Installation can now be verified through Special:Version on your wiki

Configuration (optional)

 * $wgAsirraEnlargedPosition: [str] Can be one of top, bottom, left, right. Defaults to bottom.
 * $wgAsirraCellsPerRow: [int] Number of images per row. Defaults to 6</tt>.
 * $wgAsirraScriptPath</tt>: [str] If your extensions directory is outside the document root, or not accessible for any reason, you can set an alternative path to Asirra plugin's JavaScripts here.

For other configuration options and user rights, please refer to Extension:ConfirmEdit.

Internal server error 500
In my case, I had to use the Asirra and ConfirmEdit modules from the ConfirmEdit package directory. This was tested on MediaWiki 1.20.2. See note on talk page for further information.

"Incorrect or missing confirmation code" even when users correctly identify the cats
This means that you probably have $wgCaptchaClass set in LocalSettings.php.

It doesn't recognize that the cats have been correctly identified, even when they have
Probably there's a problem with your paths. Use.

Changelog

 * 0.3: Fixed a bug that kept users from registering new accounts
 * 0.4: Major improvements to JavaScript
 * 0.5: Fixed "Undefined property" notice in Asirra.class.php on line 30
 * 0.6: Fixed a bug which resulted in incorrect JavaScript paths on certain webservers. Added a configuration option to override this path.
 * 0.7: Raised Connection_Timeout to thirty seconds. This often caused errors because of the Microsoft server being too slow. Upgraded ConfirmEdit components to 1.18.x
 * 0.8: Asirra now uses its own directory, as it's a standalone extension. No code changes, no need to update.

Known bugs

 * Currently none