Commit graph

34 commits

Author SHA1 Message Date
Translation updater bot c30999fa1b Localisation updates from https://translatewiki.net.
Change-Id: I9c67ba6efd4f118d84917fca71081b55a8d79eb8
2020-04-15 08:23:28 +02:00
Reedy 74eb713da9 Fix some indenting and whitespace
Change-Id: Ib2c21563f823c6d31a71a94562f808cd2fca3782
2020-04-11 02:27:12 +01:00
Translation updater bot 84f576d143 Localisation updates from https://translatewiki.net.
Change-Id: I53dc68c62d159e91c23bccbe0254c6f0e68b565e
2020-03-16 16:00:38 +01:00
Translation updater bot 4ba7042ab9 Localisation updates from https://translatewiki.net.
Change-Id: Ie3f4fc6005dcb521de617b6f9e3d873a176371e1
2020-03-03 08:13:59 +01:00
James D. Forrester c933d06904 Update extension.json files to use manifest_version 2
Bug: T234114
Change-Id: I9b22aed290fc5c51b2c9bff34466d57e2c65148d
2020-01-19 16:35:49 +00:00
libraryupgrader d481d0c8db build: Updating mediawiki/mediawiki-phan-config to 0.9.0
Additional changes:
* Added .eslintcache to .gitignore.
* Fix wrong types

Change-Id: I833b061c62b82f3c88d968c70bae8317641aaa3d
2019-12-27 14:42:40 +00:00
Translation updater bot 57f06108a1 Localisation updates from https://translatewiki.net.
Change-Id: I1012f86490e02f11208069ad52bc0c26a173a869
2019-11-29 09:27:17 +01:00
Translation updater bot 1c950c84a4 Localisation updates from https://translatewiki.net.
Change-Id: I7dc7f57f249a2534f3c2e186b2753795681d59f1
2019-11-18 09:21:35 +01:00
Translation updater bot 37f871c623 Localisation updates from https://translatewiki.net.
Change-Id: I5cbee99ebb367dced9294f2546b767b6f63a1523
2019-11-11 14:47:50 +01:00
Translation updater bot edcc3ba75e Localisation updates from https://translatewiki.net.
Change-Id: I75f598ffc290bebfa38d9c67dc094b1fb48d06df
2019-10-28 16:33:22 +01:00
Translation updater bot 27d2621600 Localisation updates from https://translatewiki.net.
Change-Id: I143bd3da2caf0ed4d40498229c957f2b3b6aa8f3
2019-10-24 10:42:40 +02:00
Translation updater bot 31a98d54d8 Localisation updates from https://translatewiki.net.
Change-Id: I144a78a4fc7b4c92cde831168fb5e46227d36c3b
2019-10-23 09:52:41 +02:00
Reedy ae67c81991 Add extension.json dependency on Math to MathCaptcha
Change-Id: I7b20114365cb22536cf9e9e74ee5dd00b85a41d5
2019-03-02 21:17:15 +00:00
Umherirrender f96b1eda5b Use ::class for class name resolution
Available since php5.5

Change-Id: I9b072c487b84e04fbb7e9ad8ed4b9db46d805ee8
2019-03-02 19:39:36 +01:00
Translation updater bot 91902fe31a Localisation updates from https://translatewiki.net.
Change-Id: I6ccc9ac731a4f85bac003d478a49f42eb9f18e3b
2019-01-30 22:13:52 +01:00
Translation updater bot 6ec0a28191 Localisation updates from https://translatewiki.net.
Change-Id: Ibdb916f78ca3f938c93606be0f9411d916fe7e79
2019-01-22 22:17:12 +01: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
Max Semenik 5b7a36a521 Clean up some phpcs problems
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
2018-07-12 23:13:58 +00:00
Umherirrender 1254022153 Improve some parameter docs
Change-Id: Idce2db0b489c19ec9b936cfc4ced3792e6f9711d
2017-09-24 12:14:11 +00:00
Reedy 33f0462f22 Param docs and type hints
Change-Id: I848133a979c4e3277e0187a67c4ebcf4098e9446
2017-02-17 13:26:54 +00: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
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
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
Paladox 30490fba52 Add php code sniffer
Change-Id: I298b8b936a2b86deea75c302d88a7391cdb221c9
2015-10-28 21:46:29 +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
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
Florian 2d0be6432e Use extension.json and clear PHP entry point for MathCaptcha
Bug: T88047
Change-Id: I0bd70e698bdd1dda3f47305f68a5e1673178c96f
2015-05-23 11:24:50 +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
Yaron Koren 27078d22a7 Renamed to "README" 2011-01-31 05:41:28 +00:00
Max Semenik 32856e4010 Updated links for pages moved from Meta to mw.org, tweaked doc a bit in one case (extensions/ConfirmEdit/MathCaptcha) 2009-12-05 15:03:20 +00:00
Siebrand Mazeland 4a6c4e2bcf * Update messages for QuestyCaptcha
* stylize.php and trailing whitespace removed for ConfirmEdit
* add support for QuestyCaptcha to Translate
* svn execute bits removed
2009-07-19 15:13:01 +00:00
Rob Church bdc5e0ca1f Captcha class using simple sums and the math renderer. Not brilliant, but enough to dissuade casual spam bots. 2006-06-12 19:56:17 +00:00