Page MenuHomePhabricator

Enable hCaptcha on test2wiki
Closed, ResolvedPublic

Description

Summary

Enable hCaptcha on test2wiki to provide a controlled environment for testing hCaptcha’s behavior with on-wiki features.

Background

  • We need a shared environment to test hCaptcha’s integration with MediaWiki.
  • Need to test on mobile web.
  • Need to test accessibility support.
  • Need to test multi-captcha support: multiple endpoints or other integration options.

User story

As staff, I want to enable hCaptcha on test2wiki to test its behavior across different wiki features and platforms.

Acceptance criteria

  • hCaptcha deployed to test2wiki
  • hCaptcha is enabled through account creation flow
  • QA can be performed on hCaptcha work once on test2wiki

Event Timeline

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

We can probably just create an instance under https://openstack-browser.toolforge.org/project/security-tools

So we have hcaptcha.security-tools.wmflabs.org or similar, rather than creating a new instance

Reedy renamed this task from Create hcaptcha test wiki to Create hCaptcha test wiki.Mar 14 2025, 2:44 PM
acooper renamed this task from Create hCaptcha test wiki to Enable hCaptcha on test wiki.Mar 24 2025, 11:50 AM
kostajh renamed this task from Enable hCaptcha on test wiki to Enable hCaptcha on test2wiki.May 19 2025, 10:37 AM

Legal has confirmed that we are good to enable hCaptcha on test2wiki and we will provide movement communications before the rollout.

Change #1148389 had a related patch set uploaded (by Reedy; author: Reedy):

[operations/mediawiki-config@master] extension-list: Add ConfirmEdit/hCaptcha/extension.json

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

Change #1148390 had a related patch set uploaded (by Reedy; author: Reedy):

[operations/mediawiki-config@master] WIP: Prep hCaptcha config

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

Change #1148389 merged by jenkins-bot:

[operations/mediawiki-config@master] extension-list: Add ConfirmEdit/hCaptcha/extension.json

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

Change #1148398 had a related patch set uploaded (by Reedy; author: Reedy):

[operations/mediawiki-config@master] Revert^2 "extension-list: Add ConfirmEdit/hCaptcha/extension.json"

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

Change #1148398 merged by jenkins-bot:

[operations/mediawiki-config@master] Revert^2 "extension-list: Add ConfirmEdit/hCaptcha/extension.json"

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

Mentioned in SAL (#wikimedia-operations) [2025-05-21T13:26:40Z] <reedy@deploy1003> Started scap sync-world: Backport for [[gerrit:1148398|Revert^2 "extension-list: Add ConfirmEdit/hCaptcha/extension.json" (T382148 T394814)]]

Mentioned in SAL (#wikimedia-operations) [2025-05-21T13:56:51Z] <reedy@deploy1003> reedy: Backport for [[gerrit:1148398|Revert^2 "extension-list: Add ConfirmEdit/hCaptcha/extension.json" (T382148 T394814)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-05-21T14:12:33Z] <reedy@deploy1003> Finished scap sync-world: Backport for [[gerrit:1148398|Revert^2 "extension-list: Add ConfirmEdit/hCaptcha/extension.json" (T382148 T394814)]] (duration: 45m 53s)

Based on the patch, current ticket seems to be blocked by T397793 and T388891

sguebo_WMF changed the task status from Stalled to In Progress.Jun 26 2025, 5:11 PM

For test2wiki, the plan is to proceed with a single site key.

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

[operations/mediawiki-config@master] Enable hCaptcha on test2wiki

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

Change #1148390 merged by jenkins-bot:

[operations/mediawiki-config@master] Set hCaptcha config

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

Mentioned in SAL (#wikimedia-operations) [2025-07-14T20:11:09Z] <dreamyjazz@deploy1003> Started scap sync-world: Backport for [[gerrit:1148390|Set hCaptcha config (T382148)]]

Mentioned in SAL (#wikimedia-operations) [2025-07-14T20:13:07Z] <dreamyjazz@deploy1003> dreamyjazz, reedy: Backport for [[gerrit:1148390|Set hCaptcha config (T382148)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-07-14T20:24:23Z] <dreamyjazz@deploy1003> Finished scap sync-world: Backport for [[gerrit:1148390|Set hCaptcha config (T382148)]] (duration: 13m 14s)

Removing the sprint tag as we haven't actively planned this to happen during this sprint.

kostajh added a subscriber: Dreamy_Jazz.

Claiming to handle the deployment and monitoring, etc.

Change #1168178 merged by jenkins-bot:

[operations/mediawiki-config@master] Enable hCaptcha on test2wiki

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

Mentioned in SAL (#wikimedia-operations) [2025-08-20T05:50:57Z] <kharlan@deploy1003> Started scap sync-world: Backport for [[gerrit:1168178|Enable hCaptcha on test2wiki (T382148)]]

Mentioned in SAL (#wikimedia-operations) [2025-08-20T05:53:14Z] <kharlan@deploy1003> dreamyjazz, kharlan: Backport for [[gerrit:1168178|Enable hCaptcha on test2wiki (T382148)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-08-20T06:02:44Z] <kharlan@deploy1003> Finished scap sync-world: Backport for [[gerrit:1168178|Enable hCaptcha on test2wiki (T382148)]] (duration: 11m 48s)

kostajh updated the task description. (Show Details)

Change #1180970 had a related patch set uploaded (by Reedy; author: Reedy):

[operations/mediawiki-config@master] CommonSettings: Add hcaptcha.wikimedia.org to $wgCrossSiteAJAXdomains

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

Change #1180970 merged by jenkins-bot:

[operations/mediawiki-config@master] CommonSettings: Add hcaptcha.wikimedia.org to $wgCrossSiteAJAXdomains

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

Mentioned in SAL (#wikimedia-operations) [2025-08-21T21:09:32Z] <reedy@deploy1003> Started scap sync-world: Backport for [[gerrit:1180970|CommonSettings: Add hcaptcha.wikimedia.org to $wgCrossSiteAJAXdomains (T382148)]]

Mentioned in SAL (#wikimedia-operations) [2025-08-21T21:15:21Z] <reedy@deploy1003> reedy: Backport for [[gerrit:1180970|CommonSettings: Add hcaptcha.wikimedia.org to $wgCrossSiteAJAXdomains (T382148)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-08-21T21:21:11Z] <reedy@deploy1003> Finished scap sync-world: Backport for [[gerrit:1180970|CommonSettings: Add hcaptcha.wikimedia.org to $wgCrossSiteAJAXdomains (T382148)]] (duration: 11m 39s)