Faster reimplementation of mw.text.<span class="searchmatch">nowiki</span>, which also has some minor changes to match the PHP equivalent used by the native parser....
all {{code|html|<<span class="searchmatch">nowiki</span>><!-- ... --></<span class="searchmatch">nowiki</span>>}} pairs are removed, as well as any text after an unclosed {{code|html|<<span class="searchmatch">nowiki</span>><!--</<span class="searchmatch">nowiki</span>>}}. This is generally...
local <span class="searchmatch">string</span>_char_module = "Module:<span class="searchmatch">string</span>/char" local <span class="searchmatch">string</span>_charset_escape_module = "Module:<span class="searchmatch">string</span>/charsetEscape" local mw = mw local <span class="searchmatch">string</span> = <span class="searchmatch">string</span> local...
these are the options supported: <span class="searchmatch">nowiki</span>: Causes both the expected and the actual values to be wrapped in <<span class="searchmatch">nowiki</span>> tags when rendering the results table...
tonumber local unstrip_<span class="searchmatch">nowiki</span> = mw.text.unstripNoWiki local function remove_comments(...) remove_comments = require(<span class="searchmatch">string</span>_remove_comments_module)...
of the reference, as in {{cd|<<span class="searchmatch">nowiki</span>><ref name="foo">...</ref></<span class="searchmatch">nowiki</span>>}} or {{cd|<<span class="searchmatch">nowiki</span>><ref name="foo" /></<span class="searchmatch">nowiki</span>>}}) and/or `group` (the group...
{} local <span class="searchmatch">string</span>_utilities_module = "Module:<span class="searchmatch">string</span> utilities" local concat = table.concat local find = <span class="searchmatch">string</span>.find local format = <span class="searchmatch">string</span>.format local...
["\r"] = "\\r" } data.<span class="searchmatch">nowiki</span>_absolute = list_to_set{"\"", "&", "'", ";", "<", "=", ">", "[", "]", "{", "|", "}"} data.<span class="searchmatch">nowiki</span>_after_newline = list_to_set{"\t"...
tostring(expected) if self.<span class="searchmatch">nowiki</span> or options and options.<span class="searchmatch">nowiki</span> then expected = mw.text.<span class="searchmatch">nowiki</span>(expected) actual = mw.text.<span class="searchmatch">nowiki</span>(actual) end self.result_table:insert('...
<code>" .. mw.text.<span class="searchmatch">nowiki</span>(data.template) .. "</code>" .. "<br>incorrect characters in <code>" .. mw.text.<span class="searchmatch">nowiki</span>(data.tested_<span class="searchmatch">string</span>) .. "</code>\n")...