From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png

Release status: beta

Extension confirmedit asirra.png
Implementation Page action
Description Adds a kitten auth system for page saves and other user actions
Author(s) Bachsautalk
Latest version 0.8 (03/28/2012)
PHP 5.x
Database changes No
License Public Domain
Download From Bachsau IT
Example Test wiki


Added rights


Hooks used


Translate the Asirra extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

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![edit | edit source]

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[edit | edit source]

  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)[edit | edit source]

  • $wgAsirraEnlargedPosition: [str] Can be one of top, bottom, left, right. Defaults to bottom.
  • $wgAsirraCellsPerRow: [int] Number of images per row. Defaults to 6.
  • $wgAsirraScriptPath: [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#Configuration.

Troubleshooting[edit | edit source]

Internal server error 500[edit | edit source]

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[edit | edit source]

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[edit | edit source]

Probably there's a problem with your paths. Use extension/Asirra.

Changelog[edit | edit source]

  • 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[edit | edit source]

  • Currently none