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.
bzimport set Reference to bz40518.
He7d3r created this task.Sep 26 2012, 12:33 AM

Gerrit Change I76d1f753

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

Merged at last.