-{}- is already commonly used on LanguageConverter wikis for "this is a
syntactic element but does nothing except separate a word".
The preprocessor already understands it on all wikis, as well. (But then
we explicitly serialize it to literally `-{}-` if your content language
doesn't have variants defined.)
--scott
On Thu, Oct 4, 2018 at 5:25 PM Daniel Kinzler <dkinzler(a)wikimedia.org>
wrote:
Am 04.10.2018 um 18:58 schrieb Thiemo Kreuz:
The syntax "[[Schnee]]<nowiki
/>reichtum" is quite common in the
German community. There are not many other ways to achieve the same:
<span /> or ­ can be used instead.[1] The later is often the
better alternative, but an auto-replacement is not possible. For
example, "[[Bund]]<nowiki />estag" must become
"[[Bund]]es­tag".
We could introduce new syntax for this, such as &nope; or even &nowiki;.
Or how about {{}} for "this is a syntactic element, but it does nothing"?
But if
that is mixed in with template expansion, it won't work if it expands to
nothing, since template expansion happens before link parsing, right? For
better
or worse...
--
Daniel Kinzler
Principal Software Engineer, MediaWiki Platform
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l