Commit graph

195 commits

Author SHA1 Message Date
Translation updater bot 8007e3fce0 Localisation updates from https://translatewiki.net.
Change-Id: Ia75576f1bd333505fa4f13752e7bbd7377439693
2019-04-30 22:17:47 +02:00
Translation updater bot 0388ba4f9b Localisation updates from https://translatewiki.net.
Change-Id: I79178d9b4d2b843726c7258b494403bf14e530b7
2019-04-12 08:31:47 +02:00
James D. Forrester 9ef3132dce build: Upgrade eslint-config-wikimedia from 0.10.1 to 0.11.0
Change-Id: I1e6c500b8a79f8d01b3050dabdece36e77d17706
2019-04-03 15:54:28 -07:00
Translation updater bot d5556702c4 Localisation updates from https://translatewiki.net.
Change-Id: I3db54a204bdb764d9a3b4dc078a67c30ee983819
2019-03-23 10:22:37 +01:00
Translation updater bot 82c0962bc2 Localisation updates from https://translatewiki.net.
Change-Id: I1db0e8f6ddc27c77c316bfcccf6f3a3c01e5eaf4
2019-02-21 22:20:52 +01:00
Ed Sanders 28cb4a71da build: Update eslint-config-wikimedia to 0.10.1
Change-Id: I78b2a1c233c97af39e1c8f8fd9d839d0ffc4936e
2019-02-10 15:44:37 +00:00
libraryupgrader 87715809bb build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: I4650b34b2c6d18cae2bf4650aaf423810fb96457
2019-02-06 12:04:20 +00:00
Bartosz Dziewoński 8f9215deb9 Add mobile target to VE plugin modules
Bug: T213774
Change-Id: I99242bda4e09fec2dfabb2695bf82064cfc48fd7
2019-01-15 01:05:29 +01:00
Translation updater bot c04e889ee6 Localisation updates from https://translatewiki.net.
Change-Id: I67661f751fda513d1edacacc5c0bfb0bd833e4fa
2019-01-13 22:12:53 +01:00
Translation updater bot 2af9163b7f Localisation updates from https://translatewiki.net.
Change-Id: I53a7a4578c8f1b4e778a2de0b66669a79b6d8858
2019-01-09 22:18:46 +01:00
Translation updater bot 848c0ff036 Localisation updates from https://translatewiki.net.
Change-Id: Id0f371f428fb768caf75754ca03a68fd3aed2dcc
2019-01-08 22:29:33 +01:00
Translation updater bot 463b8ec4e5 Localisation updates from https://translatewiki.net.
Change-Id: I23866ec4b898b14902f5b4dc7bd8150286f29240
2019-01-05 22:33:39 +01:00
jenkins-bot 173619f525 Merge "ConfirmEdit: Support No CAPTCHA reCAPTCHA" 2019-01-04 15:39:46 +00:00
Translation updater bot d6d5676431 Localisation updates from https://translatewiki.net.
Change-Id: Ic3094c839d85706ac1f3b797f0a49f5c0e7ab10d
2019-01-03 22:52:10 +01:00
Nouman Saleem e614050b6a ConfirmEdit: Support No CAPTCHA reCAPTCHA
Extend Captcha save error handler to verify user using
noCaptchaReCaptcha.

Bug: T203478
Change-Id: Ia5438bba6ff797dee822caf7664b911f01684744
2019-01-03 19:40:41 +00:00
Umherirrender f482ff5a19 Add description message to be shown on Special:Version
Each submodule of ConfirmEdit should be shown on Special:Version as
FancyCaptcha does on Wmf-Wikis

