Page MenuHomePhabricator

New parser function {{#useris|user|group}}
Open, LowPublic

Description

Create a new parser fonction to indicate if a user is in a user_group.

"group" is limited to the group listed in the Special:ListUsers page

This function return yes (if the user isin the usergroup called) or no in other case.

Event Timeline

Crochet.david updated the task description. (Show Details)
Crochet.david raised the priority of this task from to Needs Triage.
Crochet.david added a project: ParserFunctions.
Crochet.david added a subscriber: Crochet.david.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald TranscriptDec 29 2015, 9:55 AM

I proposed exposing this information from Lua in https://gerrit.wikimedia.org/r/#/c/188503/ and Tim didn't like it because changes to user groups don't have a practical way to invalidate caches of pages that use the information.

Dalba awarded a token.Mar 18 2016, 3:07 AM
Dalba added a subscriber: Dalba.
Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptSat, May 18, 2:14 PM
Jdforrester-WMF triaged this task as Low priority.Sat, May 18, 2:14 PM