Page MenuHomePhabricator

hide mediawiki/wmf sub-groups from the gerrit groups section
Open, LowPublicFeature

Description

Why

  • Reduce the amount of noise in the Gerrit groups section.

What

  • If a user is in the mediawiki or wmf group, suppress all minor groups that inherit mediawiki and wmf, such as everything except mediawiki and extension-PageTriage and Trusted-Contributors in the below screenshot:

image.png (377×2 px, 67 KB)

Event Timeline

Chlod subscribed.

No way to do this right now with the existing Gerrit API without downloading a really big amount of data per group, as far as I can tell. This is why this includes all groups in the first place. This needs an upstream change on Gerrit's API (and of course, we have to update to that version of Gerrit when it comes out).

Chlod triaged this task as Low priority.May 7 2025, 12:31 PM
Chlod moved this task from Backlog to Enhancements on the Tool-techcontribs board.

Could do it the hacky way:

if ( groups.mediawiki || groups.wmf ) {
    delete groups.AhoCorasick;
    delete groups.at-ease;
    delete groups.base-convert;
    delete groups.CLDRPluralRuleParser;
    // etc.
}
Novem_Linguae renamed this task from hide mediawiki sub-groups from the gerrit groups section to hide mediawiki/wmf sub-groups from the gerrit groups section.May 7 2025, 4:44 PM
Novem_Linguae updated the task description. (Show Details)