Commit graph

1506 commits

Author SHA1 Message Date
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
Translation updater bot 9f88cc9cf6 Localisation updates from https://translatewiki.net.
Change-Id: I51a77f613b6586b617286454355782375fbd178c
2015-02-27 21:55:04 +01:00
Translation updater bot 051f758b29 Localisation updates from https://translatewiki.net.
Change-Id: Ideee8e2d8ffc3b2aa0212aef37e0005a7fee68e5
2015-02-26 21:33:10 +01:00
Translation updater bot e84ba518ed Localisation updates from https://translatewiki.net.
Change-Id: I760faf7aa52ab13ee4fb6a8faa52057c601c2080
2015-02-25 22:52:57 +01:00
Translation updater bot 4ef36b423a Localisation updates from https://translatewiki.net.
Change-Id: If199f3f17829e42d106fcdc792a7174dd3d4be93
2015-02-24 21:59:11 +01:00
Translation updater bot 3a6e291125 Localisation updates from https://translatewiki.net.
Change-Id: Ib4d0a4b01660ba8444496a98ccd4f582723ec418
2015-02-23 21:55:11 +01:00
Translation updater bot 7de9ddc211 Localisation updates from https://translatewiki.net.
Change-Id: Ib95d861b4179a9089bfa9e8f15f08454ae9a9364
2015-02-21 23:31:16 +01:00
Translation updater bot d92f9c79d1 Localisation updates from https://translatewiki.net.
Change-Id: Ie1ca71f08eefe4417ba01c9c9e5a1f7af71e5c9b
2015-02-20 22:26:11 +01:00
Translation updater bot 0dcc1dfa19 Localisation updates from https://translatewiki.net.
Change-Id: I25193196d95b414a082ff620b664bc8656df5dcd
2015-02-19 22:05:13 +01:00
Translation updater bot ff546eec9c Localisation updates from https://translatewiki.net.
Change-Id: I7bbf90056227dfc1a1fac234e8495761ec39c2ef
2015-02-18 22:02:04 +01:00
Translation updater bot d53e231745 Localisation updates from https://translatewiki.net.
Change-Id: I34602c5162e583c159b0cea6038277693f31b093
2015-02-17 21:51:18 +01:00
jenkins-bot a8688475db Merge "Blacklist "judea"" 2015-02-13 22:07:33 +00:00
Marius Hoch daecb43d0c Blacklist "judea"
This led to captchas like "toxicjudea"...

https://de.wikipedia.org/w/index.php?oldid=138809576#Antisemitische_Captcha_h.C3.A4ufiger.3F

Change-Id: Ifccd97ebdb71ddad86db348cd48f5187bae6ec2e
2015-02-13 22:56:56 +01:00
Florianschmidtwelzow 52b643e7b4 Disable Captchas in phpunit
There is no need to run tests with enabled Captchas, because these tests
doesn't cover captchas.

Bug: T44145
Change-Id: I52ce63e08a1b71ba92642834c5dfbe3d2149f822
2015-02-11 10:21:28 +01:00
Translation updater bot b51d1af94a Localisation updates from https://translatewiki.net.
Change-Id: Ibc9f47ad6acbd7674818ff1f0c2cdc27a629b946
2015-02-07 21:45:28 +01:00
Translation updater bot 9963cb1117 Localisation updates from https://translatewiki.net.
Change-Id: Ib6cc406dd0228d60cbff77f72709ab3a70cb0c08
2015-02-06 21:04:41 +01:00
Ricordisamoa a8b9140def Add 'license-name' to extension credits matching SPDX conventions
References:
http://spdx.org/licenses/
https://www.mediawiki.org/wiki/Manual:$wgExtensionCredits#license-name

Change-Id: I9faf9e0bdff5783a9a90eb82e61e00a33b199afe
2015-01-29 06:36:44 +00:00
Translation updater bot 3bc68795a0 Localisation updates from https://translatewiki.net.
Change-Id: I1c6b9824a4cefad3f8d8fb8884fffa41255eb290
2015-01-23 22:25:11 +01:00
jenkins-bot da1f50aff4 Merge "Add basic tests for QuestyCaptcha" 2015-01-23 21:03:51 +00:00
jenkins-bot 3710af668b Merge "MWException -> Exception" 2015-01-23 21:03:34 +00:00
Florianschmidtwelzow db92340dbc Hygiene: Set action for createuser and badlogin
CAPTCHA classes should always be possible to detect the actual action,
which triggered the CAPTCHA. E.g. to add special fields in getForm().

Change-Id: Ie95305b2e6dcbf527a23c92613755092185e6a05
2015-01-21 08:19:04 +01:00
Translation updater bot 7ccf70ddd9 Localisation updates from https://translatewiki.net.
Change-Id: I0d27a7e58a51f382927d3867975d695fb13b2d86
2015-01-20 21:57:00 +01:00
jenkins-bot 2ff09eb831 Merge "Captcha.php: modified to add captcha to 'extrafields' in Userlogin and Usercreate" 2015-01-20 19:24:46 +00:00
Translation updater bot 027fac1a78 Localisation updates from https://translatewiki.net.
Change-Id: I2b1746a78af597d727681985eef05b48cc003ae0
2015-01-19 22:01:16 +01:00
Sumit Asthana 2237e2c4ce Captcha.php: modified to add captcha to 'extrafields' in Userlogin and Usercreate
Captcha.php inserts captcha in the header of Userlogin and Usercreate template.
This leads to inconsistent view because js,if enabled, moves the captcha before
submit button. Now the captcha is inserted at the 'extrafields' parameter just
before submit button in both the templates,for uniformity of view.

JS functionality in
resources/src/mediawiki.special/mediawiki.special.userlogin.common.js migrated
to backed in FancyCaptcha.class.php, so that the FancyCaptch is already styled
and positioned before 'submit'.
Depends on I82c68814e79cbc5aa250a308862c59fcbb6fd527
Depends on Ie95305b2e6dcbf527a23c92613755092185e6a05

Bug: T85192
Bug: T87190
Change-Id: If9a68aaee2cf98d63647816ccc8fc0bad12ca3d3
2015-01-19 18:43:50 +00:00
Translation updater bot 2d8804479f Localisation updates from https://translatewiki.net.
Change-Id: Ied12676ffaf704cd9f98513683f8168254634fc4
2015-01-16 21:17:18 +01:00
Translation updater bot b3a5a7fc34 Localisation updates from https://translatewiki.net.
Change-Id: I1402e23df40e08ec17728f89be1e6f1e369b1f49
2015-01-14 22:37:45 +01:00
Ori Livneh ce20b1cef8 MWException -> Exception
Change-Id: I816b62c93e4eb08514b122add614f5457d6fad9a
2015-01-09 17:48:35 -08:00
Translation updater bot b0678d96dd Localisation updates from https://translatewiki.net.
Change-Id: Ia3d6878d91a5442467aa5ec61b25195357ef8d0b
2015-01-09 22:06:41 +01:00
Translation updater bot 0793ec6915 Localisation updates from https://translatewiki.net.
Change-Id: I8df821cee8846f9291e2ead6ce9534188db6bacb
2015-01-06 22:24:01 +01:00
Kunal Mehta 3244e44bd2 Add basic tests for QuestyCaptcha
Change-Id: I799e110ae42cd8cd3dc2276d638039d23149ca37
2015-01-05 14:19:13 +01:00