Page MenuHomePhabricator

Instrument bulk blocking of connected temporary accounts
Closed, ResolvedPublic

Description

Motivation

We want to understand whether enabling patrollers to apply the same block to connected temporary accounts reduces friction in enforcement workflows and is adopted in practice. This feature is intended to streamline actions taken on clusters of abusive accounts while still supporting investigation before action. Instrumentation will allow us to validate both adoption and whether users meaningfully review accounts before blocking.

Background

We are introducing functionality on Special:Block that allows administrators to apply a block to all connected temporary accounts when blocking a target temporary account.
The feature includes:

  • A checkbox to apply the block to all connected temporary accounts
  • A list of connected temporary accounts
  • Each account in the list links to Special:Contributions to allow investigation before taking action
  • On submission, applying the same block to all selected connected temporary accounts
Instrumentation

Add some instrumentation to capture the following:

EventInformationEvent action name
Special:Block page is visited with a temporary account target and the user has access to the featureDenominator for feature exposureviewed-tempaccount
Connected temporary accounts are detected and the bulk-block option is shownDenominator for feature availabilityfound-connected-tempaccounts
How many connected temporary accounts were foundScale of potential featurefound-connected-tempaccounts-count
How many connected temporary accounts were found (aggregate)Scale of potential feature effectfound-connected-tempaccounts-sum
Block is submitted with bulk-block option enabledNumerator for feature usageis-bulk-blocking
Block is submitted without bulk-block option enabledBaseline comparisonnot-bulk-blocking
Number of connected temporary accounts at time of block (bucketed or averaged)Context for usage (cluster size)totalblocksattempted
Number of accounts successfully blocked via bulk actionMeasures actual impacttotalblockssucceeded
Number of accounts successfully blocked via bulk action (aggregate)Measures actual impactsuccessfully-blocked-connected-tempaccount-sum
Number of connected accounts already blockedHelps understand overlap / redundancytotalalreadyblocked
Number of connected accounts already blocked (aggregate)Helps understand overlap / redundancyalready-blocked-connected-tempaccount-sum
How we will use the information

This instrumentation will allow us to measure:

  • How often administrators encounter clusters eligible for bulk blocking: TA targets / eligible targets
  • How often the bulk-block option is used when available (if the feature is available, is it actually used?): bulk block submitted / (bulk block + single submits)
  • How many additional accounts are blocked via bulk actions: aggregate connected accounts
  • What is the typical number of accounts affected per bulk block?: blocks made / total attempted
  • How often are connected accounts already blocked (indicating overlap or reduced need)?: already blocked / total attempted
  • What is the typical size of connected account clusters (e.g. small vs large groups)?: count of connected accounts on TA

This will help determine whether bulk blocking becomes part of the standard enforcement workflow and whether it meaningfully increases efficiency,

We want to asses the numbers on a weekly basis until the end of Q4

Event Timeline

Change #1262140 had a related patch set uploaded (by STran; author: STran):

[mediawiki/core@master] Allow components in Special:Block to be aware of successful blocks

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

Change #1262142 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/CheckUser@master] Instrument the connected temp accounts bulk blocking feature

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

Change #1262140 abandoned by STran:

[mediawiki/core@master] Allow components in Special:Block to be aware of successful blocks

Reason:

unneeded

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

Change #1262142 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Instrument the connected temp accounts bulk blocking feature

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

Change #1270033 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/CheckUser@master] Fix overcounting bug in connected accounts blocking instrumentation

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

Change #1270033 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Fix overcounting bug in connected accounts blocking instrumentation

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

Change #1278360 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/CheckUser@master] Update action parameter for instrumented events

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

Change #1278380 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/CheckUser@wmf/1.46.0-wmf.24] Update action parameter for bulk blocking instrumented events

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

Change #1278381 had a related patch set uploaded (by STran; author: STran):

[mediawiki/extensions/CheckUser@wmf/1.46.0-wmf.26] Update action parameter for bulk blocking instrumented events

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

Change #1278360 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Update action parameter for bulk blocking instrumented events

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

Change #1278381 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.46.0-wmf.26] Update action parameter for bulk blocking instrumented events

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

Mentioned in SAL (#wikimedia-operations) [2026-04-28T13:16:16Z] <stran@deploy1003> Started scap sync-world: Backport for [[gerrit:1278381|Update action parameter for bulk blocking instrumented events (T420517)]], [[gerrit:1278442|Resources: Define required message for 'oojs-ui-windows' module (T424653)]]

Mentioned in SAL (#wikimedia-operations) [2026-04-28T13:22:05Z] <stran@deploy1003> dreamyjazz, stran: Backport for [[gerrit:1278381|Update action parameter for bulk blocking instrumented events (T420517)]], [[gerrit:1278442|Resources: Define required message for 'oojs-ui-windows' module (T424653)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-04-28T13:31:26Z] <stran@deploy1003> Finished scap sync-world: Backport for [[gerrit:1278381|Update action parameter for bulk blocking instrumented events (T420517)]], [[gerrit:1278442|Resources: Define required message for 'oojs-ui-windows' module (T424653)]] (duration: 15m 10s)

Change #1278380 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.46.0-wmf.24] Update action parameter for bulk blocking instrumented events

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

Mentioned in SAL (#wikimedia-operations) [2026-04-29T13:43:48Z] <stran@deploy1003> Started scap sync-world: Backport for [[gerrit:1278380|Update action parameter for bulk blocking instrumented events (T420517)]], [[gerrit:1279279|Support staggered rollout via Test Kitchen (T424220)]], [[gerrit:1279280|Update IRS instrumentation (T424075)]], [[gerrit:1279335|Instrument link clicks on success pages per spec (T424075)]], [[gerrit:1279269|Enable staggered rollout for IRS on testwiki (T

Mentioned in SAL (#wikimedia-operations) [2026-04-29T13:45:40Z] <stran@deploy1003> stran: Backport for [[gerrit:1278380|Update action parameter for bulk blocking instrumented events (T420517)]], [[gerrit:1279279|Support staggered rollout via Test Kitchen (T424220)]], [[gerrit:1279280|Update IRS instrumentation (T424075)]], [[gerrit:1279335|Instrument link clicks on success pages per spec (T424075)]], [[gerrit:1279269|Enable staggered rollout for IRS on testwiki (T424075)]] synced t

Mentioned in SAL (#wikimedia-operations) [2026-04-29T13:51:14Z] <stran@deploy1003> Finished scap sync-world: Backport for [[gerrit:1278380|Update action parameter for bulk blocking instrumented events (T420517)]], [[gerrit:1279279|Support staggered rollout via Test Kitchen (T424220)]], [[gerrit:1279280|Update IRS instrumentation (T424075)]], [[gerrit:1279335|Instrument link clicks on success pages per spec (T424075)]], [[gerrit:1279269|Enable staggered rollout for IRS on testwiki (