Page MenuHomePhabricator

Update the GlobalBlockManager service to support global autoblocks
Closed, ResolvedPublic2 Estimated Story Points

Description

The GlobalBlockManager service needs to be updated to support managing global autoblocks. This includes:

  • Marking a block as being able to cause autoblocks
  • Creating, updating and removing global autoblocks
  • Retroactively autoblocking using IPs acquired from the hook added in T374850

Event Timeline

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

[mediawiki/extensions/GlobalBlocking@master] [WIP] Update GlobalBlockManager for global autoblocks

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

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

[mediawiki/extensions/GlobalBlocking@master] Update GlobalBlockManager::block to allow code to enable autoblocks

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

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

[mediawiki/extensions/GlobalBlocking@master] Add GlobalBlockLookup::getAutoblockReason

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

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

[mediawiki/extensions/GlobalBlocking@master] Add wgGlobalBlockingEnableAutoblocks

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

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

[operations/mediawiki-config@master] Define wgGlobalBlockingEnableAutoblocks as false

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

Change #1078713 merged by jenkins-bot:

[operations/mediawiki-config@master] Define wgGlobalBlockingEnableAutoblocks as false

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

Mentioned in SAL (#wikimedia-operations) [2024-10-08T16:42:24Z] <dreamyjazz@deploy2002> Started scap sync-world: Backport for [[gerrit:1078713|Define wgGlobalBlockingEnableAutoblocks as false (T374853)]], [[gerrit:1078712|Remove wgGlobalBlockingAllowGlobalAccountBlocks as unused]]

Mentioned in SAL (#wikimedia-operations) [2024-10-08T16:44:36Z] <dreamyjazz@deploy2002> dreamyjazz: Backport for [[gerrit:1078713|Define wgGlobalBlockingEnableAutoblocks as false (T374853)]], [[gerrit:1078712|Remove wgGlobalBlockingAllowGlobalAccountBlocks as unused]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-10-08T16:49:15Z] <dreamyjazz@deploy2002> Finished scap sync-world: Backport for [[gerrit:1078713|Define wgGlobalBlockingEnableAutoblocks as false (T374853)]], [[gerrit:1078712|Remove wgGlobalBlockingAllowGlobalAccountBlocks as unused]] (duration: 06m 50s)

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

[mediawiki/extensions/GlobalBlocking@master] [WIP] Retroactively autoblock IPs when globally blocking

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

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

[mediawiki/extensions/GlobalBlocking@master] Create GlobalBlock::newFromRow

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

Change #1077963 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Update GlobalBlockManager::block to allow code to enable autoblocks

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

Change #1078655 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Add GlobalBlockLookup::getAutoblockReason

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

Change #1077939 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Add GlobalBlockManager::autoblock

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

Change #1078710 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Add wgGlobalBlockingEnableAutoblocks

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

Change #1079247 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Create GlobalBlock::newFromRow

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

Change #1078723 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Retroactively autoblock IPs when globally blocking

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