https://bugzilla.wikimedia.org/show_bug.cgi?id=27004

           Summary: Create {{#ifpageincat}} ParserFunction
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: ParserFunctions
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: douglas.gard...@wikinewsie.org


It would be useful to have a parser function that works this out; for example,
an archive box for an RfA could have different colours depending on whether it
was passed or failed; a tasks template could hide itself if another, more
comprehensive template superseded it, and so on.

Example:
{{#ifpageincat: Main Page | Category:Wikipedia | value if true | value if
false}}

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to