Simple change to one method, QuestyCaptcha::getCaptcha, that allows to
set questions and answers like so:
$wgCaptchaQuestions = array(
'The capital of England?' => 'London',
'The capital of France?' => 'Paris',
'The capital of Spain?' => 'Madrid',
);
Backwards compatibility with the previous syntax has been preserved.
Change-Id: Ife16bfb4c63864f8bc9117dad15136288564e2b0
* Removed unused globals and local variables.
* Use Message class.
* Remove PHP4-ism from recaptchalib.php.
* Remove superfluous newlines.
* Add missing semi-colon in ext.confirmedit.asirra.js.
* Fix up some documentation.
Change-Id: I8916003d083a8c00aeabc9e485cc9a50030f0982
Fixes:
When trying to open the help page, the following messages appear:
<pre>
Notice: Undefined property: QuestyCaptcha::$storage in
/.../extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68
Fatal error: Call to a member function cookiesNeeded() on a non-object in
/.../extensions/ConfirmEdit/QuestyCaptcha.class.php on line 68
</pre>
Might need to be merged so Extension Distributor can use it?