Module:Wikitext Parsing/doc
It may contain usage information, categories and other content that is not part of the original module page.
Usage
This module is a Proof-Of-Content module to do with the rare processing error involved in functions like Module:Transcluder's getParameters()
. The primary function, EscapeEscapedContent
, will run any content within certain tags or comments through mw.text.nowiki, to avoid it being processed, allowing even the most absurd wikisyntax to be parsed through basic means.
EscapeEscapedContentV2
is an alternative to the main function which instead removes some text instead of simply hiding it, such as removing html comments fully instead of just nowiki'ing it.
This currently isn't used in any real modules as it's somewhat untested, probably expensive, and definitely excessive, hence the name (if a multi-line nowiki tag is causing you issues, maybe it's the target page's fault, not the module's).
Shortfalls: Currently unsure about the situation of <includeonly>...</includeonly>
and how it's handled during processing, so it isn't handled by the module yet, though this isn't likely to matter much (hopefully).