Debian Codegraph @

vendor/wikimedia/parsoid/tests/parser/legacyHeadings-knownFailures.json

raw
1 {
2 "Ensure comments in toc lines are stripped": {
3 "wt2html": "Sections:"
4 },
5 "HHP2.1: Heuristics for headings in preprocessor parenthetical structures": {
6 "wt2wt": "<nowiki>{{foo|</nowiki>\n=heading=\n"
7 },
8 "HHP2.2: Heuristics for headings in preprocessor parenthetical structures": {
9 "wt2wt": "<nowiki>{{foo|</nowiki>\n==heading==\n"
10 },
11 "Section headings with TOC, language conversion rules, and displaytitle\n(T306862, T331316, T26072)": {
12 "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}-"
13 },
14 "T307691: show-toc flag: \"enough\" sections": {
15 "wt2wt": "==One==\n===Two===\n==Three==\n===Four===\n"
16 },
17 "T307691: show-toc flag: \"enough\" sections and __FORCETOC__": {
18 "wt2wt": "__FORCETOC__\n==One==\n===Two===\n==Three==\n===Four===\n"
19 },
20 "T307691: show-toc flag: \"enough\" sections and __NOTOC__": {
21 "wt2wt": "__NOTOC__\n==One==\n===Two===\n==Three==\n===Four===\n"
22 },
23 "T307691: show-toc flag: not \"enough\" sections": {
24 "wt2wt": "==One==\n"
25 },
26 "T307691: show-toc flag: not \"enough\" sections, and __NOTOC__": {
27 "wt2wt": "__NOTOC__\n==One==\n"
28 },
29 "T307691: show-toc flag: not \"enough\" sections, but __FORCETOC__": {
30 "wt2wt": "__FORCETOC__\n==One==\n"
31 },
32 "T307691: show-toc flag: not \"enough\" sections, but __TOC__": {
33 "wt2wt": "==One==\n__TOC__"
34 }
35 }