What is the problem?
On the preview page of the mobile source editor, while hCaptcha is loading after you click Publish, you can go back to the editor. hCaptcha continues to be loaded in the background leading to the challenge either showing (hidden until you go back to the preview page) or the edit being submitted unexpectedly.
The back button should be disabled while hCaptcha is loading. This is what we do in the mobile VisualEditor.
Steps to reproduce problem
- https://test.wikipedia.org/wiki/Special:Random
- Switch to mobile view
- Open the edit form
- Switch to Source Editor (if not already there)
- Type something and click the next button
- On the preview page, click "Publish" (or "Save")
- While the hCaptcha blue spinner is showing click back
Environment
Browser: Chromium 147
Wiki(s): https://test.wikipedia.org MediaWiki 1.46.0-wmf.24 (rMW73b5a57ccafc) 07:05, 27 April 2026. ConfirmEdit 1.6.0 (rECOEd005a6e3305a) 12:08, 23 April 2026.
Editor: MobileFrontend 2.4.1 (d6e518e) 10:37, 13 April 2026.