Commit graph

53 commits

Author SHA1 Message Date
Siebrand Mazeland 4a6c4e2bcf * Update messages for QuestyCaptcha
* stylize.php and trailing whitespace removed for ConfirmEdit
* add support for QuestyCaptcha to Translate
* svn execute bits removed
2009-07-19 15:13:01 +00:00
Siebrand Mazeland e43d30d061 Add special page aliases 2009-05-24 09:20:04 +00:00
Shinjiman fb35385650 Follows up r49890, adding file location itself to obtaining the revision number shown in the Special:Version 2009-04-27 03:15:19 +00:00
Chad Horohoe 290c25a814 Big commit. Removing svn-version and svn-date from extensions. Per the list, these versions do not give valuable information and are often wildly inaccurate. 2009-03-26 17:39:49 +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
Raimond Spekking db3cb5c6c4 Add 'svn-revision' and 'svn-date' to extensionCredits where missing for extensions used on WMF servers 2008-06-16 20:54:29 +00:00
Tim Starling f56e5735c8 * Repopulated the previously deprecated $wgAvailableRights
* In WhiteList: made the names of the rights hard-coded, it doesn't make any sense to have them be configurable anymore
2008-05-14 00:38:28 +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
Bertrand Grondin 07a8b9c007 Add internationalization extension description message in [[Special:Version]] 2008-02-04 15:04:47 +00:00
Siebrand Mazeland b0bc51855c revert r28340, r28343 to r28349, r28351, r28364 2007-12-16 18:38:50 +00:00
Siebrand Mazeland e014795e44 * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 10:01:15 +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
Nick Jenkins 0ec1e4e08d eol style native + removing one unused global 2007-10-11 04:38:22 +00:00
Brion Vibber a02a10f239 Add $wgCaptchaWhitelistIP array of IP addresses or ranges allowed to skip the captcha.
From patch http://bugzilla.wikimedia.org/attachment.cgi?id=3868 by andy
2007-07-05 19:48:53 +00:00
Aryeh Gregor def5670e9b Extensions too! 2007-06-29 01:36:09 +00:00
Raimond Spekking 8a7fbce896 Some tweaks per hint of Brion on wikitech-l 2007-06-20 20:54:03 +00:00
Raimond Spekking 3f4919ad58 * URL whitelist added ([[MediaWiki:Captcha-addurl-whitelist]]), uses same syntax as [[MediaWiki:spam-whitelist]] from the SpamBlacklist extension.
Regex building code copied from SpamBlacklist extension.
2007-06-20 10:00:47 +00:00
Brion Vibber 362d7fbf95 copyright year & mail update - testing svn 2007-06-14 16:41:57 +00:00
Brion Vibber 5d072acbb9 Poke the captcha image & help interface specials into $wgWhitelistRead if necessary 2007-05-14 14:23:25 +00:00
Brion Vibber a14d91cde6 Tweak audit hooks 2007-05-08 18:31:32 +00:00
Brion Vibber 3d65c3adaf * Add hooks for captcha in main user login form
* Add hook point for detecting and logging login attempts with invalid password
* Add captcha support for triggering a captcha after a bad password attempt. Legit users shouldn't be inconvenienced much, but password-guesser bots will be severely speedbumped.
2007-05-07 21:54:06 +00:00
Raimond Spekking 2b89cec777 keep separate messages separate 2007-04-25 17:14:29 +00:00
Raimond Spekking 9df08c8ce3 * (bug 9102) Cookie message optional + Es internationalization 2007-04-25 16:52:57 +00:00
Rob Church fa1a661efb Fix incorrect comment 2007-04-09 16:42:18 +00:00
Tim Starling 7efda6cecf Action-specific messages. Don't claim that the user is adding a URL when they aren't. For languages other than English, I copied the old addurl message, better to have an inaccurate message in the right language than an accurate message in the wrong language. 2007-03-29 18:41:40 +00:00
Tim Starling eb45ea62c3 Applied patches by Platonides from bugs 9099 and 9255, with review and minor modifications. Adds "create" captcha trigger and per-namespace settings. 2007-03-29 02:13:34 +00:00
Brion Vibber 985ccb6608 PHP 4 / MW 1.6 compat 2007-02-19 22:26:06 +00:00
Brion Vibber 04cb9b5eb6 Add alternative session storage for captcha data using $wgMemc, if
wgCaptchaStorageClass is set to 'CaptchaCacheStore' (custom classes
are also possible).
Enables use of captchas by anons with cookies disabled, so long as
the object cache system is set up for general caching.
2007-02-19 21:32:16 +00:00
Antoine Musso 3578c26504 Use Doxygen @addtogroup instead of phpdoc @package && @subpackage
This is like r19502 but for extensions.
2007-01-20 15:10:35 +00:00
Ivan Lanin 856d451a63 Add descriptions and urls (if available) for 4 extensions used in Wikipedia:
* ConfirmEdit
* EasyTimeline
* ImageMap
* OAIRepository
2007-01-11 05:36:48 +00:00
Rob Church 00bca3616f Extension credits 2007-01-04 23:11:44 +00:00
Rob Church ac3040e470 (bug 8484) Provide a getMessage() method that individual captcha plugins can use to override the messages for each appearance, refer to a sum in SimpleCaptcha and an image in FancyCaptcha, tweak inefficient message-loading code, possibly something else I forgot 2007-01-04 16:48:53 +00:00
Brion Vibber 51adfd5b2e * (bug 4823) Use full parser to extract URLs in ConfirmEdit checks.
Should work on 1.6 or higher, tested on 1.8 and 1.9
* (bug 8268) Fix regression in ConfirmEdit on 1.8 and higher when
  no parser hook extensions are present, leaving $wgParser stubbed
