Page MenuHomePhabricator

VisualEditor hCaptcha: Visual challenge cut off on mobile devices
Closed, ResolvedPublic

Description

Summary

The visual challenge for Bot detection and mitigation (WE4.2 hCaptcha editing trial) in VisualEditor is off the edge of the screen on a mobile device

Screenshots

Screenshot_20260414_154459_Chrome.jpg (1,080×2,400 px, 533 KB)

Screenshot_20260414_155946_Chrome.jpg (1,080×2,400 px, 463 KB)

Acceptance criteria

  • The visual challenge is not cut off by the edge of the screen

Event Timeline

Dreamy_Jazz updated the task description. (Show Details)
Dreamy_Jazz updated the task description. (Show Details)

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

[mediawiki/extensions/ConfirmEdit@master] VisualEditor hCaptcha: Clear challenge container for new render

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

Change #1271041 merged by jenkins-bot:

[mediawiki/extensions/ConfirmEdit@master] VisualEditor hCaptcha: Clear challenge container for new render

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

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

[mediawiki/extensions/ConfirmEdit@wmf/1.46.0-wmf.24] VisualEditor hCaptcha: Clear challenge container for new render

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

Change #1271697 merged by jenkins-bot:

[mediawiki/extensions/ConfirmEdit@wmf/1.46.0-wmf.24] VisualEditor hCaptcha: Clear challenge container for new render

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

Mentioned in SAL (#wikimedia-operations) [2026-04-15T12:34:52Z] <dreamyjazz@deploy1003> Started scap sync-world: Backport for [[gerrit:rEMMV1271697d8f8e|VisualEditor hCaptcha: Clear challenge container for new render (T423294)]]

Mentioned in SAL (#wikimedia-operations) [2026-04-15T12:36:47Z] <dreamyjazz@deploy1003> dreamyjazz: Backport for [[gerrit:rEMMV1271697d8f8e|VisualEditor hCaptcha: Clear challenge container for new render (T423294)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-04-15T12:43:03Z] <dreamyjazz@deploy1003> Finished scap sync-world: Backport for [[gerrit:rEMMV1271697d8f8e|VisualEditor hCaptcha: Clear challenge container for new render (T423294)]] (duration: 08m 11s)

I synced this to wmf.24 as there is no train next week and also so QA can happen on testwiki now

Testing notes

It would be great if someone with access to physical mobile devices could test how well hCaptcha works with gestures like pinch to zoom, etc.

I have done a certain amount of cross-device testing of this, but we could always do more.

I have tested various iOS and Android mobile devices including:

  • iPad 6 iOS 12 (Browserstack simulator)
  • iPhone 11 iOS 13 Safari (Browserstack)
  • iPad 4 iOS 14 Safari (Browserstack)
  • Google Nexus 5 Android 5.0 (saucelabs emulator)
  • Google Nexus 6 Android 6.0 (saucelabs emulator)
  • Samsung Galaxy S25 Android 15.0 Chrome (Browserstack)

However, none of these have been on physical devices. I don't know how well browserstack or saucelabs simulate touch screens and they don't allow for gestures like pinch.

I haven't seen this issue since on various mobile devices.

Testing notes

It would be great if someone with access to physical mobile devices could test how well hCaptcha works with gestures like pinch to zoom, etc.

I was not able to do this.