Page MenuHomePhabricator

Implement mw.toolbar.addButtons (loop mw.toolbar.addButton)
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: enhancement

Details

Reference
bz40518

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:11 AM
bzimport set Reference to bz40518.

Change 25262 had a related patch set uploaded by Helder.wiki:
(bug 40518) Implement mw.toolbar.addButtons

https://gerrit.wikimedia.org/r/25262

Change 25262 had a related patch set uploaded by Helder.wiki:
(bug 40518) Implement mw.toolbar.addButtons

https://gerrit.wikimedia.org/r/25262

Change 25262 merged by jenkins-bot:
Implement mw.toolbar.addButtons

https://gerrit.wikimedia.org/r/25262