Change-Id: If34cfe8cfd722f6655099629e313c42239585acf
2018-12-31 16:22:57 +01:00
Translation updater bot 7cc2ff1ae0 Localisation updates from https://translatewiki.net.
Change-Id: I65d98afdb2cb1f0672759dbc180a023ae6b74d69
2018-12-17 22:19:09 +01:00
Translation updater bot fdb21fbb0b Localisation updates from https://translatewiki.net.
Change-Id: I4195f7babe99a4ec7dd336d6af4b22632ce6dfc3
2018-12-14 22:21:39 +01:00
Translation updater bot 51d6485d56 Localisation updates from https://translatewiki.net.
Change-Id: I864f3bb199c348e99c8f31cf8a4f0bc1085e8d64
2018-12-12 22:18:29 +01:00
Translation updater bot 7951ce701e Localisation updates from https://translatewiki.net.
Change-Id: Iab92a54e94fd3a7fe7c49bc855e48f00da36ba68
2018-12-09 22:38:58 +01:00
Translation updater bot f8fedf3541 Localisation updates from https://translatewiki.net.
Change-Id: Ib006a8605192d38eae1b046030751bf29cac7ba4
2018-12-07 22:21:32 +01:00
Translation updater bot 1cb71809bd Localisation updates from https://translatewiki.net.
Change-Id: Ice9d9549c1e90f45b0d858937e922a0cecdf9cd1
2018-12-06 22:31:58 +01:00
Translation updater bot 1e02c431e7 Localisation updates from https://translatewiki.net.
Change-Id: I6bb76ec82bb0cf8b4af5e65b44edfabd5d16a287
2018-11-05 22:24:24 +01:00
Translation updater bot fd7d7a7c1d Localisation updates from https://translatewiki.net.
Change-Id: I5bc27b0723701dcde5c70b613298532930b9a1d5
2018-09-03 22:15:05 +02:00
Translation updater bot 9a8702aa6e Localisation updates from https://translatewiki.net.
Change-Id: I4b6d5a2222e94ab29fe147a6b7350d0df85d813c
2018-08-27 22:16:32 +02:00
Max Semenik 5b7a36a521 Clean up some phpcs problems
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
2018-07-12 23:13:58 +00:00
Translation updater bot dfcc882065 Localisation updates from https://translatewiki.net.
Change-Id: Ifa824d62f2b09723808b5b05e0fe205407fbb662
2018-04-30 22:21:57 +02:00
Translation updater bot 2b179980ee Localisation updates from https://translatewiki.net.
Change-Id: I1cf33f21b0e96f09c5fa7906197cb34874b0f3b3
2018-04-13 22:12:47 +02:00
Translation updater bot 8fff081fa7 Localisation updates from https://translatewiki.net.
Change-Id: Id520c276c27897112994a6a12b4a696956fcc526
2018-03-19 22:19:04 +01:00
Translation updater bot 5566a6492c Localisation updates from https://translatewiki.net.
Change-Id: Ib476caceab613c9c435e4c438efe1a595d8cc7da
2018-03-13 22:23:20 +01:00
Translation updater bot 95549f922c Localisation updates from https://translatewiki.net.
Change-Id: Ia1dcb5075a14ae4281fe2edf0cc85e8b99b6fffd
2018-01-15 22:24:59 +01:00
Umherirrender 1254022153 Improve some parameter docs
Change-Id: Idce2db0b489c19ec9b936cfc4ced3792e6f9711d
2017-09-24 12:14:11 +00:00
Translation updater bot 119975ef1a Localisation updates from https://translatewiki.net.
Change-Id: I382c0df2c1472cf911db7e1a9f12038a80d7f607
2017-07-10 22:34:11 +02:00
Translation updater bot f3702bf8fb Localisation updates from https://translatewiki.net.
Change-Id: If7d90dcdaa5288549b7f571de4c8767ea4011865
2017-06-28 22:44:33 +02:00
Translation updater bot ff15eafcca Localisation updates from https://translatewiki.net.
Change-Id: I34124616e8196b1291259aa73e6a1411229f99bb
2017-06-25 22:55:48 +02:00
Translation updater bot 574e2da664 Localisation updates from https://translatewiki.net.
Change-Id: I339eff851c336423925dcb0a4d6c1f8736f299f2
2017-06-05 22:55:04 +02:00
Translation updater bot b653a9d49e Localisation updates from https://translatewiki.net.
Change-Id: I7839eae607feed662f93e7ba4d7ef409a55cea9e
2017-06-03 22:28:31 +02:00
Translation updater bot 86c36d4b34 Localisation updates from https://translatewiki.net.
Change-Id: Ib376ef65503c42b8f98c04af9560b7f2f5842d85
2017-06-01 22:53:17 +02:00
Translation updater bot 6303a1853a Localisation updates from https://translatewiki.net.
Change-Id: I45b7bbfa9b6387e48bdb011b2ebd7be1202764e4
2017-04-04 22:37:16 +02:00
Reedy 33f0462f22 Param docs and type hints
Change-Id: I848133a979c4e3277e0187a67c4ebcf4098e9446
2017-02-17 13:26:54 +00:00
Translation updater bot 771f2aca8d Localisation updates from https://translatewiki.net.
Change-Id: I2e62e1424b14b5ecf95e8a494c13b37d8199f82b
2017-01-01 09:53:40 +01:00
Translation updater bot 53db284886 Localisation updates from https://translatewiki.net.
Change-Id: Idd11f71a0292a2a949b1b5c6988d430d37c55ee2
2016-11-20 22:13:52 +01:00
Translation updater bot 34ca10b76a Localisation updates from https://translatewiki.net.
Change-Id: I6a5f83791beedfdbc4e96c0eb6d3b45bc60ba914
2016-10-29 22:39:58 +02:00
Translation updater bot 0f32ed0f23 Localisation updates from https://translatewiki.net.
Change-Id: I24a46864bd754bf1bfe85cd595d21feaf7934f15
2016-10-17 22:31:09 +02:00
Translation updater bot 5f421b2c4d Localisation updates from https://translatewiki.net.
Change-Id: I61449d21babaff77917096a5913808530bdfcd5e
2016-10-15 23:00:11 +02:00
Translation updater bot 68a2d014fd Localisation updates from https://translatewiki.net.
Change-Id: I82894052c4e02a5a3a18ce99f92c6ce11df3cabb
2016-10-10 22:26:05 +02:00
Translation updater bot c73e887089 Localisation updates from https://translatewiki.net.
Change-Id: I7cc67f11274c6eca5e94c2ca302eb1b75ca70784
2016-10-09 22:46:09 +02:00
Brad Jorsch ac97e69999 Remove pre-1.25 API compatibility code
Since this extension uses extension.json, it already requires 1.25+ so
no need to keep the old code around.

