Page MenuHomePhabricator

ConfirmEdit: Make it possible to define additional configuration in CaptchaTriggers
Closed, ResolvedPublic0.75 Estimated Story Points

Description

Summary

For hCaptcha, it's not uncommon to group different traffic patterns together in separate sitekey, e.g. one sitekey for account creation, and another sitekey for edits. We need the ability to vary the sitekey depending on the wgCaptchaTrigger action. In this task, we should provide a mechanism that allows for additional configuration for an action, and as a first example of this, update hCaptcha to allow for overriding the sitekey on a per-action basis.

Acceptance criteria

  • It's possible to vary the sitekey in hCaptcha for different CaptchaTrigger actions

Event Timeline

Change #1198368 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/ConfirmEdit@master] (WIP) SimpleCaptcha: Allow for defining a config property in CaptchaTriggers

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

Change #1198368 merged by jenkins-bot:

[mediawiki/extensions/ConfirmEdit@master] SimpleCaptcha: Allow for defining a config property in CaptchaTriggers

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