Page MenuHomePhabricator

DiscussionTools: Improve error message when hCaptcha challenge dismissed
Open, Needs TriagePublicBUG REPORT

Description

What is the problem?

When the hCaptcha challenge is dismissed or times out, the error message simply states: Invalid response from server.

We could make this more helpful to users.

Steps to reproduce problem
  1. https://test.wikipedia.org/wiki/Special:Random
  2. Switch to talk page
  3. Click "Start a discussion", "Add topic" or one of the "Reply" links
  4. Make a reply which will trigger AbuseFilter (e.g. open the "Advanced" dropdown and enter "showcaptcha" in the edit summary)
  5. When the hCaptcha challenge appears, dismiss it by clicking away or pressing Esc
Environment

Wiki(s): https://test.wikipedia.org MediaWiki 1.47.0-wmf.4 (d947039) 23:20, 1 June 2026. ConfirmEdit 1.6.0 (e408e17) 08:20, 28 May 2026.
Editor: Discussion tools – (6387c1a) 08:20, 25 May 2026.

Screenshots

error_message.png (752×1 px, 62 KB)

Event Timeline

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

[mediawiki/extensions/ConfirmEdit@master] [WIP] hCaptcha CaptchaWidget: Make execution errors human readable

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

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

[mediawiki/extensions/DiscussionTools@master] [WIP] Handle CAPTCHA errors appropriately

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

Dreamy_Jazz renamed this task from Improve error message when hCaptcha challenge dismissed to DiscussionTools: Improve error message when hCaptcha challenge dismissed.Thu, Jun 4, 9:22 PM