Last modified: 2011-05-04 04:26:39 UTC
With the following in MediaWiki:Edittools: <charinsert> € £ ¥ $ ¢ © ® ™ </charinsert> · <charinsert> « + » {{+}} </charinsert> <charinsert> — – ‘ “ ’ ” | … ~ # @ § ¶ • ¡ ¿ \ </charinsert> I get the following HTML output (see second line) on all edit pages: <a onclick="insertTags('«','','');return false" href="#">«</a> <a onclick="insertTags('','','');return false" href="#" /> <a onclick="insertTags('»','','');return false" href="#">»</a> Which triggers the following DOM error in WebKit: * XML self-closing tag syntax used on <a>. The tag will not be closed. And in the end result, it doesn't work. (unclickable ofcourse). The HTML output when viewing the message-page is slightly different: <a onclick="insertTags('«','','');return false" href="#">«</a> <a onclick="insertTags('','','');return false" href="#"></a> <a onclick="insertTags('»','','');return false" href="#">»</a>
I tried[1] fixing it with <nowiki>-tags but no luck. [1] http://sq.wikipedia.org/w/index.php?title=MediaWiki%3AEdittools&diff=943808&oldid=602826
fixed r87386.
As an aside, the code on sq probably meant to do: <charinsert>«+» {{+}}</charinsert> Which causes « before the cursor and » after the cursor when you insert (or surround text if highlighted), since most keyboards have a + key, while « and » are more rare.