[Wikia-l] [Vim-l] Character entities in wikitext

Angela beesley at gmail.com
Thu May 22 03:32:31 UTC 2008


On Thu, May 22, 2008 at 9:31 AM, John Beckett <johnb.beckett at gmail.com> wrote:

> I suspect that the topic is not well documented. Experiment shows that using "<CR>"
> in wikitext gives "&lt;CR&gt;" in the html (good), but putting these in wikitext
> spectacularly fail:
>    <S-F1> (gives strike through and omits '-' + following)
>    <q-args> (gives curly quotes and omits '-' + following)

This is because some HTML are allowed. <s> is struck out text and <q>
is a quote.

http://en.wikipedia.org/wiki/Help:HTML_in_wikitext lists the tags that
will render as HTML tags. The code for this part is at
<http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Sanitizer.php?view=markup>

Angela



More information about the Wikia-l mailing list