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