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

       Web browser: ---
             Bug #: 40518
           Summary: Improve mw.toolbar.addButton to accept an array of
                    buttons
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: easy
          Severity: normal
          Priority: Unprioritized
         Component: JavaScript
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


It would be handy if mw.toolbar.addButton accepted also an array of buttons.
This would simplify customizations, since most people who add buttons will add
more than one. Here is an example:
https://en.wikipedia.org/wiki/MediaWiki:Common.js/edit.js

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