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
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