https://bugzilla.wikimedia.org/show_bug.cgi?id=31511

--- Comment #37 from Krinkle <[email protected]> 2012-03-09 05:03:02 UTC ---
mw.toolbar.addButton has been further enhanced to allow button insertion at any
time. Wether it is called before or after initialization, it will insert it in
the toolbar (before init it will memorize it until init, and after init it
inserts directly) - this was done by feature ticket bug 33952.

Marking this as FIXED as such. 

Code that uses mwCustomEditButtons may continue to do so if it works, however
when items are added to this array after the toolbar has initialized, the
buttons can no longer be detected. This has always been the case (even before
1.17 and ResourceLoader).

mw.toolbar.addButton does exactly the same (fully compatible) but does not have
this issue (due to it being a function instead of an array it can execute logic
at any time).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to