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

           Summary: Add a body class for
                    special-(wgCanonicalSpecialPageName)
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Special pages
        AssignedTo: [email protected]
        ReportedBy: [email protected]


(as suggested in bug 23315 comment 1)

In JavaScript gadgets can be used on any wiki and/or in any language since
wgCanonicalSpecialPageName is available. However in CSS it's not quite as easy
since there's only page-(wgPageName) which is (and should) be localized.

So that http://de.wikipedia.org/w/index.php?title=Spezial:Beiträge would have

<body class="mediawiki ltr ns--1 ns-special page-Spezial_Beiträge
special-Contributions skin-vector">
instead of
<body class="mediawiki ltr ns--1 ns-special page-Spezial_Beiträge skin-vector">

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