Page MenuHomePhabricator

hCaptcha DiscussionTools: If using AbuseFilter always challenge sitekey then set forcecaptcha in request to avoid two challenges
Closed, ResolvedPublic

Description

Summary

When a user loads a talk page after having recently been required to complete an AbuseFilter hCaptcha challenge, they should not have to complete two challenges to submit their DiscussionTools edit

Acceptance criteria

  • DiscussionTools sets wgConfirmEditForceShowCaptcha in the first edit attempt if the page load hCaptcha sitekey is the AbuseFilter always challenge sitekey

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1288913 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/ConfirmEdit@master] CaptchaWidget: Set hCaptcha force captcha flag based on mw.config

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

Change #1288913 merged by jenkins-bot:

[mediawiki/extensions/ConfirmEdit@master] CaptchaWidget: Set hCaptcha force captcha flag based on mw.config

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