As an administrator I want to change the block status for a blocked user from my mobile device, so that I can allow the user to continue editing.
In the overflow menu on mobile web, users with the block user right see a 'Block user' button on user pages (T307341). If the user is blocked, this button still says 'Block user' and still navigates only to Special:Block. This means that while editors can change that user's block status, they cannot easily access Special:Unblock except through a small link on the block page.
We could contextually show a link to Special:Unblock with the text 'Unblock user', and change the 'Block user' text to 'Change block'.
Design
These items should replace the location of the 'Block user' button in the current list.
Text | Destination | OOUI icon |
Change block | Special:Block/USERNAME | block |
Unblock user | Special:Unblock/USERNAME | unBlock |
Acceptance criteria
- When a user who has the block user right visits a user page for a blocked user, the Overflow menu should have a 'Change block' item which links to Special:Block and a 'Unblock user' item which links to Special:Unblock.
- The 'Block user' list item should no longer be shown
- For users without the block user right, no block-related items should be shown in this menu
- For users with the block user right, on user pages for users who are not blocked, no change should take place in this menu