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

       Web browser: ---
             Bug #: 31414
           Summary: Skin specific gadgets
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Gadgets
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Many gadgets today work or are intended to work only in some specific skins. It
can be because the gadget "fixs" some issue in a specific skin, or because it
is legacy gadget working only in some specific skins. (As you can see in
[[:en:Special:Preferences#mw-prefsection-gadgets]] by searching "monobook" or
"vector" there are already many scripts that work only in some skins).

Currently it is possible to mention specific rights needed for the user in
gadgets-defintion in the format of:
gadget[rights=...]

I would like to request the same for skin - to declare for a gadget that works
only in one or more skins.

This can be achieved easily by adding a small if in Gadget::isAllowed + another
case in Gadget::newFromDefinition.

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