Page MenuHomePhabricator

Add hook to get IPs to retroactively globally auto block
Closed, ResolvedPublic1 Estimated Story Points

Description

A hook is needed that allows GlobalBlocking to be given a configurable length list of IP addresses to retroactively globally autoblock. This means that extensions, such as CheckUser, can provide this list to allow the GlobalBlocking extension to perform the global autoblocks.

Note: The hook will differ from the PerformRetroactiveAutoblock, as implementations of the hook will not be expected to perform the autoblocking. This is so that GlobalBlocking can be in charge of determining the duration and scope of the global autoblocks.

Event Timeline

Dreamy_Jazz renamed this task from Add GetRetroactiveGlobalAutoblockIPs hook to Add hook to get IPs to globally auto block.Sep 17 2024, 8:30 PM

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

[mediawiki/extensions/GlobalBlocking@master] Add GlobalBlockingGetRetroactiveAutoblockIPsHook

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

Dreamy_Jazz renamed this task from Add hook to get IPs to globally auto block to Add hook to get IPs to retroactively globally auto block.Sep 17 2024, 9:02 PM

Change #1073558 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Add GlobalBlockingGetRetroactiveAutoblockIPsHook

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

I think this can skip QA (cc @Dreamy_Jazz).

Yes. There is no on-wiki interface changes, and it can be indirectly QA'd through other tickets.