Commit graph

1886 commits

Author SHA1 Message Date
Translation updater bot 8f70ad8748 Localisation updates from https://translatewiki.net.
Change-Id: I4ce96bfffe73748ccea547784ff1bb1ac97d5644
2015-04-27 22:12:00 +02:00
Florianschmidtwelzow b6595ec2d9 Use same visibility for passCaptchaLimited() as for passCaptcha()
Needed for Flow, e.g.

Change-Id: I46563068c7c0ebe1747d5e24457ca6ccd3a09325
2015-04-27 08:28:40 +02:00
Translation updater bot 8500d8efc3 Localisation updates from https://translatewiki.net.
Change-Id: I73d955e759ed78ff3e5e9f082622149e058412fd
2015-04-26 22:28:46 +02:00
Translation updater bot a1e8fa010a Localisation updates from https://translatewiki.net.
Change-Id: Iafeeb55a19e22e47d68eb2cf1486d9fb995e0ff7
2015-04-25 23:00:38 +02:00
Translation updater bot 85bf4efdfc Localisation updates from https://translatewiki.net.
Change-Id: I7ea55e61e277c0c80423050206a7007494cb6f5a
2015-04-19 21:20:36 +02:00
Translation updater bot a1773b08f0 Localisation updates from https://translatewiki.net.
Change-Id: Ie30f0db45b97450fde6b1d6eaf62388adae5c1c5
2015-04-19 00:18:02 +02:00
Translation updater bot 82b7f56f0e Localisation updates from https://translatewiki.net.
Change-Id: I807d2900851aeb6d577c86e566df9b4995905e2d
2015-04-17 22:20:29 +02:00
Translation updater bot b7e06dac79 Localisation updates from https://translatewiki.net.
Change-Id: I29136b89a30609cf120170ac13ba75a016f4039b
2015-04-14 22:32:34 +02:00
Translation updater bot d3fb0c90d4 Localisation updates from https://translatewiki.net.
Change-Id: I89abd4125cc76d006e9d32e46ddae8cda2626ca0
2015-04-13 22:31:28 +02:00
Translation updater bot 549ceb1414 Localisation updates from https://translatewiki.net.
Change-Id: Ie906d4718dfe882810b4b2dcfa352c091c2a3b61
2015-04-12 21:51:14 +02:00
Translation updater bot 220581b7c0 Localisation updates from https://translatewiki.net.
Change-Id: I5e33f2b1d99092b0cf088b332c617612ebed1a3d
2015-04-11 21:29:51 +02:00
Translation updater bot d041c2f488 Localisation updates from https://translatewiki.net.
Change-Id: Iccecefcacf4342eab12f9a6b2b2d0369f9d6be91
2015-04-10 21:46:04 +02:00
Translation updater bot 00e2b941ad Localisation updates from https://translatewiki.net.
Change-Id: I500b6fb248063c2d19a1dea90f107f8289efc441
2015-04-09 19:29:18 +02:00
Translation updater bot a473f1389b Localisation updates from https://translatewiki.net.
Change-Id: Ief9945cbe6e86233c5935a6ffc0b819e636765a6
2015-04-08 21:28:10 +02:00
Translation updater bot 84c1b375ed Localisation updates from https://translatewiki.net.
Change-Id: I4c34b8f6d296ba9352eeeacd7a82f6ad1e2c6299
2015-04-06 21:41:56 +02:00
Translation updater bot e1a6d1aca3 Merge "Localisation updates from https://translatewiki.net." 2015-04-03 19:35:25 +00:00
Translation updater bot bb729c3558 Localisation updates from https://translatewiki.net.
Change-Id: I60d7423f81e338294b2d8dfc46d8ea71e2ddf2eb
2015-04-03 20:58:06 +02:00
Chad Horohoe 494c807cf4 Remove undefined $user variable
findLinks() doesn't have a third parameter and an undefined one
wouldn't be all that useful even if it did.

