mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-30 10:54:53 +00:00
fbf6c1c7ea
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
14 lines
899 B
JSON
14 lines
899 B
JSON
{
|
|
"@metadata": {
|
|
"authors": []
|
|
},
|
|
"turnstile-desc": "Adds support for Cloudflare Turnstile to ConfirmEdit",
|
|
"turnstile-edit": "To protect the wiki against automated edit spam, please solve the following captcha:",
|
|
"turnstile-addurl": "Your edit includes new external links. To protect the wiki against automated spam, please solve the following captcha:",
|
|
"turnstile-badlogin": "To protect the wiki against automated password cracking, please solve the following captcha:",
|
|
"turnstile-createaccount": "To protect the wiki against automated account creation, please solve the following captcha:",
|
|
"turnstile-createaccount-fail": "It seems you haven't solved the CAPTCHA.",
|
|
"turnstile-create": "To protect the wiki against automated page creation, please solve the following captcha:",
|
|
"turnstile-help": "Please solve a Turnstile challenge and return the response value as captchaWord."
|
|
}
|