Steps to reproduce:
- Open a page for editing.
- 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
Version: master
Severity: major