Oversighters should only be able to suppress a username for sitewide blocks (not partial blocks) via "Hide username from edits and lists" checkbox
Open, LowPublic5 Story Points


Via Special:Block, users with oversight permissions (and the hideuser right) can configure a block to both prevent a user from editing ("block") and scrub the UI of their username ("suppress"). On Test Wiki this is limited to only indefinite blocks, but it may be different across our various wikis.

Suppression is only appropriate for sitewide blocks. Defect: The Sp:Block UI allows an oversighter to suppress a user for a partial block.

Acceptance criteria

  • For users with the hideuser right...
    • On Special:Block, the "Hide username from edits and lists" checkbox should only appear if the radio button is set to "Sitewide"
    • If the person changes a suppressed sitewide block to a partial block, it should become unsuppressed.
    • API submissions to suppress for partial blocks should return an appropriate error message
TBolliger triaged this task as Normal priority.
Restricted Application added subscribers: MGChecker, Aklapper. · View Herald TranscriptTue, Nov 20, 7:44 PM
TBolliger lowered the priority of this task from Normal to Low.
TBolliger moved this task from Untriaged to Cards ready to be estimated on the Anti-Harassment board.
TBolliger updated the task description. (Show Details)EditedThu, Nov 29, 7:19 PM
TBolliger set the point value for this task to 5.

Change itself should be simple, but 5 because there will likely be a lot of if/then conditions. Some uncertaintly about log lines (do they become unsuppressed?)

And we should write tests