Commit graph

55 commits

Author SHA1 Message Date
Translation updater bot b0227d4ab7 Localisation updates from https://translatewiki.net.
Change-Id: I4a8d5b54fa90a08c8fd6cb07d5b4534922c3241d
2024-01-28 16:05:59 +01:00
Gergő Tisza b52d63ee9d Revert "Drop various class aliases"
This reverts commit 3798d424e2.

Bug: T355198
Change-Id: I99ecee703cdfa06198eeede96e6c3bdda2d457e0
2024-01-17 04:46:58 +00:00
Reedy 3798d424e2 Drop various class aliases
Move manual wgAutoloadClasses entries into TestAutoloadClasses

Change-Id: I4c85a2042ae591732b48bbf872277909a90675b4
2024-01-16 10:49:21 +00:00
Umherirrender 92bc1f3d2f Use namespaced classes
Changes to the use statements done automatically via script
Addition of missing use statements done manually

Change-Id: Id44f211320e56bc83e4c8f243369dc4eb562cf37
2023-12-11 00:07:55 +01:00
Translation updater bot 613bfd1b45 Localisation updates from https://translatewiki.net.
Change-Id: Ibd111d5ec1d7d4b21ba301e66cb639e7003c03df
2023-09-20 08:54:45 +02:00
Translation updater bot 65763d3b41 Localisation updates from https://translatewiki.net.
Change-Id: I9c7328358d62ffb004c35b6a0d03e77c02e5c4e5
2023-09-06 08:41:41 +02:00
Translation updater bot 44bff42787 Localisation updates from https://translatewiki.net.
Change-Id: I07511aa6ed8a461de1c4492af792ffb29b13af14
2023-07-24 09:37:02 +02:00
Translation updater bot c7a884ff4a Localisation updates from https://translatewiki.net.
Change-Id: I2137d0bf75914289ba7cf35626faa575854f9723
2023-01-05 09:07:44 +01:00
Translation updater bot 2b96847930 Localisation updates from https://translatewiki.net.
Change-Id: I3aac5cdb6913c0aefb86427e1ba9d42a073f478a
2022-12-21 09:14:40 +01:00
Reedy a0feac27b0 Namespace captchas
Change-Id: I2933639f9cb50db2101c4765ce9d8f9069d253b8
2022-12-13 21:40:30 +00:00
Translation updater bot a10caa5da0 Localisation updates from https://translatewiki.net.
Change-Id: I844fc5007f2c86cad3b888d1892b42d8439f61a1
2022-10-17 08:20:53 +02:00
Reedy 30cd1d8a23 Namespace base classes
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-07-30 18:13:03 +00:00
Umherirrender f139d9f543 Use namespaced MathRenderer in MathCaptcha
Change-Id: Ib6646f0c4dbe244eec9078f56f3341029826212a
2021-10-03 22:15:57 +02:00
Translation updater bot 3e7325a31c Localisation updates from https://translatewiki.net.
Change-Id: I97872247f91fa54a1a5acbc71ee56a9fa7d3e66e
2021-09-27 08:34:32 +02:00
Translation updater bot 854ac55cb6 Localisation updates from https://translatewiki.net.
Change-Id: I738fd29ca3bddc3b1510c39b512411085d9f4aac
2021-08-09 08:23:44 +02:00
Translation updater bot e59be7056b Localisation updates from https://translatewiki.net.
Change-Id: I3728ff9954131bd67964a82189dbe092d73c30c2
2021-02-08 08:40:04 +01:00
Translation updater bot dfda6a9bed Localisation updates from https://translatewiki.net.
Change-Id: Ib90d9794dd7f891347b94e3695ef3c5c2bdd6dd7
2020-11-27 08:29:52 +01:00
Translation updater bot a6ffe78172 Localisation updates from https://translatewiki.net.
Change-Id: I9ce53779e18ff72304a7bde25198a8a4ab9543ac
2020-09-14 09:13:44 +02:00
Translation updater bot f4b590bbcb Localisation updates from https://translatewiki.net.
Change-Id: If8e215da2408136c682ad359f04c9aec07a7b247
2020-08-12 08:19:08 +02:00
Translation updater bot 4eeba5bda5 Localisation updates from https://translatewiki.net.
Change-Id: I2514ce4759b425d7244cf6a09c6108c2d9fb25cc
2020-05-25 08:39:21 +02:00
Reedy 574330467d Add COPYING
Bug: T234086
Change-Id: Ib2b7661ba5fc9bd7d4e658f68449376cfb72437b
2020-05-01 17:53:14 +01:00
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