2006-12-15 10:06:58 +00:00
Brion Vibber 2f8c433911 Revert 15644; extensions need to remain self-contained 2006-07-16 21:43:23 +00:00
Rotem Liss 788769ecbc Using the right restriction parameter - empty string instead of 'false'. 2006-07-16 15:59:25 +00:00
Rotem Liss c5be0b70ce Using the extAddMessages function for all the internationalised extensions. 2006-07-15 18:06:26 +00:00
Rotem Liss 05d01ab923 * SiteMatrix Internationalisation (en + he)
* Fixing spelling errors
2006-07-15 15:17:32 +00:00
Rotem Liss 2dc607d20a ConfirmEdit Internationalisation (en + he) 2006-07-15 14:52:53 +00:00
Tim Starling ed40c74ceb Adding elements to $wgSpecialPages must be done before SpecialPage::initList() 2006-07-03 15:56:15 +00:00
Tim Starling 9f10ce13c2 defer loading SpecialPage.php 2006-07-02 12:49:19 +00:00
Brion Vibber 898bca86b8 Add $wgCaptchaRegexes array; if set, captcha also triggers on new matches
to the regexes contained therein.
2006-06-24 21:26:48 +00:00
Brion Vibber 0ca24a388f Log trigger when all-edits mode is enabled. 2006-02-09 17:46:56 +00:00
Brion Vibber cfd970a513 Rearrange to work with the user account creation form as well as edits.
Requires new hooks just added on HEAD
2006-01-29 07:37:33 +00:00
Brion Vibber a2a6e0afe1 Forgot to clear used captcha info from the session after answering. 2006-01-29 02:25:04 +00:00
Brion Vibber 84c75759a6 adjust logging 2006-01-28 07:24:34 +00:00
Brion Vibber 1ae38fa114 add a whitelist regex for urls to avoid triggering captcha 2006-01-27 11:05:50 +00:00
Brion Vibber 81e2bc3a9c * save each captcha's session data separately, so multiple tabs/windows work 2006-01-27 08:00:32 +00:00
Brion Vibber 8258853051 committing progress so i don't forget to save changes this month
* add some semi-useful help text
* fix tab order when the captcha form comes up
* work with more than 16 image files *cough*
2006-01-27 01:53:10 +00:00
Brion Vibber 181670c968 more short open tags 2005-12-29 17:19:28 +00:00