Page MenuHomePhabricator

Consider adding {{:}} as a magic word/parser function
Open, Needs TriagePublic


Currently, Wikipedia and other wikis use {{;}} as an alias for {{semicolon}}, but {{colon}} doesn’t have such an alias due to technical limitations.

These templates are used when writing description lists (<dl>) and it's necessary to include a : or a ; in the text without needing to use <nowiki>, e.g.:

; Description Term{{colon}}
: Description definition{{;}} with a semicolon

instead of:

; Description Term<nowiki>:</nowiki>
: Description definition<nowiki>;</nowiki> with a semicolon

I suggest adding {{:}} as a magic word which produces the : character, thus allowing the following to be used:

; Description Term{{:}}
: Description definition{{;}} with a semicolon

See Also: