parsing order - bhsd-harry/wikiparser-node GitHub Wiki
❌ By default, this rule reports wrong Wikitext due to the parsing order as errors.
This option can be configured to specify the severity of extension tags (except <nowiki>) in HTML tag attributes.
Examples of incorrect code for { "parsing-order": [ 0, { "ext": 2 } ] }:
<br id="<ref>foo</ref>">Examples of correct code for { "parsing-order": [ 2, { "ext": 0 } ] }:
<br id="<ref>foo</ref>">This option can be configured to specify the severity of section headings in tag attributes.
Examples of incorrect code for { "parsing-order": [ 0, { "heading": 2 } ] }:
<br
==foo==
>Examples of correct code for { "parsing-order": [ 2, { "heading": 0 } ] }:
<br
==foo==
>This option can be configured to specify the severity of HTML tags in table attributes.
Examples of incorrect code for { "parsing-order": [ 0, { "html": 2 } ] }:
{|<br>
|}Examples of correct code for { "parsing-order": [ 2, { "html": 0 } ] }:
{|<br>
|}templateInTable option with a severity value.
Examples of incorrect code for { "parsing-order": [ 0, { "templateInTable": 2 } ] }:
{|{{Foo|1=
==Bar==
}}
|}{|{{Foo|Bar
<br>}}
|}{|{{Foo|Bar
<pre>Baz</pre>}}
|}Examples of correct code for { "parsing-order": [ 2, { "templateInTable": 0 } ] }:
{|{{Foo|1=
==Bar==
}}
|}{|{{Foo|Bar
<br>}}
|}{|{{Foo|Bar
<pre>Baz</pre>}}
|}