Author: rainman
Description:
The -{ }- characters are used in languages with variants (like Serbian wiki).
Here is the problem. The following line:
<charinsert><nowiki>-{</nowiki>+<nowiki>}-</nowiki></charinsert>
is in Parser.php replaced with:
<a onclick="insertTags('-{','}-','');return false" href="#">-{}-</a>
However, this replecement is done before $wgContLang->parserConvert() is called,
which interprets
the -{ }- characters, and deletes them, leaving:
<a onclick="insertTags('','','');return false" href="#"></a>
A dirty hack is possible in LanguageConverter::parserConvert(), however a better
solution would
be if the <nowiki> tags (or actualy the UNIQ-hack tags for nowiki) would be put
in before parserConvert(), i.e. if the charinsert would interpret <nowiki> tags
in the usual way.
Version: unspecified
Severity: normal
Platform: PC
URL: http://sr.wikipedia.org/wiki/MediaWiki:Edittools