Extension talk:Asirra

Asirra was working fine; I enabled HTTPS on the server and suddenly it doesn't show up
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)

Swedish translation for Asirra
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', ); --213.136.36.18 10:33, 20 March 2012 (UTC)


 * 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)

PHP error: undefined function curl_init
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
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)
 * 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)

Please clarify installation instruction
I don't understand step 2 of installation instructions:

"Extract the archive to $IP/extensions/ directory"

I've installed many extension but have no idea what the " 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)

The  is just an error, it was clearly meant to be , 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)

CaptchaStore.php?
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)


 * 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. 99.63.38.146 02:07, 27 August 2012 (UTC)

Defeated?
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)


 * 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)


 * 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)

Estonian translation of Asirra
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
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)

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)
 * 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)

Standalone ConfirmEdit aging.
Current version of ConfirmEdit is 1.2; the bundled version is 1.0. - Amgine (talk) 05:48, 8 June 2013 (UTC)
 * 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)


 * 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)


 * 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.96.254.175.113 17:20, 13 September 2013 (UTC)

Slovenian translation && bugreport
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.', );

also
 * 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
You'll need to delete or comment out wfLoadExtensionMessages: #wfLoadExtensionMessages('ConfirmEdit'); #wfLoadExtensionMessages('Asirra'); Leucosticte (talk) 05:03, 5 October 2013 (UTC)

Please clarify configuration parameters
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?