Closed kno10 closed 7 years ago
I think I'll add a switch. If I remember correctly it's possible to use the -{ }-
syntax as replacement for <nowiki>
. Since almost anything can go into a nowiki element it's probably not possible to make the -{ }-
syntax less aggressive.
Fixed in version 2.2.0
Language Converter tags appear to be a rather rare feature in English Wikipedia (as far as I can tell, it is not enabled at all). It took me a while to find any documentation on it (see https://www.mediawiki.org/wiki/Writing_systems/Syntax ) - this is probably mostly relevant for Chinese; although there will of course be people that would like to use
-{en-us: neighbor; en-uk: neighbour}-
It does, however, lead to a number of bad parsing on English wikipedia, here is an example:
from https://en.wikipedia.org/wiki/Lonafarnib
Note that this contains both
[ ]
but no link, and-{ }-
but no lct. The proper way would likely be to add a<nowiki>
tag in the source. But maybe the lct detection can be made less aggressive and emit a warning instead, or a simple way to disable LCT?