On Tue, 23 Jun 2015 23:24:54 +0200, billinghurst <[email protected]> wrote:

In the example given it was stated that
{{delim}} =
    <onlyinclude>:</onlyinclude>
whereas I am suggesting that it be
    <onlyinclude>{{:}}</onlyinclude>
Alternately use the corresponding unicode symbols. All better than <nowiki>
hacks.

Yes, but how do you implement "Template::"? This bug appears when a page's contents begin with a colon (or a number of other characters, but we care about the colon here). Therefore you'd need "Template::" to exist before you can implement "Template::" using this method.

(By the way, "Template::" is not a valid page title, and "{{:}}" is not valid syntax. A page title cannot start with a colon, as that'd interfere with the {{:Foo}} syntax for transclusion on main namespace pages.)

Other than <nowiki/> you can also use &#58; to generate a colon via HTML entity, but then it won't be parsed as wiki syntax in definition lists.

--
Bartosz Dziewoński

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to