Commit graph

7 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 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
Ebrahim Byagowi 639dbc5cd7 Replace uses of mw.Uri with browser native URL
Uses of mediawiki.Uri apparently wasn't explicit but this
makes uses of URL's polyfill explicit which later will
be removed.

Bug: T374314
Change-Id: I62b92b3bc923269226512ab50b0708ce5a382abf
2024-09-17 22:53:53 +03:30
Umherirrender a672544be1 Turnstile: Drop RL targets definitions, no longer honoured
Bug: T328497
Follow-Up: Id8501de1d372b7eca8e49c669d401322b2a51371
Change-Id: Ibc1ba4895a38f7f34838e4f4faa8144b0f889d76
2024-01-24 00:00:04 +01:00
Jayden Bailey fbf6c1c7ea Add Turnstile support
This is a rudimentary implementation of Cloudflare's Turnstile captcha alternative.

Since it is fairly similar to ReCaptchaNoCaptcha, there is some duplicate code used here. I opted not to use the migration path that CF has for reCAPTCHA v2 and build this as a separate implementation. After T324925, it should be easy to refactor this code.

Users should set $wgTurnstileSiteKey and $wgTurnstileSecretKey as appropriate, based on details from the Cloudflare dashboard.

Bug: T319068
Change-Id: I0d5a74655619975f0bf61b5b672159afe5f4fb00
2024-01-15 19:31:24 +00:00