[Mediawiki-l] escaping wikitext programmatically?

Daniel Barrett danb at VistaPrint.com
Tue Oct 4 20:42:45 UTC 2011


Is there a function in MediaWiki core that applies "nowiki" transformations to a string?  For example, I'm writing a parser function, and I want its output to be the literal string:

'''foo'''

and not a boldface <b>foo</b>.

I tried CoreParserTags::nowiki(), but this only escapes angled brackets.

Thanks,
DanB




More information about the MediaWiki-l mailing list