Change-Id: I31b96b0939d5321be31889422cfc703c9c6c2baa
2016-09-20 15:32:05 -04:00
Translation updater bot 1b5df776e3 Localisation updates from https://translatewiki.net.
Change-Id: Ifa58bcd2b7a4b67dee5918217d4efe7bde052599
2016-09-04 22:27:30 +02:00
Translation updater bot 87dd029422 Localisation updates from https://translatewiki.net.
Change-Id: I921a063904001b57339f61f1b2a2de3b02f94216
2016-08-29 22:34:42 +02:00
Florian Schmidt 38711ed591 Fix mime type of ReCaptchaNoCaptcha
Follow up: I0da671a546700110d789b79a3089460abd9cce3b

Change-Id: I391cc8a80bc228cd0ce55331aea2c4329a97704c
2016-08-21 15:14:57 +02:00
Translation updater bot 2a9245bb2b Localisation updates from https://translatewiki.net.
Change-Id: I7d48b52ebe6b0803dd0eb34166f742d23a70e716
2016-08-16 22:41:01 +02:00
Florian e566dcb966 Remove getForm() and replace by getFormInformation()
This commit removes SimpleCaptcha::getForm() and replaces it by its more informative
counterpart getFormInformation(), which returns an array, which provides some
more information about the form than only the html.

