Last modified: 2014-08-07 12:14:33 UTC
[[MediaWiki:Edittools]]. But because of the mouse links, it's somewhat tricky to
The script should be able to differentiate between <charinsert>A+B</charinsert> (inserts "A" to the beginning and "B" to the end of the selection) and <charinsert>A<nowiki>+</nowiki>B</charinsert> (inserts "A+B").
Per comment #2, it seems adequated to tag this as "easy".
If any scripts or styles remain, port to ResourceLoader as well.
In the current state (SVN HEAD:112664) extensions/CharInsert/CharInsert.php outputs:
<a onclick="insertTags( .. );"> .. </a>
Which calls the core mw.toolbar.insertTags function. So it does work by default (insertion in toolbar). And that pretty much justifies the use of links, right ?
Well, the deal was to remove onclick=... stuff in favour of jQuery general global handling.
Change 152076 had a related patch set uploaded by Helder:
Change 152076 had a related patch set uploaded by TheDJ: