Commit graph

5 commits

Author SHA1 Message Date
Roan Kattouw 2df8abceff Adding MIME type to CAPTCHA API result per discussion on wikitech-l. 2008-02-29 21:44:21 +00:00
Roan Kattouw c112c24f54 Modifying ConfirmEdit extension to make it API-friendly:
* 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)
2008-02-28 17:42:23 +00:00
Roan Kattouw ae8beb8dd5 ConfirmEdit: Cleaning up brain-damaged implementation of keyMatch() which expected $wgRequest as an argument only to call $wgRequest->getVal('wpCaptchaWord') and do nothing else with it 2008-01-24 21:42:21 +00:00
Brion Vibber 1f01a38761 don't list Special:Captcha 2007-11-16 20:27:30 +00:00
Tim Starling 152f5e39e0 * Optimised startup
* Use the new EditFilterMerged hook if available, for faster link finding
2007-11-12 07:42:25 +00:00