Extension talk:WikiEditor/Toolbar customization/Library

Extended Extra Buttons Example Scripts
I would point to a script with a complete collection of buttons: User:Schnark/toolbar.js (from de: with multi-part description). --Perhelion 20:57, 12 July 2010 (UTC)

Not Loading up on the Toolbar
so I added the script into MediaWiki:Common.js and it does not seem to be loading... I have tried to flush the cache out and even tried on different machine, no luck.. Any Clue?

Best way for a gadget/user script to replace an existing button
I'm working on a toolbar button for a gadget (ProveIt). For ease of testing, I prefer that this also works as a user script. I want to replace the existing reference button with a new one. I have code to do this the simple way, by removing the old button then adding a new one (not using the below code). However, I think I ran into a race condition.

Can someone confirm whether the approach given here:

should work without race conditions? In the actual code, customizeToolbar would be a function that calls removeToolbar on the old button then addToToolbar on mine.

I don't know if this will behave correctly if the ready inside ext.wikiEditor.toolbar fires after mine (is this possible?). I'm not clear if ready is sure to be over when my using callback fires. I tried to dig through the loader code (particularly the parts about async and ready) but it takes getting used to. Superm401 - Talk 05:51, 20 March 2012 (UTC)