Page MenuHomePhabricator

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


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 raised the priority of this task from to Needs Triage.
Crochet.david updated the task description. (Show Details)
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 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 TranscriptMay 18 2019, 2:14 PM
Jdforrester-WMF triaged this task as Low priority.May 18 2019, 2:14 PM