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

           Summary: parser function to detect if the current page is in a
                    given category
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]


It would be useful to be able to detect if the current page in in a given
category, with a parser function, e.g. {{#ifincategory: Foo| value if true |
value if false }} .

This could be used to refine template appearance, for sorting purposes
(especially in maintenance), it would also allow to enable per-category
editnotices, more efficiently than using editintro via common.js (doesn't work
for sections, can't be hidden, etc).


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to