Page MenuHomePhabricator

hCaptcha: Conditionally disable the addurl rule
Closed, ResolvedPublic

Description

Summary

The addurl rule was disabled in rOMWC8e16ca50ad20: hCaptcha: Disable addurl trigger for hCaptcha edits / T409822: hCaptcha: Disable addurl rule for the editing trial, given that hCaptcha is evaluated on the edit and create triggers. However, we missed that the rule should only be conditionally disabled, as hCaptcha isn't yet integrated in the API editing pathway.

Acceptance criteria

  • Edits made via the API (DiscussionTools, VisualEditor, etc) should continue to have the addurl trigger enabled

Event Timeline

Change #1205102 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[operations/mediawiki-config@master] hCaptcha: Conditionally disable the addurl rule

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

Change #1205102 merged by jenkins-bot:

[operations/mediawiki-config@master] hCaptcha: Conditionally disable the addurl rule

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

Mentioned in SAL (#wikimedia-operations) [2025-11-17T09:11:49Z] <kharlan@deploy2002> Started scap sync-world: Backport for [[gerrit:1205102|hCaptcha: Conditionally disable the addurl rule (T410123)]]

Mentioned in SAL (#wikimedia-operations) [2025-11-17T09:16:18Z] <kharlan@deploy2002> kharlan: Backport for [[gerrit:1205102|hCaptcha: Conditionally disable the addurl rule (T410123)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-11-17T09:22:36Z] <kharlan@deploy2002> Finished scap sync-world: Backport for [[gerrit:1205102|hCaptcha: Conditionally disable the addurl rule (T410123)]] (duration: 10m 47s)

dom_walden subscribed.

We checked that we could trigger the addurl consequence via the VisualEditor, DiscussionTools and the MobileFrontend (source and visual) yesterday on testwiki.

There are bugs with the way Apps handle captchas T410276, but not related to this work.