Happy-melon
54fa154b40
Introduce a CaptchaStore abstract class that CaptchaSessionStore and CaptchaCacheStore can extend. Some tidying, documentation and type hinting.
2011-04-24 11:41:49 +00:00
Happy-melon
1bbd72e5fd
Reorganise files in ConfirmEdit
2011-04-23 11:44:47 +00:00
Happy-melon
f5ce74f85f
Polish off all special-page-by-global-function instances in extensions. The preferred syntax is now exclusively $wgSpecialPages['PageName'] = 'ClassExtendingSpecialPage', where that class has a constructor which calls SpecialPage::__construct('PageName').
2011-04-14 14:39:57 +00:00
Brion Vibber
d1d1b6871f
* (bug 27083) Extension info for Special:Version can include '...' as a special value which is turned into the localized 'others' used for Special:Version author lists.
2011-02-05 00:58:07 +00:00
Mark A. Hershberger
c75ec400a7
followup r81318 & r81312 so that FIXME and revert can live (somewhat) happily
2011-02-02 01:14:41 +00:00
Raimond Spekking
d6adab516d
Revert r81312: PHP Fatal error: Call to undefined function wfMsg() in /www/w/extensions/ConfirmEdit/ConfirmEdit.php on line 43
2011-02-01 20:36:34 +00:00
Mark A. Hershberger
2c169ad09f
followup r81239 fix FIXME
2011-02-01 18:41:37 +00:00
Sam Reed
1cccda834f
Followup r81231, r81229
...
svn:eol-style native
Fix credits
Fix ?>
2011-01-31 09:50:27 +00:00
Yaron Koren
fb60663a5c
Improved comments, created a version number ("1.0", for lack of a better number)
2011-01-31 05:30:34 +00:00
Sam Reed
0324318073
Correct the address of the FSF in extension GPL headers
...
59 Temple Place -> 51 Franklin Street
2010-06-21 13:45:17 +00:00
Siebrand Mazeland
3db4c19909
Replace Title::makeTitle[Safe]( NS_SPECIAL, 'x' ) with SpecialPage::getTitleFor ( 'x' )
...
And a few other minor changes.
2010-06-08 19:30:48 +00:00
Alexandre Emsenhuber
f6b61b4dd6
Big changes to extensions' documentation:
...
* changed all @addtogroup to @ingroup
* added some @file where needed
* changed some @package/@subpackage to @ingroup
2010-06-06 15:12:22 +00:00
Happy-melon
32102375f8
Implement captchas for sending emails via Special:EmailUser.
2010-04-10 21:26:03 +00:00
Siebrand Mazeland
fdc2e20037
* Remove $wgExtensionCredits['description'] where $wgExtensionCredits['descriptionmsg'] present. This feature was introduced in MediaWiki 1.12, and 'description' is not used if 'descriptionmsg' is present.
...
* Random indentation updates and trailing whitespace removed
2010-02-22 23:41:51 +00:00
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