Page MenuHomePhabricator

Special:CentralAuth should provide the same blocking information as Special:BlockList does
Open, NormalPublic3 Story Points

Description

Special:CentralAuth shows if a user is blocked on a wiki, some block parameters, and the block reason. This is not appropriate for partial blocks.

https://meta.wikimedia.org/w/index.php?title=Special%3ACentralAuth&target=Test-bad-person-to-be-blocked


Acceptance criteria

  • The Blocked column displays the same information as the Special:BlockList does on the local wiki.

For example (see fifth column) -

  • In cases where there are local namespaces the user is blocked on, we can show that as: ...and 3 local namespaces and link to the Special:BlockList entry on the local wiki, instead of listing the local namespaces.

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Change 501452 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/extensions/CentralAuth@master] Remove partial blocks from Special:CentralAuth

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

I think it'd be useful to display if a person is partially blocked on CentralAuth. Stewards and other people look at CentralAuth to see the blocking status of accounts, etc. If a candidate for permission X or other type of global access is partially blocked that information is very much relevant for us. I do not support removing the existance of partial blocks via CentralAuth. Make it properly display that the block is partial instead. Thanks.

Hi, I am afraid I do not understand the reasoning.

In your screenshot the account is fully (and not partially [whatever that means]) blocked on testwiki. Of course, that local block should be shown in a summary of the global account status which gives information on every single wiki. That's the reason of a local block while there is another field called “Locked: yes” which indicates that the account is globally locked.

Please help me understand what you mean with “partial” block. Thank you! :-)

Base awarded a token.Apr 5 2019, 1:49 PM
Base added a subscriber: Base.
SPoore added a subscriber: SPoore.EditedApr 5 2019, 3:37 PM

@MarcoAurelio @DerHexer Let me try to answer as to why the original plan was to remove partial blocks from Special:CentralAuth and also reassure you that your feedback is essential for having the block feature work well for all necessary workflows that use it. So thank you for commenting.

Partial block was introduced primarily to address low level user misconduct that does not require a user to be blocked from the entire local wiki and certainly not globally blocked. This type of low level misconduct up to now was addressed on many wikis with warnings and instructions to users to stay away from certain pages or parts of a wiki. A longstanding request by admins was for changes to the block feature so a user could be blocked from pages or namespaces. A tech way to enforce user conduct sanctions. So, from the start the idea was to distinguish partial block from sitewide blocks, and lower the stigma associated with them. For this reason, partial block was not going to be indicated on CentralAuth.

Special:Block will be used much more often for sitewide blocks to address much more serious types of abuse. It is important to not disrupt workflows used by stewards, global admins, and local admins. So, we need to understand if having a partial block noted in CentralAuth is essential to workflows. If it is, then we can reconsider.

Masti added a subscriber: Masti.Apr 5 2019, 10:48 PM
Tegel added a subscriber: Tegel.Apr 6 2019, 9:23 PM
revi added a subscriber: revi.Apr 7 2019, 11:41 AM

As far as I can see, almost everyone who took part in the discussion (about 10 participants [or more] excluding me) has said they want to see "partial" block information in the CA workflow. I think individuals can say what they think if they are inclined to do so.

revi awarded a token.Apr 7 2019, 11:42 AM

@SPoore Thanks for clarifications. Now I understood what you meant with partial blocks. However, I still think that we should be transparent about that in general while functionaries should definitely see that at any time.

@MarcoAurelio @DerHexer @revi @Trijnstel It sounds like there is consensus to show partial block information on the CentralAuth page. We could do this similar to how it is displayed on Special:BlockList (5th column):


Does that sound good to everyone?

revi added a comment.Apr 10 2019, 2:57 AM

Looks good to me, I'll bring this to internal discussion.

dbarratt changed the task status from Open to Stalled.Apr 11 2019, 12:06 AM
dbarratt moved this task from In Progress to Ready on the Anti-Harassment (Heth - ח) board.

