Commit graph

12 commits

Author SHA1 Message Date
Aaron Schulz 03180f4904 (bug 16025) 'Call to undefined method SimpleCaptcha::showImage()' 2009-01-21 01:25:56 +00:00
Aaron Schulz acdbf7ae1a Search & replace war on old wf* xml functions 2008-12-20 09:32:47 +00:00
Roan Kattouw 0aba2a2783 ConfirmEdit: Fix use of $wgTitle, should fix bug 15420 2008-09-05 14:57:42 +00:00
Brion Vibber f1e64bbca8 * (bug 12142) CAPTCHA group exceptions only apply to edits
Applies the 'skipcaptcha' permission check also to the user creation form.
Patch by Emufarmers - https://bugzilla.wikimedia.org/attachment.cgi?id=5132
2008-08-07 17:05:10 +00:00
Aryeh Gregor 03da9b6796 * Change $wgCaptchaBadLoginAttempts to be inclusive of the first attempt, so that the old default is 1. 0 now really means that 0 bad logins are tolerated before the captcha is displayed, i.e., it's always displayed even with no bad logins. This seems to make more sense (certainly compared to setting it to -1 to always display the captcha).
* Set the default to 3 instead of 1, to be more forgiving of mistyped passwords.  Unlikely to help bots much; quite likely to help blind people who aren't really really really careful typers.
* Commit some whitespace change I had lying around.
2008-07-02 23:09:26 +00:00
Chad Horohoe 21d725024c (bug 13918), make CAPTCHA less obtrusive. Added a new global $wgCaptchaBadLoginAttempts which can be set to allow 1 (or more) failed attempts before triggering the captcha on login. Default is 0 (current behavior). 2008-07-02 15:00:30 +00:00
Brion Vibber 4f1281fc9c * (bug 14154) Captcha domain whitelist regexes now anchored, fixing spammable hole 2008-05-16 19:14:51 +00:00
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