Change-Id: I250b558d7b97a6355b3d86b71b3a37399b3c6eb0
2015-04-03 11:15:43 -07:00
Roan Kattouw 12ac8eeec6 Follow-up 804903b4a7: fix overlooked usage of removed $context var
Change-Id: Id4798364d4d6dc2153034c3a56d16b7cc8d89641
2015-04-02 18:23:03 -07:00
EBernhardson 804903b4a7 Revert "Getting rid of some globals"
This broke account creation for apps.

 <   anomie>bd808: Very likely $wgRequest !==
               $loginForm->getContext()->getRequest() in SimpleCaptcha::addNewAccountApiForm(), so when it
               uses $wgRequest to check later on it doesn't see the parameter renames made by that hook
               function.

This reverts commit 23c6f2f04f.

Change-Id: I793e7a987944d14c3be0eba4c4361793183a62b9
2015-04-02 16:36:13 -07:00
Translation updater bot 97cdb76a57 Localisation updates from https://translatewiki.net.
Change-Id: Ic45cc7e5453a86430b7d19abfcfbcf847cf2c47b
2015-04-02 21:22:20 +02:00
Florian 04903530a0 Fix passCaptcha() when using it twice in one session
The captchaId will be deleted, so a second call to SimpleCaptcha::passCaptcha() will
be always false, even if the User solved it correctly.

Bug: T94276
Change-Id: I2bc7766c023d7bd3a6c471f83b87ef0f09cbfaea
2015-04-02 18:42:33 +02:00
Translation updater bot 542ff33de0 Localisation updates from https://translatewiki.net.
Change-Id: I548d70fc5c0de347732f2969d998edbca6c433fb
2015-04-01 22:32:05 +02:00
Translation updater bot b55dc87947 Localisation updates from https://translatewiki.net.
Change-Id: Iaff4ae53e9621397250d6aeb49f72bfd7e8fce56
2015-03-29 14:58:12 +02:00
Erik Bernhardson f02b2c2c97 Allow previous revision text to be explicitly provided
Bug: T93956
Change-Id: Ifc93cbaaf900daa74dfe3ddbf22b4971449a8f40
2015-03-25 15:49:13 -07:00
jenkins-bot 0e56e98db5 Merge "Avoid master queries on edit form views" 2015-03-25 21:43:31 +00:00
Translation updater bot 4a8f3acf1f Localisation updates from https://translatewiki.net.
Change-Id: I94af38fea632be81c6485cbf35a456d744d0c7d1
2015-03-25 22:17:24 +01:00
Aaron Schulz 908ea3bf8c Avoid master queries on edit form views
Bug: T92357
Change-Id: I5e0e76d2d052a9769a3fb88ae7a34de878e06e48
2015-03-25 13:24:43 -07:00
Translation updater bot fc4e05c552 Localisation updates from https://translatewiki.net.
Change-Id: I4f391ade6718de341a3bd1bcea7884d897b55cae
2015-03-24 22:22:29 +01:00
EBernhardson 84ad17c07e Merge "Getting rid of some globals" 2015-03-24 15:38:11 +00:00
Translation updater bot c4695f4669 Localisation updates from https://translatewiki.net.
Change-Id: Ibb634aec0d3a96a6a108f820a2de4fd3954f94e4
2015-03-23 21:48:51 +01:00
Translation updater bot 5338062230 Localisation updates from https://translatewiki.net.
Change-Id: If41492b1557ac6c157d2fe07b482015eed2c5288
2015-03-20 21:31:25 +01:00
Translation updater bot 1d7e8ec57a Localisation updates from https://translatewiki.net.
Change-Id: I0584083c054ead67049959472e98acd22c8d4335
2015-03-19 21:10:45 +01:00
jenkins-bot 38a7851b9e Merge "FancyCaptcha: Don't return status code 500, if no server error" 2015-03-19 18:14:18 +00:00
Translation updater bot b69ef5444f Localisation updates from https://translatewiki.net.
Change-Id: I8d05d43b46ca364fd354b15a316a6b9b047619a2
2015-03-18 16:00:53 +01:00
Florianschmidtwelzow b6c22b0e02 FancyCaptcha: Don't return status code 500, if no server error
A missing captchaId usually isn't a server error, it's a request error, so return
an appropriate status code (400).

