Page MenuHomePhabricator

Redirect organic traffic from Special:Unblock to Special:Block
Closed, ResolvedPublic

Description

Because we want to avoid use cases where an admin could "bulk unblock," and because we eventually want to deprecate the special:unblock page, we will direct all organic traffic to special block:

Story
Given that I have navigated to Special:Unblock without a specified target in the URL, then I should be redirected to Special:Block, where I can search for a target and unblock any active blocks.

Example redirect URL:
https://test.wikipedia.beta.wmflabs.org/wiki/Special:Unblock/

Example valid URL (no redirect)
https://test.wikipedia.beta.wmflabs.org/wiki/Special:Unblock?username
https://test.wikipedia.beta.wmflabs.org/wiki/Special:Unblock?001.203.44
https://test.wikipedia.beta.wmflabs.org/wiki/Special:Unblock?username?blockID12234

Design:
https://www.figma.com/design/3PthdmimQ8FiuhGIsLhmZi/Multiblock?node-id=2952-20341&t=4hJHWDPLU2BHAGeL-1

Details

Event Timeline

You can/should use task templates going forward and assign parent relationships ideally when creating tickets, they make it quicker to remember what's required.

Suggestion: iff a user has visited Special:Unblock and been redirected to Special:Block, we could initially show a message on Special:Block explaining why they were redirected.

image.png (246×700 px, 42 KB)

Change #1108727 had a related patch set uploaded (by Samtar; author: Samtar):

[mediawiki/core@master] SpecialUnblock: Redirect some uses to SpecialBlock

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

From the comment on the patch: "Does this need to check whether Codex Special:Block is enabled first?"

Spoken with the team, yes — will modify

JSengupta-WMF updated the task description. (Show Details)
JSengupta-WMF subscribed.

Updated the design in the description. @TheresNoTime

Change #1108727 merged by jenkins-bot:

[mediawiki/core@master] SpecialUnblock: Redirect some uses to SpecialBlock

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