Just a note on listing the restrictions: The page titles will not be localized (they will be displayed in the wiki's content language). Likewise the core namespaces will be localized, but the local namespaces (extensions and custom) will not be (again, they will display in the wiki's content language). Is this acceptable?

dbarratt removed dbarratt as the assignee of this task.Apr 11 2019, 12:07 AM
dbarratt added a subscriber: dbarratt.
revi added a comment.Apr 11 2019, 8:22 AM

I think we can manage with that, since we can easily look over which NS has that name (or ask people who know that language).

For example when someone is applying for Global Sysop, information that they are 'partial'ly blocked on wiki X is something we can ask candidates for clarification, or for other case we are investigating, we usually have someone who is familiar with the language to tell us what is the correct translation for the localized stuff.

Niharika changed the task status from Stalled to Open.Apr 11 2019, 6:51 PM
Niharika updated the task description. (Show Details)

@revi Thanks for the feedback. I have updated the task description.

Niharika renamed this task from Special:CentralAuth should not indicate if a user is partially blocked to Special:CentralAuth should provide the same blocking information as Special:BlockList does.Apr 11 2019, 6:57 PM
Niharika edited projects, added Anti-Harassment; removed Anti-Harassment (Heth - ח).
Niharika removed the point value for this task.

@MarcoAurelio @DerHexer @revi @Trijnstel It sounds like there is consensus to show partial block information on the CentralAuth page. We could do this similar to how it is displayed on Special:BlockList (5th column):



Does that sound good to everyone?

Thank you. Sounds good.

Niharika updated the task description. (Show Details)Apr 18 2019, 6:20 PM
Niharika set the point value for this task to 3.
Niharika raised the priority of this task from Low to Normal.Apr 24 2019, 6:32 PM
dbarratt moved this task from Ready to In Progress on the Anti-Harassment (Yōd - י) board.
MJL added a subscriber: MJL.May 21 2019, 8:25 PM
aezell closed this task as Resolved.May 24 2019, 6:11 PM
aezell reopened this task as Open.May 24 2019, 6:13 PM
aezell moved this task from Ready to In Progress on the Anti-Harassment (Kaf - כ) board.
dbarratt removed dbarratt as the assignee of this task.May 30 2019, 3:53 AM
dbarratt moved this task from In Progress to Ready on the Anti-Harassment (Kaf - כ) board.
dbarratt claimed this task.Jun 4 2019, 12:00 AM
dbarratt moved this task from Ready to In Progress on the Anti-Harassment (Kaf - כ) board.
dbarratt removed dbarratt as the assignee of this task.Jun 13 2019, 2:36 PM
dbarratt moved this task from In Progress to Ready on the Anti-Harassment (Lāmed - ל) board.
dbarratt claimed this task.Jun 18 2019, 4:16 PM
dbarratt moved this task from Ready to In Progress on the Anti-Harassment (Lāmed - ל) board.
dbarratt changed the edit policy from "Custom Policy" to "All Users".

Change 518087 had a related patch set uploaded (by Dbarratt; owner: Dbarratt):
[mediawiki/extensions/CentralAuth@master] Add blocking details for partial blocks to Special:CentralAuth.

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

@Niharika @dbarratt I have a question about how to display the list when there are a mix of local and global namespaces in the block.

With the current patch, a partial block displays something like this:

Global namespaces blockedLocal namespaces blocked

If there are a mixture of global and local namespaces, we could use either of these two options (the current patch uses the one on the left):

With "... and"Without "... and"

My preference is for not using "... and". That way the translation messages are simpler, and the list is visually consistent with the list of local pages ("Foo" and "Bar" here), which doesn't add a preface to the final item.

@Tchanders I agree with not using ...and. It looks much cleaner and consistent without it while conveying the same information. Was it a conscious design decision to add it initially?

@Niharika Not that I'm aware of, it just came up in code review because of the messages

Change 501452 abandoned by Dbarratt:
Remove partial blocks from Special:CentralAuth

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