{ "Basic section headings": { "wt2html": "

Headline 1

\n

Some text

\n\n

Headline 2

\n

More

\n

Smaller headline

\n

Blah blah

" }, "Disable TOC": { "wt2html": "

Lead

\n

Section 1

\n

Section 2

\n

Section 3

\n

Section 4

\n

Section 5

" }, "Ensure comments in toc lines are stripped": { "wt2html": "Sections:" }, "Extra newlines followed by heading": { "wt2html": "

a

\n

\n

\n

b

\n

a

\n

\n

\n

b

" }, "HHP2.1: Heuristics for headings in preprocessor parenthetical structures": { "wt2html": "

{{foo|

\n

heading

", "wt2wt": "{{foo|\n=heading=\n" }, "HHP2.2: Heuristics for headings in preprocessor parenthetical structures": { "wt2html": "

{{foo|

\n

heading

", "wt2wt": "{{foo|\n==heading==\n" }, "Inclusion of !userCanEdit() content": { "wt2html": "

header

" }, "Link inside a section heading": { "wt2html": "" }, "Morwen/13: Unclosed link followed by heading": { "wt2html": "

[[link

\n

heading

" }, "Nested section numbering": { "metadata": "Sections:\n h3 index:1 toclevel:1 number:1 title:Parser_test off:0 anchor/linkAnchor:out line:out\n h3 index:T-1 toclevel:1 number:2 title:Template:With_heading_nesting off:NULL anchor/linkAnchor:in_4 line:in 4\n h3 index:T-2 toclevel:1 number:3 title:Template:With_heading_nesting off:NULL anchor/linkAnchor:in_2 line:in 2\n h3 index:T-3 toclevel:1 number:4 title:Template:With_heading_nesting off:NULL anchor/linkAnchor:in_3 line:in 3" }, "Resolving duplicate section names": { "wt2html": "

Foo bar

\n

Foo bar

" }, "Resolving duplicate section names with differing case (T12721)": { "wt2html": "

Foo bar

\n

Foo Bar

" }, "Section headings with TOC, language conversion rules, and displaytitle\n(T306862, T331316, T26072)": { "metadata": "Parser test\nSections:\n h2 index:1 toclevel:1 number:1 title:Parser_test off:192 anchor/linkAnchor:Foo line:Foo\n h2 index:2 toclevel:1 number:2 title:Parser_test off:209 anchor/linkAnchor:Bar line:Bar\n h2 index:3 toclevel:1 number:3 title:Parser_test off:226 anchor/linkAnchor:-{Foo_Bar}- line:-{Foo Bar}-" }, "Sections follow template redirects": { "metadata": "Sections:\n h3 index:T-1 toclevel:1 number:1 title:Template:With_redirect off:NULL anchor/linkAnchor:in line:in" }, "T307691: show-toc flag: \"enough\" sections": { "wt2wt": "==One==\n===Two===\n==Three==\n===Four===\n" }, "T307691: show-toc flag: \"enough\" sections and __FORCETOC__": { "wt2wt": "__FORCETOC__\n==One==\n===Two===\n==Three==\n===Four===\n" }, "T307691: show-toc flag: \"enough\" sections and __NOTOC__": { "wt2wt": "__NOTOC__\n==One==\n===Two===\n==Three==\n===Four===\n" }, "T307691: show-toc flag: not \"enough\" sections": { "wt2wt": "==One==\n" }, "T307691: show-toc flag: not \"enough\" sections, and __NOTOC__": { "wt2wt": "__NOTOC__\n==One==\n" }, "T307691: show-toc flag: not \"enough\" sections, but __FORCETOC__": { "wt2wt": "__FORCETOC__\n==One==\n" }, "T307691: show-toc flag: not \"enough\" sections, but __TOC__": { "wt2wt": "==One==\n__TOC__" }, "T8563: Edit link generation for section shown by ": { "wt2html": "\n

Includeonly section

\n\n

Section T-1

" }, "T8563: Edit link generation for section suppressed by ": { "wt2html": "\n

Section 1

" }, "nowiki inside link inside heading (T20295)": { "wt2html": "

xyz

" } }