Commit graph

1512 commits

Author SHA1 Message Date
jenkins-bot 7a89c4fd8c Merge "Move ReCaptcha to it's own place" 2015-05-23 08:01:44 +00:00
jenkins-bot aec5fdd564 Merge "Move MathCaptcha to it's own place" 2015-05-23 07:59:28 +00:00
Aaron Schulz 35621d18a4 Removed unused $wgExtensionAssetsPath var
Change-Id: Iad5b2cec0fb57c08f3218a45337b8d052661fb4c
2015-05-21 23:21:35 -07:00
Translation updater bot 042adb7f2a Localisation updates from https://translatewiki.net.
Change-Id: Ia6bd4dd308c1a9a9ac17d873fec9ce39a626876f
2015-05-21 22:51:05 +02:00
Florian dc727507ea Move ReCaptcha to it's own place
Bug: T88047
Change-Id: I6cdb9ac1d21c84fc9b01cd90b9cba4aa3db1eccc
2015-05-21 19:08:12 +02:00
Florian 23766bee10 Move MathCaptcha to it's own place
3a. step before using ExtensionRegistration.

Bug: T88047
Change-Id: I809f1105ce3c7f5a6a2be7ebc6565c5187b7a76d
2015-05-21 19:02:34 +02:00
Florian cad5bc9200 Move FancyCaptcha to its own location
3. step in preparation of ExtensionRegistration.

Bug: T88047
Change-Id: I31d8e0c01b16aafb39b4ead7acc88f2e91d33e6a
2015-05-21 16:19:38 +00:00
Florian 4d56806849 Fix Hook function should be static
Follow up: Ifcac2ad0d7

Change-Id: I39257712623beb48270fe01e5a41f510586d5dc0
2015-05-21 18:08:41 +02:00
Florian 806c8862df Clean up ConfirmEdit.php entry point and move common files to common places
2. step to use ExtensionRegistration

Bug: T88047
Change-Id: Ifcac2ad0d792a05c391ca1776824e05ab703d5cf
2015-05-21 17:49:13 +02:00
Florian bd5c5d494e Move i18n to Captcha modules own directory
1. change in preparation for ExtensionRegistration.

Bug: T88047
Change-Id: Ia3b84d3cb71832749ae73774dadb292dc4b9157b
2015-05-21 17:32:51 +02:00
Translation updater bot 129ee6328e Localisation updates from https://translatewiki.net.
Change-Id: Iaa061ead1f3b4e2927904859c3647cfadbf192f1
2015-05-20 22:09:38 +02:00
Translation updater bot 199b4d9a73 Localisation updates from https://translatewiki.net.
Change-Id: I30ccb850d1720f3afa12518e03ba4141324d721c
2015-05-19 22:23:04 +02:00
Translation updater bot d8574e53d7 Localisation updates from https://translatewiki.net.
Change-Id: Iee14d93ff50b451e48553285d2cd33e72f990a7b
2015-05-18 22:13:20 +02:00
Translation updater bot 8e4af38cab Localisation updates from https://translatewiki.net.
Change-Id: Ibbbe35041f10fb55590dd4122809dbb663a9cb7d
2015-05-17 22:04:27 +02:00
Translation updater bot 094770d55d Localisation updates from https://translatewiki.net.
Change-Id: Ie15023dec49f172bfc136bbc0c86e88dca5057a7
2015-05-15 21:38:35 +02:00
Translation updater bot d84dcb7f36 Localisation updates from https://translatewiki.net.
Change-Id: Ic9cd551d17d704500071e6bf6e3dbc47dd634725
2015-05-12 22:14:51 +02:00
Translation updater bot 5ecae05dad Localisation updates from https://translatewiki.net.
Change-Id: Iec68c4f11eec35cbc0c0a567d250a1c875da9b6f
2015-05-09 21:47:36 +02:00
Florianschmidtwelzow 779db5aa72 Revert wrong error message and CAPTCHA handling on EditPage
Change Ia3bb66f98aa84bb6efb7a1e42fbc203b401e99b8 added a stupid implementation
for giving an error message when the CAPTCHA wasn't solved correctly, or
if a CAPTCHA trigger was triggered after the first "Save" click (e.g. "addurl").

Revert this implementation here to not confuse people.

Follow up: Ia3bb66f98aa84bb6efb7a1e42fbc203b401e99b8

Bug: T86454
Change-Id: I92956a119897f16f45a4140a98163c97e5b6bbb2
2015-05-08 20:51:59 +00:00
Florian c878fb875e Don't assume, that IContextSource::getWikiPage() always returns a WikiPage object
It could be possible, that the EditFilterMergedContent hook is called from a context,
where no WikiPage is possible (e.g. in Special NS). Check for this situation and
abort with a debug message, if no WikiPage is available.

Bug: T48342
Change-Id: I5305b89817f4c25eb7c3cbb6ee65a4a1f77205b8
2015-05-07 23:24:02 +02:00
Translation updater bot f7f4a915aa Localisation updates from https://translatewiki.net.
Change-Id: I4f32c923521ffb0cde5809cc85974952642a026d
2015-05-06 21:58:58 +02:00
Translation updater bot d4d946420c Localisation updates from https://translatewiki.net.
Change-Id: I9ca188b580765a896b9037fa761e0465f028b2f5
2015-05-05 22:39:47 +02:00
Translation updater bot afa9021f91 Localisation updates from https://translatewiki.net.
Change-Id: Icd413f111cb1543a4b5b1a8e34f6094cd206a557
2015-05-01 22:01:30 +02:00
Translation updater bot 2a3f52761e Localisation updates from https://translatewiki.net.
Change-Id: I2d5d33025b6dd7324c36833620b7d560aee6ea01
2015-04-28 21:24:46 +02:00
jenkins-bot 007cc96576 Merge "Explicitly define module position" 2015-04-28 13:49:39 +00:00
Gilles Dubuc 74a84b8acf Explicitly define module position
Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: I1604dbb0108b790d54cab9665fa160a000797b40
2015-04-28 15:42:03 +02:00
jenkins-bot 902eeaf7ec Merge "Use same visibility for passCaptchaLimited() as for passCaptcha()" 2015-04-28 01:12:33 +00:00
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