Page MenuHomePhabricator

UserInfoCard: Display user groups
Closed, ResolvedPublic

Description

Summary

'Groups' was ranked the third most important piece of information in the feedback survey that we ran.

image.png (1,020×1,016 px, 198 KB)

Acceptance criteria

  • List of explicit groups (not implicit groups like *, user, temp) appear in the user info card

Details

Event Timeline

KColeman-WMF renamed this task from UserInfoCard: Design for including groups on card to UserInfoCard: Design for including groups and additional signals.Apr 14 2025, 1:24 PM

@KColeman-WMF should this be "Groups:" for the label and a comma-separated list of groups?

@KColeman-WMF should this be "Groups:" for the label and a comma-separated list of groups?

Yes, in the mockup it says Groups: autopatrolled, event coordinator.

image.png (1,020×1,016 px, 198 KB)

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

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

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

@KColeman-WMF should this be "Groups:" for the label and a comma-separated list of groups?

Yes, in the mockup it says Groups: autopatrolled, event coordinator.

image.png (1,020×1,016 px, 198 KB)

Should the group name be the name used in code, or the human-readable value? e.g. for event coordinator:

  • machine name: eventcoordinator
  • translated label: Event coordinators, Coordinadores de eventos (Spanish)

The translated version is generally ideal, but the machine name is going to be much shorter (albeit in English only)

@KColeman-WMF should this be "Groups:" for the label and a comma-separated list of groups?

Yes, in the mockup it says Groups: autopatrolled, event coordinator.

image.png (1,020×1,016 px, 198 KB)

Should the group name be the name used in code, or the human-readable value? e.g. for event coordinator:

  • machine name: eventcoordinator
  • translated label: Event coordinators, Coordinadores de eventos (Spanish)

The translated version is generally ideal, but the machine name is going to be much shorter (albeit in English only)

Having written that out, I think we need to go with the translated labels associated with these groups.

@KColeman-WMF should this be "Groups:" for the label and a comma-separated list of groups?

Yes, in the mockup it says Groups: autopatrolled, event coordinator.

image.png (1,020×1,016 px, 198 KB)

Should the group name be the name used in code, or the human-readable value? e.g. for event coordinator:

  • machine name: eventcoordinator
  • translated label: Event coordinators, Coordinadores de eventos (Spanish)

The translated version is generally ideal, but the machine name is going to be much shorter (albeit in English only)

Having written that out, I think we need to go with the translated labels associated with these groups.

Yes I agree with that.

kostajh renamed this task from UserInfoCard: Design for including groups and additional signals to UserInfoCard: Display user groups.Jun 19 2025, 12:07 PM

Change #1160879 merged by jenkins-bot:

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

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

Djackson-ctr subscribed.

QA is completed: The new code has been implemented and is functioning as expected (Per the Acceptance Criteria).

image.png (505×482 px, 30 KB)