Page MenuHomePhabricator

Special:UserGroupRights should display user group technical name
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where):
https://en.wikipedia.org/wiki/Special:ListGroupRights displays the technical names of rights such as autopatrol. But it currently hides the technical names of user groups such as autoreviewer. Instead it says "Autopatrolled". My feature request is to add the technical names somewhere on this page, perhaps in parentheses by the alias. So for example: Autopatrolled (autoreviewer) (list of members)

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):
Looking up user group names when programming other things. For example, if I want to write some JavaScript to check if someone is autopatrolled, then I can look at this list and figure out I need "autoreviewer" to do something like if ( mw.config.get('wgUserGroups').indexOf('autoreviewer') !== -1 )

Benefits (why should this be implemented?):
Unbury useful information for programmers. I currently look by hoving over the link "list of members" and looking at the URL

Before:

image.png (437×393 px, 14 KB)

After:

image.png (542×416 px, 23 KB)

Event Timeline

Change 834033 had a related patch set uploaded (by Novem Linguae; author: Novem Linguae):

[mediawiki/core@master] Have Special:UserGroupRights display user group technical name

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

Change 834033 merged by jenkins-bot:

[mediawiki/core@master] Have Special:UserGroupRights display user group technical name

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

I suggest specifying lang=en dir=ltr on this to avoid bi-di issues in RTL interface languages.

We should probably do the same for other special pages that list user groups.