Page MenuHomePhabricator

Implement support for new Google ReCaptcha v3
Open, Needs TriagePublic

Description

Google recently released a new version of ReCaptcha which instead of a pass/fail returns a score of 0.0 (least trusted) to 1.0 (most trusted)
https://developers.google.com/recaptcha/docs/v3

Event Timeline

Change 539679 had a related patch set uploaded (by Florianschmidtwelzow; owner: Florianschmidtwelzow):
[mediawiki/extensions/ConfirmEdit@master] Add v3 as possible version for ReCaptcha

https://gerrit.wikimedia.org/r/539679

(The existing patch is 2 years old at this point) - Both miraheze and testwiki.wiki have v3 deployed using a custom extension (https://github.com/miraheze/MirahezeMagic/tree/master/ReCaptchaNoCaptcha), and so far it’s proved very effective, with pretty much no spambot account creations since it was deployed - it would really be nice to have v3 available as part of ConfirmEdit!

@Florian Do you mind if I update your patch for this with some code from the working version, and get it reviewed/hopefully merged?

I went ahead and updated the patch using code from the moralize implementation. Credit goes to @Universal_Omega.

I have fixed up the lingering issues on the patch above. Is there anything else that is needed to move this forward?

Not within a few weeks unfortunately, I don't have a setup that can test it at the moment.

Aklapper added a subscriber: Florian.

@Florian: Removing task assignee as this open task has been assigned for more than two years - see the email sent to all task assignees on 2024-04-15.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome! :)
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!

Just to note, that I'm still looking for people to test the changes that were made in the patch. If anyone wants to volunteer, i'm happy to merge at some point.

Sorry that I missed the comment in the patch. What version of MW do you need to test against?