Page MenuHomePhabricator

UserInfoCard: Display global user groups
Closed, ResolvedPublic0.25 Estimated Story Points

Description

Summary

Like T391831: UserInfoCard: Display user groups, but instead for showing global groups.

Background

This was requested via feedback on the Wikimedia Community Discord.

User story

As a user, I want to be able to easily identify global sysops, stewards, rollbackers, etc.

Specification

A new row in the data points for "Global groups: {comma-separated-list-of-global-groups}". If the user has no global groups, do not display the line.

image.png (1×868 px, 189 KB)

Technical notes

Use the getGlobalGroups in CentralAuthUser

Acceptance criteria

  • Viewing the UserInfoCard for a user with global groups displays their list of groups

Event Timeline

Change #1164666 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] (WIP) UserInfoCard: Display active global groups

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

Change #1164666 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UserInfoCard: Display active global groups

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

kostajh added subscribers: dom_walden, Niharika.

It seems that this should instead show global groups, regardless of whether they are enabled on the local wiki. (cc @dom_walden @Niharika)

It seems that this should instead show global groups, regardless of whether they are enabled on the local wiki. (cc @dom_walden @Niharika)

That would make more sense. I did not realize we weren't showing those - it's not clear from the task.

OKryva-WMF triaged this task as Medium priority.Jul 23 2025, 9:46 AM
OKryva-WMF set the point value for this task to 0.5.
kostajh changed the point value for this task from 0.5 to 0.25.Jul 23 2025, 10:19 AM
kostajh updated the task description. (Show Details)

We should use getGlobalGroups and not getActiveGlobalGroups to resolve this task.

Change #1172103 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/CheckUser@master] CheckUserUserInfoCardService: Use global groups, not just active ones

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

Change #1172103 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] CheckUserUserInfoCardService: Use global groups, not just active ones

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

kostajh added a subscriber: Dreamy_Jazz.

I'd be OK with this one skipping QA, as the code reviewer, what do you think @Dreamy_Jazz?

I'd be OK with this one skipping QA, as the code reviewer, what do you think @Dreamy_Jazz?

+1