Bug: T92827
Change-Id: Ia04da583858a8450b8445ad69bc1ef2b7d05f061
2015-03-18 07:58:08 +01:00
Translation updater bot 9410657977 Localisation updates from https://translatewiki.net.
Change-Id: Icb7a0b1e8f73a46714ca2de4017423f313a6acb5
2015-03-16 21:55:24 +01:00
Translation updater bot 565a1bb70f Localisation updates from https://translatewiki.net.
Change-Id: I1a0dcef850bc274ca18a402912eedfbd1ca828ca
2015-03-15 21:48:25 +01:00
Translation updater bot 1093c5b87d Localisation updates from https://translatewiki.net.
Change-Id: Ia185d2b0ff6fc78442885d3865cb010809f551ae
2015-03-14 21:32:19 +01:00
Translation updater bot a27aa8bfae Localisation updates from https://translatewiki.net.
Change-Id: Ic609d302bb82e781d7be2e3ad3d16c57c8db71bb
2015-03-13 22:32:37 +01:00
Translation updater bot 3ced39f6a3 Localisation updates from https://translatewiki.net.
Change-Id: I6bccfe6e2cae44afcd361af8931b4fe3d9c717b1
2015-03-12 21:25:26 +01:00
Translation updater bot 33f3166d15 Localisation updates from https://translatewiki.net.
Change-Id: Ifc402086a92a567742fa9e3610f5f5f3240aecc9
2015-03-11 22:12:54 +01:00
Translation updater bot 0b59971461 Localisation updates from https://translatewiki.net.
Change-Id: I087df94bd9c22f7ef7d51a503d46bca737d80636
2015-03-10 22:31:53 +01:00
Florianschmidtwelzow 23c6f2f04f Getting rid of some globals
wgUser/wgOut/wgRequest shouldn't be used, if there is a context available.

Change-Id: Ife4fca8ecf03780046634f5871192f6380291c10
2015-03-10 09:52:45 +01:00
Florianschmidtwelzow 7559502822 Add RateLimit check for false CAPTCHAs
Added a check for 'badcaptcha' ratelimit. This enables administrators
to limit users trying to solve captchas just by playing around.

By default there is no ratelimit set, it has to be set explicitly in
LocalSettings.php.

Bug: T48292
Change-Id: I8fc66f9884288c4596b8b4045010cdaa421a1412
2015-03-09 00:22:56 +00:00
Translation updater bot fb921742c2 Localisation updates from https://translatewiki.net.
Change-Id: Iadd28dbc950ed4e4bf233710a9f2728b11a9ec58
2015-03-08 21:43:28 +01:00
Translation updater bot 654e209968 Localisation updates from https://translatewiki.net.
Change-Id: If48525279e1c712de4a7056728a9bc93eed355fb
2015-03-05 22:19:47 +01:00
Brad Jorsch 07b873532e Avoid parsing text for links in EditPageBeforeEditButtons hook
The code for the hook is passing in an empty new-text, so there's no
point in parsing that and the existing page text for links.

We pass false to shouldCheck's $isContent parameter (and an empty string
for $content) because getting a Content would break compatibility with
1.21, which we specifically preserved in I9529b7e8.

This also kills two entirely-unused parameters to the recently-added
SimpleCaptcha::editShowCaptcha().

Bug: T88661
Change-Id: Ie8a2d4da4c5bf0dcc8977172debbeb5913b56191
2015-03-05 19:24:08 +00:00
Translation updater bot db9308bb76 Localisation updates from https://translatewiki.net.
Change-Id: I8a38856394ee64f11999c849042c78b55ea60a80
2015-03-01 22:03:18 +01:00
Translation updater bot 05be729ca1 Localisation updates from https://translatewiki.net.
Change-Id: I4b13b6902227970f41c01971e8fe3a29fa41c5a5
2015-02-28 22:04:22 +01:00