Summary
As noted on wiki, the hCaptcha widget is not rendering properly after an AbuseFilter with a "warn" consequence is tripped. The sequence of events appears to be:
- User submits edit, solving the hCaptcha challenge
- AbuseFilter prevents the edit with a "warn" consequence, the page is reloaded
- No hCaptcha widget is present on the page
- User submits the edit again, but there's no hCaptcha token
- Error message about incorrect or missing CAPTCHA shown to the user
Acceptance criteria
- An AbuseFilter "warn" consequence does not result in broken edit submissions for desktop wikitext editor, mobilefrontend source editor, desktop/mobile VisualEditor, and DiscussionTools