Extension talk:Asirra

From mediawiki.org
Latest comment: 9 years ago by Jelson25 in topic Asirra closed down

Asirra was working fine; I enabled HTTPS on the server and suddenly it doesn't show up[edit]

The heading describes the problem. How do I reenable Asirra to work on my HTTPS server? EDIT: I found that changing http:// to https:// within Asirra.class.php makes the cats show up but now the program is saying: "Login error - Incorrect or missing confirmation code."

I never tested asirra with https, don't even know if it can be done through Microsoft. But it's on the todo for next version. Thanks for bringing this to mind. --Bachsau (talk) 00:06, 23 April 2013 (UTC)Reply

Swedish translation for Asirra[edit]

Here is a Swedish translation of Asirra.

Though I don't get where the line ”Please select all the cat photos:” comes from – I can't find it among the English translation terms in the file. Can you help me? That's the line most visible for visitors.

/** Swedish (svenska)
 * @author Kristofer Åberg
$messages['sv'] = array(
	'asirra-desc' => 'Modulen Asirra för ConfirmEdit',
	'asirra-edit' => 'För att skydda sidan mot automatiserade spamredigeringar så måste du markera enbart kattbilderna i rutan nedan:', 
	'asirra-addurl' => 'Din redigering innehåller nya externa länkar. För att skydda sidan mot automatiserat spam så måste du markera enbart kattbilderna i rutan nedan:',
	'asirra-badpass' => 'För att skydda sidan mot automatiserade lösenordsstölder så måste du markera enbart kattbilderna i rutan nedan:',
	'asirra-createaccount' => 'För att skydda sidan mot automatiskt skapade användarkonton så måste du markera enbart kattbilderna i rutan nedan:',
	'asirra-createaccount-fail' => "Vänligen identifiera enbart katterna på ett korrekt sätt.",
	'asirra-create' => 'För att skydda sidan mot automatiserade skapningar av nya sidor så måste du markera enbart kattbilderna i rutan nedan:', 
	'asirra-nojs' => '\'\'\'Var god aktivera JavaScript och ladda om sidan.\'\'\'',
	'asirra-failed' => 'Vänligen markera alla kattbilder',

-- 10:33, 20 March 2012 (UTC)Reply

I'm really sorry for my late response! Your post got lost between all the others, so I didn't notice. :( Thank you for translating. I really appreciate this, and will include this in the next version! The phrase you're asking for is generated by Microsoft's API and therefore can't be customized. It's always english and we can't change it. But with enough descriptions around it, people will understand what to do anyway. --Bachsau (talk) 20:55, 9 May 2012 (UTC)Reply

PHP error: undefined function curl_init[edit]

For other users: If you get the following error in your logs and failure to create an account--my installation is MediaWiki 1.19.1, PHP 5.3.10-1ubuntu3.2 after installing Asirra and trying to create a new account, you need to install PHP5-cURL.

"PHP Fatal error: Call to undefined function curl_init() in /srv/www/domain.com/public_html/w/extensions/Asirra/Asirra.class.php on line 78, referer: http://domain.com/w/index.php?title=Special:UserLogin&type=signup&returnto=Special:Version"

You can install it by running (in Ubuntu) sudo apt-get install php5-curl, and restarting apache server.

Asirra not passing[edit]

I have run into a problem (using MW 1.19.1) of Asirra not passing. You can correctly identify the cats dozens of times and it won't work; it just says "Login error Incorrect or missing confirmation code." If I just keep playing around with the LocalSettings.php file (among other things) it eventually works, but I can't figure out why. What seemed to fix it this last time was moving the Asirra files where Asirra expected them to be, namely $IP/extensions/Asirra/Asirra.php. But I have no idea if that's what actually made it start working. It's a very mysterious glitch that I've seen crop up on many MediaWiki installations, and it's never been clear exactly what made it start working. This meme comes to mind. This problem was also raised at this thread. Leucosticte (talk) 17:35, 7 August 2012 (UTC)Reply

It would seem that you have to be sure to use extensions/Asirra rather than extensions/ConfirmEdit/Asirra . Leucosticte (talk) 15:49, 5 October 2012 (UTC)Reply

Please clarify installation instruction[edit]

I don't understand step 2 of installation instructions:

"Extract the archive to $IP/extensions/</t> directory"

I've installed many extension but have no idea what the "</t> directory" part of the instructions means. Normally I just install to the extension directory. Either I create the folder there or the "unarchiving" usually does that. Never seen the above before?

Could you please explain? DaveL (talk) 19:21, 12 August 2012 (UTC)Reply

The </t> is just an error, it was clearly meant to be </tt>, closing the earlier opened tag. I've attempted to fix it but my fix is in review... --TimeDoctor (talk) 05:58, 22 December 2012 (UTC)Reply


I downloaded and installed the extension from this page, but then while running the wiki I get errors in the error_log that it can't find the file "extensions/Asirra/CaptchaStore.php". I don't have ConfirmEdit installed. I'm running MediaWiki 1.13. I believe that file is in the newer versions of ConfirmEdit, but not in the version of ConfirmEdit for MW 1.13. How can I fix this -- should I just grab a copy of CaptchaStore.php online, or would that screw things up? Thanks. Adama (talk) 09:01, 26 August 2012 (UTC)Reply

Never mind. I got it to work by installing ConfirmEdit for 1.13 first, then copying the asirra* files out of the extension from this page into the ConfirmEdit extensions directory. 02:07, 27 August 2012 (UTC)Reply


Does anyone know if the spammers have figured out a way to defeat Asirra? My wiki gets an average of about one spammer a day, who creates an account (triggering CAPTCHA) and creates a page (also triggering CAPTCHA); I'm not sure whether they do it manually, or have found an automated method of cat recognition. Leucosticte (talk) 02:19, 11 November 2012 (UTC)Reply

I heard they feed images to pornography sites and show them as captchas to live users. I don't know if that's true, but it sounds at least plausible. ~Michael Allan 02:48, 3 February 2013 (UTC)Reply
It's manual. I use QuestyCaptcha and I still get a trickle of spam, and changing my captcha questions doesn't affect that trickle, so it must be humans. Ciaran (talk) 12:54, 8 June 2013 (UTC)Reply

Estonian translation of Asirra[edit]

Here is an Estonian translation of Asirra

/** Estonian (Eesti)
 * @author Peeter Jürlau
$messages['et'] = array(
	'asirra-desc' => 'ConfirmEdit'i Asirra moodul',
	'asirra-edit' => 'Et aidata tõkestada automaatse editeerimise spämmi, palun vali välja ainult kassi pildid:', 
	'asirra-addurl' => 'Sinu muudatus sisaldab uut välislinki. Et aidata tõkestada automaatset spämmi, palun vali välja ainult kassi pildid:',
	'asirra-badpass' => 'Et aidata tõkestada automaatset salasõna murdmist, palun vali välja ainult kassi pildid:',
	'asirra-createaccount' => 'Et aidata tõkestada automaatset konto loomist, palun vali välja ainult kassi pildid:',
	'asirra-createaccount-fail' => "Palun tuvasta kassi pildid õieti.",
	'asirra-create' => 'Et aidata tõkestada automaatset artikli loomist, palun vali välja ainult kassi pildid:', 
	'asirra-nojs' => '\'\'\'Palun luba JavaScript ja värskenda lehte.\'\'\'',
	'asirra-failed' => 'Palun vali välja kõik kassi pildid',

Asirra and ConfirmEdit not playing nice together[edit]

I downloaded the latest version of ConfirmEdit and Asirra. I included ConfirmEdit from it's directory and Asirra from its own directory. This combination was causing the Wiki to crash / internal error 500. I tried running the version of ConfirmEdit and Asirra in the Asirra directory and it again crashed my Wiki. In the end, I had to run Asirra and ConfirmEdit from the ConfirmEdit package directory. I don't understand what is going on with merging these modules, if this module is no longer being maintained/tested seperately someone should update the main extension page. My Wiki is running

Product Version MediaWiki 1.20.2 PHP 5.3.10 (apache2handler) MySQL 5.0.95 ConfirmEdit (Version 1.1) Alan.ca (talk) 17:40, 11 February 2013 (UTC)Reply

The error message is

PHP message: PHP Fatal error:  Cannot redeclare confirmEditSetup() (previously declared in /www/w/extensions/Asirra/ConfirmEdit.php:216) in /www/w/extensions/ConfirmEdit/ConfirmEdit.php on line 216

SniperSnork (talk) 08:34, 1 March 2013 (UTC)Reply

I don't get what exactly you are trying to do, but running Asirra is only supported with the ConfirmEdit version that comes with the addon. --Bachsau (talk) 00:02, 23 April 2013 (UTC)Reply

Standalone ConfirmEdit aging.[edit]

Current version of ConfirmEdit is 1.2; the bundled version is 1.0. - Amgine (talk) 05:48, 8 June 2013 (UTC)Reply

Fatal error: Call to undefined function wfLoadExtensionMessages() in /usr/home/ioncoreweb1/mediawiki/extensions/Asirra/Asirra.class.php on line 26
MW git master. - Amgine (talk) 12:18, 8 June 2013 (UTC)Reply
I hit this error with Extension:Recent Changes Cleanup but our sysadmin solved it by just commenting out the line that calls wfLoadExtensionMessages().
-       wfLoadExtensionMessages('RecentChangesCleanup');
+       //wfLoadExtensionMessages('RecentChangesCleanup');
There's a very high chance that the same will work for Asirra. That function seems to do nothing, and I read that it's being removed from all extensions. Ciaran (talk) 12:48, 8 June 2013 (UTC)Reply
That's because the wfLoadExtensionMessages is no longer necessary. Messages are now loaded automatically. You can simply remove it and the messages will continue to work properly. 17:20, 13 September 2013 (UTC)Reply

Slovenian translation && bugreport[edit]

slovenian translation follows:

$messages['sl'] = array(
	'asirra-desc' => 'Modul Asirra za ConfirmEdit',
	'asirra-edit' => 'Za zaščito pred avtomatiziranim spamom prosimo, da označite samo fotografije mačk:', 
	'asirra-addurl' => 'Vključili ste povezave na zunanje strani. Za zaščito pred avtomatiziranim spamom prosimo, da označite samo fotografije mačk:',
	'asirra-badpass' => 'Za zaščito pred avtomatiziranim ugibanjem gesla prosimo, da označite samo fotografije mačk:',
	'asirra-createaccount' => 'Za zaščito pred avtomatiziranim ustvarjanjem profilov prosimo, da označite samo fotografije mačk:',
	'asirra-createaccount-fail' => "Prosimo, označite samo fotografije mačk.",
	'asirra-create' => 'Za zaščito pred avtomatiziranim ustvarjanjem strani prosimo, da označite samo fotografije mačk:', 
	'asirra-nojs' => '\'\'\'Omogočite JavaScript in ponovno oddajte svoje urejanje.\'\'\'',
	'asirra-failed' => 'Prosimo, označite vse fotografije mačk.',


  • Asirra.i18n is ansi encoded instead of utf8 in 1.21 mw release, also in developement branch of asirra, translations are corrupted
  • Could anyone at microsoft change their api to enable use of querystring parameter ?lng=sl to change the "Please select all the cat photos" to something more meaningful in my language?

MediaWiki 1.21[edit]

You'll need to delete or comment out wfLoadExtensionMessages:


Leucosticte (talk) 05:03, 5 October 2013 (UTC)Reply

Please clarify configuration parameters[edit]

I have Asirra set up and functioning correctly and would like to add the $wgAsirraEnlargedPosition: with "right" parameter. Have been unable to successfully add it to LocalSettings. Help?

Asirra closed down[edit]

Why? I know that all projects eventually end, but a cursory search and the notice on the authors' page didn't really provide any sort of an explanation as to why this project was closed down. It is a pity, it was a pretty good (and funny!) CAPTCHA.

A big thanks to the people that made the project what it is! You have made the Internet for at least a while a crucial bit safer! Pestergaines (talk) 21:34, 10 October 2014 (UTC)Reply

I don't know why Microsoft decided to close Asirra. It's still working at this time but theres no sense in further developing for an unsupported API. I agree with you the concept was great, and maybe I will create a new solution like this, that doesn't rely on Microsofts services. But for now, Asirra in it's current form is dead. --Bachsau (talk) 22:25, 10 October 2014 (UTC)Reply
Hi! I suppose there's no way for me to prove this, but I'm Jeremy, the co-creator and (formerly) sole maintainer of Asirra. The main reason I shut down Asirra was because I left Microsoft last month and there was no one left to maintain it. However, its value was low in any case; image recognition algorithms had dramatically improved since Asirra's original release, rendering it insecure. As I wrote on the project page: "However, enormous progress in machine learning in the years that followed made the problem far more tractable. Kaggle, a web site that hosts data science competitions, created a Cat vs Dog challenge in 2013, using a corpus we provided. The winner, Pierre Sermanet from NYU, achieved an astonishing 99% accuracy using his OverFeat library which extracts features from natural images.". Thanks for supporting Asirra via this extension while Asirra was alive! Jelson25 (talk) 07:14, 25 November 2014 (UTC)Reply