Background
Before, you could only place a single block on a user at a time. So the only information you need to remove a block is the username, i.e. Special:Unblock/Username.
With multiblocks, we need a means to remove a specific block on a user. This is necessary for no-JS users, and for any "unblock" links that may appear elsewhere on the wiki (such as Special:BlockList or at the top of Special:Contribs/SomeBlockedUser).
We've decided we do not want to update the form to use Codex.
Acceptance criteria
SpecialUnblock.php:
- If neither the user/IP nor an id is specified
- no change from current functionality
- When the user is specified
- hide the "IP address, username or block ID" input and show the username/IP instead
- show the "reason" input
- show the "Watch this user's user and talk pages" checkbox
- Show a button saying "remove all blocks for this user"
- clicking the button will remove all blocks (after asking for confirmation)
- Show a full list of active blocks for the user
- Show the block log and the suppression log underneath
- When id is supplied
- hide the "IP address, username or block ID" input and show the username/IP instead
- show the "reason" input
- show the "Watch this user's user and talk pages" checkbox
- Show a button saying "remove block"
- clicking the button will remove the specified block (after asking for confirmation)
- show only the block that's about to be removed