This website requires JavaScript.
Explore
Help
Register
Sign In
wikimedia
/
mediawiki-extensions-ConfirmEdit
Watch
1
Star
0
Fork
You've already forked mediawiki-extensions-ConfirmEdit
0
mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced
2024-11-30 19:04:29 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
6c56c8c43b
mediawiki-extensions-Confir...
/
Turnstile
/
resources
/
ve-confirmedit-turnstile
/
.eslintrc.json
10 lines
98 B
JSON
Raw
Normal View
History
Unescape
Escape
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
2023-10-02 22:42:57 +00:00
{
"globals"
:
{
"ve"
:
false
,
"OO"
:
false
build: Updating npm dependencies * eslint-config-wikimedia: 0.27.0 → 0.28.0 The following rules are failing and were disabled: * ReCaptchaNoCaptcha/resources/ve-confirmedit-reCaptchaNoCaptcha: * no-jquery/no-extend * Turnstile/resources/ve-confirmedit-turnstile: * no-jquery/no-extend * hCaptcha/resources/ve-confirmedit-hCaptcha: * no-jquery/no-extend * grunt-stylelint: 0.19.0 → 0.20.0 * stylelint-config-wikimedia: 0.16.1 → 0.17.1 Change-Id: I8045a843b3e9b6a67e07d580ce07dc6afeaeab2d
2024-06-07 03:55:13 +00:00
}
,
"rules"
:
{
"no-jquery/no-extend"
:
"warn"
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
2023-10-02 22:42:57 +00:00
}
}
Reference in a new issue
Copy permalink