Last modified: 2006-06-12 02:26:30 UTC
<charinsert> </charinsert> inserts a normal space instead of a non-breaking one. Best way to fix would be inserting (not the non-breaking space character itself) so that page code remains easy to understand.
1) What doesn't work about it? 2) Where doesn't it work? 3) Is this your site or a Wikimedia site? 4) What is the exact URL to the page where you encounter this behavior? 5) What web browser, of what version, on what operating system, are you using?
It should insert when clicked; it inserts a normal space character instead. Tested under Firefox v1.06 Moox on Windows XP and Firefox 1.0 on Win98. I didnt realize it might be a browser problem, but now I tested with IE6 and it works fine; the HTML cource code also seems to be in order (<a onclick="insertTags('&nbsp;','','');return false" href="#">&nbsp;</a>). Anyway, the site is the hungarian Wikipedia (you can test it at the [http://hu.wikipedia.org/w/index.php?title=Wikip%C3%A9dia:Homokoz%C3%B3&action=edit Sandbox]), and the charinsert code is in [[Wikipédia:Edittools]] which is included as a template into [[MediaWiki:Edittools]] (to avoid the bug with templates expanding in charinsert).
Sorry, that should be [[hu:Wikipédia:Edittools]] and [[hu:MediaWiki:Edittools]].
This appears to be caused by the JavaScript in MediaWiki:Monobook.js: The use of innerHTML to add a menu triggers a bug in Firefox and Safari which damages some of the characters. I've changed it to use DOM functions, which add the menu without damaging the existing items. Bugs will need to be filed with Mozilla and Apple if they're not already there. The JS fix: http://hu.wikipedia.org/w/index.php? title=MediaWiki:Monobook.js&diff=642767&oldid=497575 Note that you may need to clear your cache to see the corrected version live.