The information included in the array is:
 * html: The HTML of the CAPTCHA form (this is the same as what you expected from
   getForm() previously)
 * modules: ResourceLoader modules, if any, that should be added to the output of the
   page
 * modulestyles: ResourceLoader style modules, if any, that should be added to th
   output of the page
 * headitems: Head items that should be added to the output (see OutputPage::addHeadItems)

Mostly you shouldn't need to handle the response of getFormInformation() anymore, as there's
a new function, addFormToOutput(), which takes an instance of OutputPage as a first parameter
and handles the response of getFormInformation for you (adds all information to the given
OutputPage instance, if they're provided).

Bug: T141300
Depends-On: I433afd124b57526caa13a540cda48ba2b99a9bde
Change-Id: I25f344538052fc18993c43185fbd97804a7cfc81
2016-08-04 01:45:13 +00:00
Translation updater bot a94992e253 Localisation updates from https://translatewiki.net.
Change-Id: If26e3d148017245c67097dfd191fbe1cd0c5abcb
2016-07-25 22:23:07 +02:00
Translation updater bot 83a1b99c14 Localisation updates from https://translatewiki.net.
Change-Id: I4bd03abeae47f7effaf1f40657501abec22335dd
2016-06-16 22:25:56 +02:00
Translation updater bot 079fdb2991 Localisation updates from https://translatewiki.net.
Change-Id: I03d9ac806ca25b8112adc44b27d3c267d4b44fc0
2016-05-28 22:16:52 +02:00
Translation updater bot 9f650aec81 Localisation updates from https://translatewiki.net.
Change-Id: I3d38817ffc890635e37876d7ee2e16deaaf0c720
2016-05-20 22:25:58 +02:00
Translation updater bot 900940d44e Localisation updates from https://translatewiki.net.
Change-Id: I11505d7cf59a46d83eaf9c48b1ed3ae27e89ea46
2016-05-19 23:07:43 +02:00
Translation updater bot d553b17df3 Localisation updates from https://translatewiki.net.
Change-Id: I8e528e2f0dd8bceac9cbc26253aaeed893c98a19
2016-05-17 22:20:50 +02:00
Gergő Tisza f97212acbf Expose equivalent functionality for passCaptcha
passCaptcha was made protected in I0da671a546700110d789b79a3089460abd9cce3b,
but some other extensions used it, provide passCaptchaFromRequest as a
replacement.

Bug: T135477
Change-Id: I47b2e2fbe3e063cd86e8a2d6bc17ca939472dbe1
2016-05-17 18:29:43 +00:00
Gergő Tisza 3e3b91b527 Add AuthManager support for ReCaptcha, ReCaptchaNoCaptcha
Also remove references to "two words" from ReCaptcha labels.
The captcha image doesn't always contain two words.

Bug: T110302
Change-Id: I544656289480056152a1db195babb6dadf29bc71
2016-05-16 09:51:11 +00:00
Gergő Tisza 31c59374a4 Add AuthManager support to SimpleCaptcha, QuestyCaptcha, FancyCaptcha, MathCaptcha
Also update MathCaptcha so that it works with recent versions of
Math (and breaks with old ones). Also fix MathCaptcha API output,
which used to send the question in plaintext.

Bug: T110302
Change-Id: I0da671a546700110d789b79a3089460abd9cce3b
Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
2016-05-16 09:50:25 +00:00
Kunal Mehta 9ea898ba2a build: Updating mediawiki/mediawiki-codesniffer to 0.7.1
Also added "composer fix" command.

Change-Id: Ibda3fd002c577c7f7c41920d67ec44fedbd27cb8
2016-05-09 16:41:17 -07:00
Translation updater bot 1568afffb2 Localisation updates from https://translatewiki.net.
Change-Id: Ic78c5a89fd710f573538821f7d1f41fe5832c7e9
2016-04-07 22:59:45 +02:00
Translation updater bot d6e6cdaa79 Localisation updates from https://translatewiki.net.
Change-Id: Ia45758637b4463d3213a11998195f0a7e5fb5fb8
2016-03-29 22:35:04 +02:00
Translation updater bot 1730dabc3a Localisation updates from https://translatewiki.net.
Change-Id: I395f7dbacb44f46005cec5f7318c176910fe00aa
2016-03-28 22:39:23 +02:00
Florian 999cbba074 Add "manifest_version": 1 to CAPTCHA modules
Needed to validate against a specific schema version.

Bug: T128330
Change-Id: I6f745057b8b17f57049ec5b565d7a882d19174c5
2016-02-28 18:20:01 +01:00
Translation updater bot 7d83457342 Localisation updates from https://translatewiki.net.
Change-Id: I3a8b2d865ceeaa9c944782686c369320bc70ee8d
2016-02-18 22:15:02 +01:00
Translation updater bot 3eaf561945 Localisation updates from https://translatewiki.net.
Change-Id: Ibbf35f24ac4c2fa2927b5120578aa65a8c024213
2016-01-27 21:39:29 +01:00
Translation updater bot 0c5f033a08 Localisation updates from https://translatewiki.net.
Change-Id: I5ee9a6b59ff9b73e9ba7f6cabb5f65277b7cf94e
2016-01-06 21:52:41 +01:00
Tacsipacsi 0aaacc276f ReCaptchaNoCaptcha: Set captcha language to interface language
Use reCaptcha's "hl" parameter with language code from display language code.
It's tolerant to unknown codes--works as before: displays in browser language.

Bug: T122300
Change-Id: I3aac1aed12bc4b2603d225c1a386a73197f411a0
2015-12-26 23:10:23 +01:00
Translation updater bot fd8d7acf5d Localisation updates from https://translatewiki.net.
Change-Id: I3ef635a036fcb49965b724da73f451b4be09a272
2015-12-23 22:04:04 +01:00
Translation updater bot ebbb13c3cc Localisation updates from https://translatewiki.net.
Change-Id: I1176fd4612e1126602105a554ac5de743136d11e
2015-12-20 22:32:45 +01:00
Brad Jorsch 01d11b7b73 Add i18n for injected API parameters
Change-Id: I4a0a6c47afdd62e1c9d0b29f066d2a6d1791b52d
2015-12-18 12:53:44 -05:00
Translation updater bot 688f88849b Localisation updates from https://translatewiki.net.
Change-Id: I83900391991d12e1af88aafc1517e5c4e22a7316
2015-12-13 22:16:23 +01:00
jenkins-bot cb706b4e01 Merge "ReCaptchaNoCaptcha: Fix function call on a non-object" 2015-11-06 15:11:55 +00:00
Southparkfan 51c3903005 ReCaptchaNoCaptcha: Fix function call on a non-object
$info is a Status object, but the function logCheckError called
getErrorsArray() on $status (which is an undefined variable), thus it threw an
exception.

Change-Id: I93a52f31134a849e064945b653a13392b2f92d08
2015-11-06 16:05:54 +01:00
Paladox 30490fba52 Add php code sniffer
Change-Id: I298b8b936a2b86deea75c302d88a7391cdb221c9
2015-10-28 21:46:29 +00:00
Translation updater bot 82dac8605d Localisation updates from https://translatewiki.net.
Change-Id: Iaa6b8fdedc3a4163faf0f46875f82f3ce0d5b02a
2015-10-22 21:59:14 +02:00
Translation updater bot dd15a63695 Localisation updates from https://translatewiki.net.
Change-Id: I5278b921e9a12c29c1c8c9d59b77dcf7f4492aa5
2015-10-18 21:54:01 +02:00
Translation updater bot b1f0eb85e8 Localisation updates from https://translatewiki.net.
Change-Id: Ife0442aae421b2e0d5cacdf8c9cdee008fdddd05
2015-10-14 21:51:16 +02:00
Southparkfan 79f9c4ecb8 ReCaptchaNoCaptcha: Fix undefined function call to logStatusError()
It seems that logCheckError() works fine for logging errors, so
I changed any logStatusError() calls into logCheckError() ones.

Change-Id: I4dc6fe0c7ddc10f388f43caa928fefce1a0dac3a
2015-10-14 13:03:31 +00:00
Paladox 4307f1ec19 Add some Jenkins tests
Add support for composer phplint and npm jshint, jsonlint
and banana-checker.

Change-Id: If509fdb96f35cdd252b6c53ece8a568b4a614926
2015-10-14 11:52:19 +01:00
Siebrand Mazeland 8c3fa371e4 Update indentation to use tabs
Change-Id: Ica5d454562dc7b6b582f6878edc5ca4ddb7c2837
2015-10-12 09:16:22 +02:00
Florianschmidtwelzow 443bfac8a8 Add a way to use different tab indexes for CAPTCHA input form
And use it for UsercreateTemplate.

Bug: T113432
Change-Id: I56a618f2132fbcf3fea1a3ce6a409ce90709e849
2015-09-27 01:29:18 +02:00
Translation updater bot ffd7692884 Localisation updates from https://translatewiki.net.
Change-Id: I1df83412d525b18d93e15d9be816f5fb77559514
2015-08-26 21:45:20 +02:00
Translation updater bot d5a93c49f1 Localisation updates from https://translatewiki.net.
Change-Id: Ie5be184f32407d1df1e99c3cb872a91205b34a28
2015-08-25 21:56:48 +02:00
Translation updater bot fd4147402f Localisation updates from https://translatewiki.net.
Change-Id: Ic19eba365e5b481f469e4f50cffcffd67ef57107
2015-08-05 22:34:07 +02:00
Translation updater bot e253c138f1 Localisation updates from https://translatewiki.net.
Change-Id: I4d1c81fc7daa34fce17849b6709efcc963b29a0d
2015-07-16 21:10:51 +02:00
Translation updater bot c0e8f08cbf Localisation updates from https://translatewiki.net.
Change-Id: I3475954d4913b81682c63495d20c185448e6d72e
2015-07-14 21:59:49 +02:00
Translation updater bot b92b7e912a Localisation updates from https://translatewiki.net.
Change-Id: I595e42c40c5b43743cb49874029be45b0f69878e
2015-07-09 22:01:08 +02:00
Translation updater bot b284fb5599 Localisation updates from https://translatewiki.net.
Change-Id: Ib77669a3cc5dd742852d251ad3909271ce7a0f6a
2015-07-07 22:07:26 +02:00
Translation updater bot 67345bac18 Localisation updates from https://translatewiki.net.
Change-Id: I25f17b1acb8884421a1b8021247b6fbb141f81e7
2015-07-06 21:44:37 +02:00
Translation updater bot 66801ffd4b Localisation updates from https://translatewiki.net.
Change-Id: I2160df2473d1e543a1b5a3c91c9fdd0c3fb6a03c
2015-07-05 21:59:28 +02:00
Florianschmidtwelzow 36abbc6288 Implement support for Google reCAPTCHA 2.0 ("No captcha")
This change adds a new Captcha type (ReCaptchaNoCaptcha) that uses
Google reCAPTCHA 2.0.

See more:
- https://www.google.com/recaptcha/intro/
- https://developers.google.com/recaptcha/docs/display
- https://developers.google.com/recaptcha/docs/faq
- http://googleonlinesecurity.blogspot.com/2014/12/are-you-robot-introducing-no-captcha.html

Bug: T84918
Change-Id: I5908fd2716786237adb01a403d5bd1e22d95c563
2015-06-27 03:00:11 +02:00