Commit graph

28 commits

Author SHA1 Message Date
jenkins-bot a1c4dccbf2 Merge "Remove redundant sub extension AutoloadNamespaces entries" 2024-11-06 14:13:26 +00:00
Reedy 5a0185206d Fixup paths to moved resources
Bug: T379080
Change-Id: Iff8c39b6d49e3ce476e026b022613ec08ced37ca
Follows-Up: I556f5f2753fae77df4f34b64bccdb7d68f2825b0
2024-11-05 15:37:03 +00:00
Reedy 32b7a3ea5b Remove redundant sub extension AutoloadNamespaces entries
Change-Id: Icf557dfeef3e443e660c888971ed9426f0f24c36
2024-10-30 01:50:31 +00:00
Reedy a801949300 Remove class_alias calls and cleanup Autoloads
Existed since 1.39 in I3fa9747e0ea970c5de39e2da8603e1bba9388a69

Change-Id: I17a648aaf7644d00cd82966a88dab8f33d2e317f
2024-10-30 01:48:14 +00:00
Reedy 9f2e976f10 Attempt to flatten out PHP files in sub extensions
In an attempt to be able to have easier code coverage...

Bug: T377750
Change-Id: I556f5f2753fae77df4f34b64bccdb7d68f2825b0
2024-10-30 01:48:14 +00:00
Bartosz Dziewoński 5f0bbc59f8 Add missing style dependency to "ext.confirmEdit.fancyCaptcha"
This causes an icon to appear the "Reload" link/button
when the CAPTCHA is shown e.g. within VisualEditor.

Change-Id: Ie883e9fca419d278d2daa91166eb06339e183f9b
2024-04-23 22:14:44 +00:00
Bartosz Dziewoński 920113eca9 Remove unused module "ext.confirmEdit.fancyCaptchaMobile"
Unused since change 8fc5bd264017587415c303b4f6a7718277a49840
in MobileFrontend (2015).

There was once a FIXME comment to remove it, but it was lost
in change bf412aad28 (also 2015).

Change-Id: I418e5d68b94ecffc5381f98419bdf38b18c96cd5
2024-04-23 22:14:35 +00:00
jenkins-bot 9625c91e18 Merge "FancyCaptcha: Allow configuration of the actual directory captchas are stored in" 2024-01-26 16:18:10 +00: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
Reedy 88320d3d3d FancyCaptcha: Fix default for $wgCaptchaClass
Follows-Up: I2933639f9cb50db2101c4765ce9d8f9069d253b8
Change-Id: Iebe8858e3d5fa6b32de9c1be7a0b6cb22355e6a3
2024-01-15 17:03:09 +00:00
Reedy 36bd54e4ec FancyCaptcha: Allow configuration of the actual directory captchas are stored in
Change-Id: Iecc48db5237adc5b89c99019faac0af425e4eb5d
2024-01-15 15:43:46 +00:00
James D. Forrester 96f458cdd6 */extension.json: Drop RL targets definitions, no longer honoured
Bug: T328497
Change-Id: Id8501de1d372b7eca8e49c669d401322b2a51371
2024-01-12 22:33:04 +00:00
Reedy a0feac27b0 Namespace captchas
Change-Id: I2933639f9cb50db2101c4765ce9d8f9069d253b8
2022-12-13 21:40:30 +00:00
Reedy 30cd1d8a23 Namespace base classes
Change-Id: I3fa9747e0ea970c5de39e2da8603e1bba9388a69
2022-07-30 18:13:03 +00: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
Amir Aharoni a42d5d4adf Move apihelp messages to a separate file
This is one of the last extensions to be converted to having
the API messages in a separate file (at least out of the extensions
that are used be Wikimedia).

This one is a bit different from the others because it actually as several
extensions with separate i18n files, so it requires extra-careful review,
especially in Gruntfile and the extension.json files.

Bug: T189982
Change-Id: I66faae6fd4ff447327587c89ad2a1704edd1b356
2019-08-31 22:52:29 +03:00
jdlrobson 3a945d1f66 Standardise captcha reload icon
Icon is updated on both desktop and mobile.
A CSS file is converted to a LESS file
CSS rules added to tweak icon position

See also:
I2322194481e4d6b7662c0f075768d5941afa98b8

Bug: T213775
Change-Id: I1f15cd9ac4b78d7f6e24b93af0fcfb809f00e563
2019-01-16 16:37:31 -08:00
jdlrobson cd1a5d8a89 Enable FancyCaptcha's styles on mobile
Bug: T213775
Change-Id: Ic3a8c2cfce92659d5efc4da8799613afba544cea
2019-01-14 16:09:02 -08:00
Max Semenik 5b7a36a521 Clean up some phpcs problems
Change-Id: Ie956fe86184535a376d0398483ac3c853fa9127c
2018-07-12 23:13:58 +00:00
zoranzoki21 7e78e7ccaa Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: I06e877cc7e28553c46a669970bfc64a55e386f0c
2018-02-04 09:05:40 +00:00
Kunal Mehta 78cb14cf1e Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Ifa6b2480400a161fd931a4ab456c0dcaa809459e
2018-01-04 02:57:05 -08: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
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
raymond 5455349649 Expand extension description for FancyCaptcha
Currently FancyCaptcha looks very lost on Special:Version

Change-Id: Iea5dc934fb8b273f650c7834f4f361bea9518898
2015-11-30 10:46:08 +01:00
Florian 3036c26b74 Enable the refresh button in MobileFrontend
Remove the styling module from mobile, it's not needed (anymore).

Depends on: Iaff53c40c8c5

Bug: T87256
Change-Id: Iad604a3770c5d62e1d9bd06c0eb1f333a9415799
2015-08-19 15:37:38 +00:00
Florian 86b0aa3d37 FancyCaptcha: callbacks can't be arrays
Bug: T100561
Change-Id: I22353669a85391c3d9760a5253cac1263e895cf9
2015-05-27 20:55:40 +00:00
Florian bf412aad28 Add extension.json and clear PHP entry point
Bug: T88047
Change-Id: I6930b478ea094ab9ce829f167674995de6c16bdf
2015-05-23 11:12:26 +02:00