Commit graph

1434 commits

Author SHA1 Message Date
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
Translation updater bot 46bed60df7 Localisation updates from https://translatewiki.net.
Change-Id: I929aa72dea49efd26bcc5064cbfeec45c03e2b77
2015-01-02 22:32:52 +01:00
jenkins-bot 4af677fcf1 Merge "Show Captcha after click on edit over buttons on EditPage" 2014-12-30 19:54:52 +00:00
Kunal Mehta 5ed7e42d1b Use __DIR__ directly
Change-Id: Ie9f94fc91d3e582d332c3a4f26917b7f3e033ffa
2014-12-30 11:04:51 -08:00
jenkins-bot ebc4667a1b Merge "Improved the QuestyCaptcha syntax for setting questions and answers" 2014-12-30 18:14:50 +00:00
florianschmidtwelzow 7e0651a3c4 Show Captcha after click on edit over buttons on EditPage
Insert Captcha direct after click on Edit over editpage buttons, instead of
show after click on save. If the captcha was incorrect or empty, show
error message at old captcha position.

Bug: 19648
Change-Id: Ia3bb66f98aa84bb6efb7a1e42fbc203b401e99b8
2014-12-24 17:44:07 +00:00
Translation updater bot fb887bc634 Localisation updates from https://translatewiki.net.
Change-Id: I51f4b11545ed9073197d137115949684d812ad15
2014-12-20 22:21:15 +01:00
Translation updater bot 812eb079fe Localisation updates from https://translatewiki.net.
Change-Id: Ib88ce7498a1949a8f5367bbfc3f822ea834722e5
2014-12-18 23:18:24 +01:00
Translation updater bot 0951fc8d20 Localisation updates from https://translatewiki.net.
Change-Id: I77bce0e2f9cd44d90b1670427e07114acec91632
2014-12-16 21:55:59 +01:00
Translation updater bot 436e02f335 Localisation updates from https://translatewiki.net.
Change-Id: I11f557d216c996e2a74d988d5e8dd5d756412d99
2014-12-13 22:28:16 +01:00
Tim Starling 40c7e9c9aa Use the shared parse on API edit
ConfirmEdit was tripling the API save time, because it was parsing the
entire content twice to evaluate whether the addurl trigger is hit.

While I was here, I stopped using the deprecated non-Content hooks. The
new hook, EditEditFilterMergedContent, does not pass an EditPage object,
which means that Title or WikiPage objects need to be passed around
instead. Also, since EditPage::showEditForm() cannot be called with no
EditPage object, use a EditPage::showEditForm:fields hook instead.

If non-wikitext content is edited, assume that the regex trigger is not
hit.

For further architectural details, see the associated core change:
I4b4270dd868a . MW_EDITFILTERMERGED_SUPPORTS_API is a constant
introduced to detect the presence of the associated core change.

Also, in APIGetAllowedParams, set the allowed parameters even if we are
not on the help screen. This allows API users to submit their CAPTCHA
answer without it failing with an "unrecognized parameter" error.

Compatibility with MediaWiki 1.21 is retained, compatibility before that
is dropped.

Change-Id: I9529b7e8d3fc9301c754b28fda185aa3ab36f13e
2014-12-08 10:56:17 +11:00
Translation updater bot d3f89805e7 Localisation updates from https://translatewiki.net.
Change-Id: If228b728ee8046f7e87a60515daf04ce2a337215
2014-12-07 21:52:56 +01:00
Translation updater bot 0d14af907e Localisation updates from https://translatewiki.net.
Change-Id: I30e73ae00d06d1c7c300ec41881259f6965c25a5
2014-12-03 22:26:20 +01:00
Translation updater bot 86b0508778 Localisation updates from https://translatewiki.net.
Change-Id: Ibbaf0b37e7d67a59666262b43c99ce1ecbe8ebe7
2014-12-02 22:03:44 +01:00
Translation updater bot a9447d65a6 Localisation updates from https://translatewiki.net.
Change-Id: I5b0bf50bae33ef1e09c50f331a6c76e1887965c3
2014-12-01 22:20:38 +01:00
Translation updater bot b1c9cf3cf3 Localisation updates from https://translatewiki.net.
Change-Id: I08b38cd817c50b8bf08de85ace0fd296587b1a14
2014-11-30 22:10:00 +01:00
Translation updater bot 3c9093b73f Localisation updates from https://translatewiki.net.
Change-Id: Ib8e3140a1f5cdaa9da751c2a5c71d1af0003ac2d
2014-11-26 22:29:54 +01:00
Translation updater bot d59f393cd4 Localisation updates from https://translatewiki.net.
Change-Id: Iaf16647a24d48b8401d5e228d305308a5bff4d30
2014-11-14 22:22:36 +01:00
Translation updater bot 628cb06e91 Localisation updates from https://translatewiki.net.
Change-Id: Iaf720c65efcd44b9880819025cd339a7c0f7852c
2014-11-11 22:10:40 +01:00
Translation updater bot 62abd58059 Localisation updates from https://translatewiki.net.
Change-Id: I40f611beb6e39c440ead751be57cde9fad9cb84f
2014-11-10 22:07:43 +01:00
Translation updater bot 4d239e5b26 Localisation updates from https://translatewiki.net.
Change-Id: If43165984c7ef894f2ba152e85115a23e10513dd
2014-11-04 23:26:06 +01:00
Brad Jorsch 0532c2257a Add i18n for API module help
MediaWiki core change I04b1a384 added support for i18n of API module
help. This takes advantage of that while still maintaining backwards
compatibility with earlier versions of MediaWiki.

Once support for MediaWiki before 1.25 is dropped, the methods marked
deprecated in this patch may be removed.

Change-Id: I67395aff48185f3e09da31b51a08aa2541fe6a17
2014-10-29 16:37:38 -04:00
Translation updater bot 118bb82537 Localisation updates from https://translatewiki.net.
Change-Id: Ia02d2d90ea1a8ea827b5e78cef35a4e9471b7624
2014-10-28 15:14:42 +01:00