Commit graph

162 commits

Author SHA1 Message Date
Translation updater bot 9a8702aa6e Localisation updates from https://translatewiki.net.
Change-Id: I4b6d5a2222e94ab29fe147a6b7350d0df85d813c
2018-08-27 22:16:32 +02:00
Translation updater bot e9a4da7b8b Localisation updates from https://translatewiki.net.
Change-Id: Id700ed3e93a10f1f7a408d8906d127a467474d69
2018-07-28 22:29:37 +02:00
Translation updater bot ab7ed9d48d Localisation updates from https://translatewiki.net.
Change-Id: I7a1ebdc58bec6f72ccf920db7f13ab06fa0f7e71
2018-07-22 22:08:42 +02:00
Max Semenik 5b7a36a521 Clean up some phpcs problems
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
2018-07-12 23:13:58 +00:00
Translation updater bot 077109d70d Localisation updates from https://translatewiki.net.
Change-Id: I72a8e3bba9c7f92ca4d44e78499e0731215964c8
2018-06-28 22:21:09 +02:00
Translation updater bot 937bc66f00 Localisation updates from https://translatewiki.net.
Change-Id: I331cbbd592bfbb7f9612f5ce9e7866780008acba
2018-05-15 22:24:27 +02:00
Translation updater bot 96c59f736b Localisation updates from https://translatewiki.net.
Change-Id: Idcdb54f0167e4056ccb33996491f61c76b9b73b4
2018-05-03 22:21:04 +02: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 5c0f65ebf0 Localisation updates from https://translatewiki.net.
Change-Id: Id52cb31bdc4dd1598657225f86461af21c129d7c
2018-03-01 22:41:45 +01:00
Translation updater bot f84817837b Localisation updates from https://translatewiki.net.
Change-Id: I2e4033e4c59a64c5f3b89ea69d76811f2cafddb0
2018-02-03 22:22:29 +01:00
Translation updater bot 8f697ea799 Localisation updates from https://translatewiki.net.
Change-Id: I8e2b23cf659422cd382649fc16f282a6b9af6715
2018-01-30 22:16:33 +01:00
Translation updater bot bd75e65d15 Localisation updates from https://translatewiki.net.
Change-Id: Ib7e12be1a6bcbfe9e6913135790b59009fe2526e
2018-01-01 09:17:48 +01:00
Translation updater bot e9b9c98a0f Localisation updates from https://translatewiki.net.
Change-Id: Ib8cb1aa8feccb904c79c1ce51ddb76b15f82706a
2017-12-28 09:59:11 +01:00
Umherirrender 1254022153 Improve some parameter docs
Change-Id: Idce2db0b489c19ec9b936cfc4ced3792e6f9711d
2017-09-24 12:14:11 +00:00
Translation updater bot 2a5a8cebe0 Localisation updates from https://translatewiki.net.
Change-Id: I7e686b2c5398276ea6d8c71c67ac5598d6ca48d6
2017-08-14 09:00:47 +02:00
Translation updater bot 1a4d0e3053 Localisation updates from https://translatewiki.net.
Change-Id: Ic235d8d1e47134c93c5a8b9fa3ecad8d4094663e
2017-07-14 22:28:36 +02:00
Translation updater bot 50b336335a Localisation updates from https://translatewiki.net.
Change-Id: Ia920544d4f9be79cffc026b3159502b8a563856d
2017-06-19 22:44:55 +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 a2247d5641 Localisation updates from https://translatewiki.net.
Change-Id: If9aa5b3f650cb515fd368f50a4b9be8d4c070d91
2017-05-07 22:53:59 +02:00
Translation updater bot 30593b1e4c Localisation updates from https://translatewiki.net.
Change-Id: I758c1a39eb8187506079c9cacff0fe5d4e651c07
2017-05-02 22:47:37 +02:00
Reedy 33f0462f22 Param docs and type hints
Change-Id: I848133a979c4e3277e0187a67c4ebcf4098e9446
2017-02-17 13:26:54 +00: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 7a9eee5d2f Localisation updates from https://translatewiki.net.
Change-Id: I8e8ab521ff45c1beb78adff9e9f754a51e34aedd
2016-11-02 22:47:13 +01: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 c73e887089 Localisation updates from https://translatewiki.net.
Change-Id: I7cc67f11274c6eca5e94c2ca302eb1b75ca70784
2016-10-09 22:46:09 +02:00
Bingxing Wang f0932984b9 Fixing unexcepted HTML escaping in QuestyCaptcha.
HTML-based questions (e.g. images) will not work well with QuestyCaptcha
on MediaWiki 1.27 due to an unexcepted HTML escape. This commit fixes the
issue by declaring raw HTML form mode, just like MathCaptcha.

