Page MenuHomePhabricator

Allow SpecialRemoveGlobalBlock to remove a global block on an account
Closed, ResolvedPublic2 Estimated Story Points

Assigned To
Authored By
Dreamy_Jazz
Feb 7 2024, 10:17 PM
Referenced Files
F54981822: image.png
Jun 8 2024, 12:54 AM
F54980406: image.png
Jun 8 2024, 12:54 AM
F54980058: image.png
Jun 8 2024, 12:54 AM
F54980208: image.png
Jun 8 2024, 12:54 AM
F54981987: image.png
Jun 8 2024, 12:54 AM
F54982602: image.png
Jun 8 2024, 12:54 AM

Description

The Special:RemoveGlobalBlock special page allows the removal of a global block. This should be updated to allow removing a global block on an account.

Related Objects

StatusSubtypeAssignedTask
Resolvedkostajh
DeclinedNone
ResolvedNiharika
OpenNone
OpenNone
ResolvedDreamy_Jazz
DeclinedNone
DuplicateNone
ResolvedFeatureDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedMarostegui
ResolvedMarostegui
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz

Event Timeline

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

[mediawiki/extensions/GlobalBlocking@master] Test SpecialRemoveGlobalBlock

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

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

[mediawiki/extensions/GlobalBlocking@master] Update Special:RemoveGlobalBlock to support global account blocks

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

Change #1035484 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Test SpecialRemoveGlobalBlock

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

Change #1035526 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Update Special:RemoveGlobalBlock to support global account blocks

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

Suggested QA steps for patch demo, local wiki, or beta wikis:

  1. Log into an account with the steward group
  2. Perform a variety of global blocks using Special:GlobalBlock that will be used for testing, making sure to create blocks on at least one IP, IP range and account.
  3. Open Special:GlobalBlockList and verify that the blocks you performed appear in the list
  4. Open Special:GlobalUnblock and use the form to remove the blocks you applied in step 2
  5. Open Special:GlobalBlockList and verify that the blocks performed in step 2 are no longer present in the list
  6. Open Special:Log and verify that the log contains entries for each unblock made in step 4
  7. Re-open Special:GlobalUnblock and try to use the form again for the accounts/IPs/IP ranges you have already globally unblocked, and verify that an error indicating that they are not blocked appears
  8. Open Special:GlobalUnblock and enter the target #. Verify that the form returns an error saying the username is invalid
  9. Repeat step 8 with the a username that does not exist (you can check if it does not exist by loading Special:CentralAuth and entering the desired username into that page. If results appear, then try a different username)
Djackson-ctr subscribed.

I have verified the new code has been implemented and is functioning and displaying as expected... Thank You @Dreamy_Jazz!!!

image.png (994×1 px, 125 KB)

image.png (754×1 px, 289 KB)

image.png (617×1 px, 264 KB)

image.png (863×545 px, 207 KB)

image.png (876×473 px, 245 KB)

image.png (608×1 px, 220 KB)