https://bugzilla.wikimedia.org/show_bug.cgi?id=47872
--- Comment #9 from Bartosz DziewoĆski <matma....@gmail.com> --- billinghurst, this has nothing to do with switching to the new toolbar; mw.toolbar.addButton works with and is intended for the old one, and the change is just a simple find and replace: Find: mwCustomEditButtons[mwCustomEditButtons.length] = { ... } Replace with: mw.toolbar.addButton({ ... }) Just be careful about braces and parentheses. Here's an example diff: https://nl.wikipedia.org/w/index.php?title=Gebruiker:Romaine/vector.js&diff=37497149&oldid=37497060 -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l