Last modified: 2014-04-08 00:00:40 UTC
Steps to reproduce: 1. Open a page for editing. 2. Execute (copied from [1]) /* Remove Search & Replace */ $( '#wpTextbox1' ).wikiEditor( 'removeFromToolbar', { 'section': 'advanced', 'group': 'search', 'tool': 'replace' }); Result in 1.20wmf4: The button for search&replace is removed. Result in 1.20wmf5: Nothing happens. https://gerrit.wikimedia.org/r/#/c/9751/ changed the wrapping for buttons from <span> to <a> without changing it in the removeFromToolbar method, too. [1] https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization#Removing_things
Raising importance: The API is used internally to replace the icons for <ref>, links and tables with the dialog versions. Since this bug, the icons for simple insertion are not removed, resulting e.g. in two identical looking icons for <ref>. The icon for signature, which should be suppressed in namespace 0, is shown, too.
I'm not sure why this bug is ignored, so setting importance to Highest. This is a really annoying bug.
Created attachment 10771 [details] Screenshot
*** Bug 37842 has been marked as a duplicate of this bug. ***
a bugfix (not merged yet) can be found here: https://gerrit.wikimedia.org/r/#/c/12893/1
(In reply to comment #5) > a bugfix (not merged yet) can be found here: > https://gerrit.wikimedia.org/r/#/c/12893/1 Thank you for that patch. Merged it. 1.20wmf6 was branched and deployed today. The next automatic update window for all extensions is 1.20wmf7, in 2 weeks. I'll see if this can be backported to wmf5 and wmf6. Shouldn't be an issue. Anyway, marking this fixed.
*** Bug 29440 has been marked as a duplicate of this bug. ***