This adds HTML, CSS, and JS to FancyCaptcha output to refresh the image,
which requests it via a new fancycaptchareload API.
It also cleans up the Asirra class a little.
Bug: 14230
Change-Id: I4e476f32de199534c9798fc78e8490b3ef91dd45
* Added $wgCaptchaFileBackend configuration setting.
This causes captchas to be stored in the registered backend.
* Added $wgMemc usage to reduce directory operation I/O.
* Improved $wgCaptchaDeleteOnSolve in terms of race conditions.
* Added maintenance script to create and store new captchas based
on the total amount desired and the current number remaining.
Change-Id: Iac490503fb94a8f003e3b7e1474a949b037af5df
Warning: mt_rand() [<a href='function.mt-rand'>function.mt-rand</a>]: max(-1) is smaller than min(0) in /usr/local/apache/common-local/php-1.20wmf10/extensions/ConfirmEdit/FancyCaptcha.class.php on
line 135
Change-Id: I344504c133c84aea24ce38a4a4c05c2a0c12041b
* 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
Every field should have a descriptive label to clarify what is expected
to be entered.
Though users who are using screen readers are not able to retype the
text shown by the captcha image at least they know what the application
is expecting and may get help from other people.
The label text is also added to the translation arrays for English and
German language as well as the descriptive array 'qqq'.
Removed trailing whitespaces and redundant internationalization
according to reviewer's comment.
Removed usage of global $wgOut;
Change-Id: I975dddb60891b162a62e547bb83669c13cb133a1
* Hooking into the APIEditBeforeSave hook (which will appear in the ApiEdit_Vodafone branch in the next revision)
* Moved general CAPTCHA generation in SimpleCaptcha to getCaptcha()
* Moved general confirmEdit() functionality to doConfirmEdit() to facilitate differtiating between UI and API handling
* Adding SimpleCaptcha::addCaptchaAPI() method that adds CAPTCHA information to an API result array. Other CAPTCHA implementations should override this method with a function that does the same (did this for FancyCaptcha and MathCaptcha)