* Fix r111983 (bug 34662): make mw.toolbar.addButton() work even after DOM ready
authorTim Starling <tstarling@users.mediawiki.org>
Sun, 26 Feb 2012 22:46:40 +0000 (22:46 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sun, 26 Feb 2012 22:46:40 +0000 (22:46 +0000)
commit2fe53c67aa2bc7b8029cdc756a700bbfe3689213
tree64bbaabc4e75ca5ba6715f3e9b12b567090cd9b5
parent3e86e41c225b6fefe728b00a9e9466c0d34928e8
* Fix r111983 (bug 34662): make mw.toolbar.addButton() work even after DOM ready
* Don't use an empty array as the default for $toolbar, use false which will throw an exception on a logic error.
* Fix exception handling in mw.loader: have handlePending() rethrow its exception so that the exception handler in execute() can run, so that the exception gets logged. But don't rethrow the exception in execute(), because that may break other modules.
resources/mediawiki.action/mediawiki.action.edit.js
resources/mediawiki/mediawiki.js