... And, more importantly, its form doesn't say "separate the trail from the link". Just like <nowiki>, it only *happened* to do it (I tried on Wikipedia, and it doesn't do it now).
The point I'm trying to make in this thread is that <nowiki> happens to do certain things other than showing wiki syntax without parsing, and is used for them as if it's *intended* for it, but this is a hack. If a certain functionality is needed, such as separating the trail from the link, then it's worth considering creating a piece of syntax for it.
-- Amir Elisha Aharoni · אָמִיר אֱלִישָׁע אַהֲרוֹנִי http://aharoni.wordpress.com “We're living in pieces, I want to live in peace.” – T. Moore
בתאריך יום א׳, 7 באוק׳ 2018 ב-19:08 מאת bawolff <bawolff+wn@gmail.com >:
Alas, no longer valid in XML or HTML5. (Although HTML5 will still parse it as an empty comment, but with a "incorrectly-opened-comment" error.
-- Brian
On Sat, Oct 6, 2018 at 6:57 AM Chad innocentkiller@gmail.com wrote:
Found it :)
https://www.w3.org/MarkUp/SGML/sgml-lex/sgml-lex
Search for "empty comment declaration" :)
-Chad
On Fri, Oct 5, 2018, 11:50 PM Chad innocentkiller@gmail.com wrote:
I'm personally a fan of <!>.
I came across it years ago--it's a null comment. Can't find the
reference
at the moment though.
-Chad
On Thu, Oct 4, 2018, 2:25 PM Daniel Kinzler dkinzler@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Oct 5, 2018 11:50 PM, "Chad" innocentkiller@gmail.com wrote:
I'm personally a fan of <!>.
I came across it years ago--it's a null comment. Can't find the reference at the moment though.
-Chad
On Thu, Oct 4, 2018, 2:25 PM Daniel Kinzler dkinzler@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l