Page MenuHomePhabricator

Allow global blocking special pages to remove and locally disable blocks based on their global block ID
Closed, ResolvedPublic2 Estimated Story Points

Description

The GlobalBlocking special pages currently allow users to pass in a username or IP as the target when removing or locally disabling blocks. We should allow the user to specify a global block ID, so that global autoblocks can be removed or locally disabled without having to know the target of the autoblock. This is so that we consistent with the local blocking pages.

Acceptance criteria
  • The Special:RemoveGlobalBlock and Special:GlobalBlockStatus special pages are updated to allow taking a global block ID as the target

Event Timeline

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

[mediawiki/extensions/GlobalBlocking@master] [WIP] Allow removal and disabling of global blocks using an ID

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

Currently none of globalblocking blocked messages mentions a block ID, but we may add it to assist appeal processes.

Currently none of globalblocking blocked messages mentions a block ID, but we may add it to assist appeal processes.

The block ID is AFAIK used in the composite message (per T342870). We could expand the messages to include the ID and would be needed for the message used for an autoblock block message.

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

[mediawiki/extensions/GlobalBlocking@master] Update services to support managing global blocks via ID

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

Change #1077451 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Update services to support managing global blocks via ID

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

Change #1077064 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Allow removal and disabling of global blocks using an ID

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

We didn't add the support to modify a global block using it's global block ID. Moving back to 'In Progress'.

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

[mediawiki/extensions/GlobalBlocking@master] Allow Special:GlobalBlock to modify global blocks through block ID

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

Dreamy_Jazz renamed this task from Allow global blocking special pages to modify, remove and locally disable blocks based on their global block ID to Allow global blocking special pages to remove and locally disable blocks based on their global block ID.Oct 16 2024, 9:36 PM
Dreamy_Jazz updated the task description. (Show Details)
Djackson-ctr subscribed.

QA has been completed (Special pages:RemoveGlobalBlock and GlobalBlockStatus are updated to allow taking a global block ID as the target).