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

           Summary: Add a #switchskin 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: mathsma...@gmail.com


I am asking if a #switchskin ParserFunction can be added, which basically does
the following:

{{#switchskin:
  |monobook=text displayed if Monobook is used
  |vector=text displayed if Vector is used
  |#default=text displayed if any other skin is used
}}

This ParserFunction should be similar to how #switch is used, but is switched
by the skin a user/IP is using. It would be useful to display different
versions of CSS for different skins, as skins implement CSS differently. It can
also be used to display different messages to different skin users.

-- 
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