Bug: T147606
Change-Id: Icc7c47b88b8aa44425acfa3d58d353ddc73bc87e
2016-10-07 07:07:02 +00:00
Translation updater bot 87dd029422 Localisation updates from https://translatewiki.net.
Change-Id: I921a063904001b57339f61f1b2a2de3b02f94216
2016-08-29 22:34:42 +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 7ea1bfa50e Localisation updates from https://translatewiki.net.
Change-Id: Ia97cd02f44afacb3615f908d6fc3d2d3644f7103
2016-07-20 22:35:33 +02:00
Translation updater bot 032ff774dd Localisation updates from https://translatewiki.net.
Change-Id: Ie62a1b839d98085e41a12d487d40669455894437
2016-06-03 23:17:12 +02:00
Translation updater bot 09e0fd7d8c Localisation updates from https://translatewiki.net.
Change-Id: I1b2980364791e434b36008084a99b7ed06d8dbc0
2016-05-31 22:41:43 +02:00
Translation updater bot 900940d44e Localisation updates from https://translatewiki.net.
Change-Id: I11505d7cf59a46d83eaf9c48b1ed3ae27e89ea46
2016-05-19 23:07:43 +02: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 628f0df54d Localisation updates from https://translatewiki.net.
Change-Id: I4f17f939de43be487fadaaf884503d92ea49f76f
2016-04-05 22:54:52 +02:00
Translation updater bot 3cde1b60ff Localisation updates from https://translatewiki.net.
Change-Id: I74cebee7ec7dd69b6e1e6070752c5e34a7f7ae8c
2016-03-23 22:19:47 +01:00
Translation updater bot ae1e888e1e Localisation updates from https://translatewiki.net.
Change-Id: Iada7c2af309143844415708612695b4701e4a651
2016-03-20 22:38:13 +01: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 f10fef8cf5 Localisation updates from https://translatewiki.net.
Change-Id: Ia95ad8cabeca8bf5d806e33daef9c80f58f42b5a
2016-02-03 23:04:35 +01:00
Translation updater bot 3eaf561945 Localisation updates from https://translatewiki.net.
Change-Id: Ibbf35f24ac4c2fa2927b5120578aa65a8c024213
2016-01-27 21:39:29 +01:00
Paladox 30490fba52 Add php code sniffer
Change-Id: I298b8b936a2b86deea75c302d88a7391cdb221c9
2015-10-28 21:46:29 +00:00
Siebrand Mazeland 8c3fa371e4 Update indentation to use tabs
Change-Id: Ica5d454562dc7b6b582f6878edc5ca4ddb7c2837
2015-10-12 09:16:22 +02:00
Translation updater bot adeaad0a90 Localisation updates from https://translatewiki.net.
Change-Id: I7cf896e7074f85469c461c883ebf2473a7a27faa
2015-10-08 23:06:03 +02:00
Translation updater bot 0e129fc532 Localisation updates from https://translatewiki.net.
Change-Id: I995c37921a513d561dfff96f33ac2a6a75174e04
2015-09-28 22:42:15 +02:00
jenkins-bot bc66060763 Merge "Add a way to use different tab indexes for CAPTCHA input form" 2015-09-26 23:34:52 +00: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 6f6843b3ea Localisation updates from https://translatewiki.net.
Change-Id: Iceff3b435ce1b439cf36feab102d090ed70bc8a9
2015-09-23 21:30:02 +02:00
Translation updater bot 212c22556d Localisation updates from https://translatewiki.net.
Change-Id: Ie9059ebbcb9efc20a9176c8da6d50e708232b9f3
2015-09-04 21:48:44 +02:00
Translation updater bot 33334f3be1 Localisation updates from https://translatewiki.net.
Change-Id: Ib097c8828bf80fd36225bf3b61a6b9e79636e816
2015-08-28 21:51:57 +02:00
Translation updater bot 024ec12e94 Localisation updates from https://translatewiki.net.
Change-Id: Ic6729821e59d1b0a662c15159a201aee95035e90
2015-08-19 22:13:01 +02:00
Translation updater bot fcaa01d012 Localisation updates from https://translatewiki.net.
Change-Id: I25c065803168ba7fe5843522969d0c2e9873a934
2015-07-29 21:48:30 +02:00
Translation updater bot fe8e39fb3d Localisation updates from https://translatewiki.net.
Change-Id: I13d6d51e35d7b96769c38dd9290d2f74c44a1341
2015-07-11 22:04:40 +02:00
Translation updater bot 67345bac18 Localisation updates from https://translatewiki.net.
Change-Id: I25f17b1acb8884421a1b8021247b6fbb141f81e7
2015-07-06 21:44:37 +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
Translation updater bot b71822264a Localisation updates from https://translatewiki.net.
Change-Id: I9e260e49189ba9d14cc0d0f755b7f353476b4a7c
2015-06-14 21:04:12 +02:00
Florianschmidtwelzow 258f5019f1 Make Questy answers in arrays case-insensitive
Before, QuestyCaptcha answers were case-insensitive when there was
only one answer for a question, but they had to be lowercase when
there was an array of answers. This makes it so that when an array
of answers is provided for a question in $wgCaptchaQuestions, those
answers are case-insensitive.

Bug: T65272
Change-Id: I146b53cacf901c45ce27bd87fdf8125bfd2bc270
2015-06-12 17:58:37 +02:00
Alex Monk a9b8fcec04 Fix extension.json files
Bug: T100351
Change-Id: Ib54e28594024d700f569a7ae864a26ef633e42c1
2015-05-25 20:47:09 +01:00
Florian 3cbbec4539 Remove PHP entry point and use extension.json for QuestyCaptcha
Bug: T88047
Change-Id: I4c140aadc988683b9abf01b7a6f6db031ea713d3
2015-05-23 14:36:53 +02:00
jenkins-bot b1d134102f Merge "Move QuestyCaptcha to its own place" 2015-05-23 08:03:03 +00:00
Florian 2f0db346eb Move QuestyCaptcha to its own place
Bug: T88047
Change-Id: I8c8f97d49dc39445dbba9c12909b81898838a253
2015-05-23 07:49:47 +00:00
Translation updater bot 042adb7f2a Localisation updates from https://translatewiki.net.
Change-Id: Ia6bd4dd308c1a9a9ac17d873fec9ce39a626876f
2015-05-21 22:51:05 +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