Special:GlobalBlockStatus allows a user with appropriate permissions to see what wikis have applied a local override to a global block and modify the override. This special page should support doing this for global blocks on accounts if it is made possible to override a global block on an account.
Description
Details
Event Timeline
Change 1006911 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):
[mediawiki/extensions/GlobalBlocking@master] [WIP] Update GlobalBlockLocalStatusLookup for account blocks
Change 1012667 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):
[mediawiki/extensions/GlobalBlocking@master] Use the GlobalBlockLocalStatusManager service in special page
Change 1012707 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):
[mediawiki/extensions/GlobalBlocking@master] Test SpecialGlobalBlockStatus
Change 1012714 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):
[mediawiki/extensions/GlobalBlocking@master] Update GlobalBlockLocalStatusLookup for account blocks
Change 1012798 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):
[mediawiki/extensions/GlobalBlocking@master] Deprecate looking up local status by target username
Change 1012707 merged by jenkins-bot:
[mediawiki/extensions/GlobalBlocking@master] Test SpecialGlobalBlockStatus
Change 1012667 merged by jenkins-bot:
[mediawiki/extensions/GlobalBlocking@master] Use the GlobalBlockLocalStatusManager service in GlobalBlockStatus
Change 1012798 merged by jenkins-bot:
[mediawiki/extensions/GlobalBlocking@master] Deprecate GlobalBlockLocalStatusLookup::getLocalWhitelistInfoByIP
Change #1012714 merged by jenkins-bot:
[mediawiki/extensions/GlobalBlocking@master] Update Special:GlobalBlockStatus for account blocks
Suggested QA steps:
- Create global blocks on an account, IP and IP range for testing
- For each of these blocks use the Special:GlobalBlockStatus form to locally disable and then re-enable the block, making sure that the page does not error out and when the block is disabled locally is listed as such on Special:GlobalBlockList
- Enter an invalid username (such as #) into Special:GlobalBlockStatus
and expect that it gives you an error indicating that the target is invalidand expect that it gives an error that no global block exists for that username - Try to use the form for a target that is not globally blocked and assert that the form gives you an error detailing that no global block exists
I cannot change the global block status of Drwpb1 on enwiki beta: https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Special:GlobalBlockWhitelist&address=Drwpb1
Instead, on form submission, it says: The IP address (0.0.0.0) you entered is not globally blocked.
I have been able to successfully change the status of global account blocks locally.
It looks like the beta wikis have not been updated since 21st of March due to T360595. That would explain this as some of the changes in this ticket were not merged until after the updates started failing.
I have verified the new code has been implemented and is functioning and displaying as expected... Thank You @Dreamy_Jazz!!!
Before New Code Change:
After New Code Change:
Error Handling Validation-- Error Message detailing Username specifically:
Confirmation message detailing Username specifically: