From 6b156870bd597e1842fec8c246a0b1bff6261566 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Wed, 6 Nov 2024 18:01:04 -0500 Subject: [PATCH] Update knownFailures after normalization in core A result of I0d56b60abb78e37d539267f744afb52c092cb997 Change-Id: I4523811e0563922e3f2458f2843ba76bcb904390 --- .../parser/citeParserTests-knownFailures.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tests/parser/citeParserTests-knownFailures.json b/tests/parser/citeParserTests-knownFailures.json index b1c8311cd..cdd6ed754 100644 --- a/tests/parser/citeParserTests-knownFailures.json +++ b/tests/parser/citeParserTests-knownFailures.json @@ -26,7 +26,7 @@ }, "Broken wikitext making a ref as extended attribute and a duplicated fragment (with 2wt tests)": { "wt2wt": "a\n\nz\n", - "html2html": "

a

\n\n

z

\n
    \n", + "html2html": "

    a

    \n\n

    z

    \n
      \n", "html2wt": "a\n\nz\n\n", "selser [[[4]],1]": "y\">1dl6sme\n\nz\n", "selser [[[2]],[0,3,3,0]]": "y\">18cax6qa\n\n", @@ -116,13 +116,13 @@ "selser [2,4,0]": "kpn8qp\n\n[[Foo|hello note 1note 2]]note 3\n\n1wtlfei" }, "Multiple definition (inside {{#tag:references}})": { - "wt2html": "

      [1]

      \n
      1. abc
      2. \n
      \n
        ", + "wt2html": "

        [1]

        \n
        1. abc
        2. \n
        \n
          ", "html2html": "

          Parsoid fails this right now

          ", "html2wt": "Parsoid fails this right now" }, "Numbers in the default group need to start with 1, independent from other groups": { "wt2wt": "\n{{#tag:references|\na\n|group=g}}\nc\n", - "html2html": "

          [g 1]

          \n
          1. a
          2. \n
          \n

          [1]

          \n
          1. c
          2. \n
          ", + "html2html": "

          [g 1]

          \n
          1. a
          2. \n
          \n

          [1]

          \n
          1. c
          2. \n
          ", "html2wt": "\n{{#tag:references|a|group=g}}\nc\n", "selser [3,0,0,3,1,2,0]": "\n{{#tag:references|\na\n|group=g}}c\n\n1xkz57y\n", "selser [3,0,0,2,3,0,0]": "\n{{#tag:references|\na\n|group=g}}1x4tyf2\n\n", @@ -147,7 +147,7 @@ }, "Ref in ref: Multiple levels of nesting in parser function": { "wt2wt": "one{{#tag:ref|two{{#tag:ref|threefour}}}}\n", - "html2html": "

          one[3]

          \n
          1. four
          2. \n
          3. three[1]
          4. \n
          5. two[2]
          6. \n
          ", + "html2html": "

          one[3]

          \n
          1. four
          2. \n
          3. three[1]
          4. \n
          5. two[2]
          6. \n
          ", "html2wt": "one{{#tag:ref|two{{#tag:ref|threefour}}}}\n", "selser [1,3,0]": "one{{#tag:ref|two{{#tag:ref|threefour}}}}", "selser [[2,0],0,0]": "1wgx3mrone{{#tag:ref|two{{#tag:ref|threefour}}}}\n", @@ -196,7 +196,7 @@ }, "Ref: 8. transclusion wikitext has lower precedence": { "wt2wt": "A foo {{1x| B C}}\n\n", - "html2html": "

          A [1] B C}}

          \n
          1. foo {{1x|
          2. \n
          ", + "html2html": "

          A [1] B C}}

          \n
          1. foo {{1x|
          2. \n
          ", "html2wt": "A foo {{1x| B C}}\n", "selser [[3,0,0],0,0]": " foo {{1x| B C}}\n\n", "selser [[3,0,0],3,0]": " foo {{1x| B C}}", @@ -244,7 +244,7 @@ }, "References: 9. Generate missing references list at the end": { "wt2wt": "A foo\nB bar\n\n", - "html2html": "

          A [1] B [inexistent 1]

          \n
          1. foo
          2. \n
          \n\n
          1. bar
          2. \n
          ", + "html2html": "

          A [1] B [inexistent 1]

          \n
          1. foo
          2. \n
          \n\n
          1. bar
          2. \n
          ", "html2wt": "A foo B bar\n\n", "selser [0,4,0,3,0]": "A foo\nB bar\n\ng0czw3", "selser [4,4,0,4,0]": "whc1pl\n\n1mmf2281nhjc7y", @@ -268,14 +268,14 @@ "selser [3,0,0,0,0]": "\n" }, "Report bad attributes in ref tags": { - "wt2html": "

          [theGroup 1]

          \n
          1. theValue
          2. \n
          ", + "wt2html": "

          [theGroup 1]

          \n
          1. theValue
          2. \n
          ", "html2wt": "Cite error: Invalid parameter in tag\n" }, "Simple , with in group, with groupname in Chinese": { "html2wt": "AAAref aBBBnote bCCCref c\n\n; refs\n\n\n; notes\n" }, "T242437 - Blank ref name in #tag regression": { - "wt2html": "
          1. foo
          2. \n
          ", + "wt2html": "
          1. foo
          2. \n
          ", "html2wt": "Cite error: tag defined in has no name attribute.\n" }, "T242437 - Nested references edge case, inner tag function with LDR": { @@ -302,18 +302,18 @@ "selser [4,4,0]": "1w3p74w\n\n164bamw\n {{#tag:references|\n bar\n }}\n" }, "T242437 - Nested references edge case, outer tag function with LDR": { - "wt2html": "

          [1]

          \n
          1. bar
          2. \n
          ", + "wt2html": "

          [1]

          \n
          1. bar
          2. \n
          ", "html2html": "

          Parsoid fails this right now

          ", "html2wt": "Parsoid fails this right now" }, "T242437 - Nested references edge case, outer tag function, inner LDR": { - "wt2html": "

          [1]

          \n
          1. bar
          2. \n
          ", + "wt2html": "

          [1]

          \n
          1. bar
          2. \n
          ", "html2html": "

          Parsoid fails this right now

          ", "html2wt": "Parsoid fails this right now" }, "T48140 - Make sure rollback/redo does not consume numbers": { "wt2wt": "should be [1]\n\n{{#tag:references|\na\n|group=g}}\nshould be [2]\n", - "html2html": "

          [1]\n[g 1]

          \n
          1. a
          2. \n
          \n

          [2]

          \n
          1. should be [1]
          2. \n
          3. should be [2]
          4. \n
          ", + "html2html": "

          [1]\n[g 1]

          \n
          1. a
          2. \n
          \n

          [2]

          \n
          1. should be [1]
          2. \n
          3. should be [2]
          4. \n
          ", "html2wt": "should be [1]\n\n{{#tag:references|\na\n|group=g}}\nshould be [2]\n", "selser [0,4,0,0,2,0,0]": "should be [1]\n\n\nxxyaqo{{#tag:references|\na\n|group=g}}\nfpd64i\n\nshould be [2]", "selser [0,3,0,0,0,0,0]": "should be [1]\n{{#tag:references|\na\n|group=g}}\nshould be [2]", @@ -337,12 +337,12 @@ "selser [2,2,0,4,1,4,0]": "1hsihii\n\nshould be [1]\n\n\n1g6dh4b\n{{#tag:references|\na\n|group=g}}tw7h2w\n\nshould be [2]\n\n4jzjr9" }, "Template nested in extension tag in template": { - "wt2html": "

          hi[1]\nhi[2]\nhi[3]

          \n", - "html2html": "

          hi[1]\nhi[2]\nhi[3]

          \n" + "wt2html": "

          hi[1]\nhi[2]\nhi[3]

          \n", + "html2html": "

          hi[1]\nhi[2]\nhi[3]

          \n" }, "{{REVISIONID}} on page with (bug 6299)": { "wt2wt": "{{REVISIONID}}elite\n", - "html2html": "

          1337[1]

          \n
          1. elite
          2. \n
          ", + "html2html": "

          1337[1]

          \n
          1. elite
          2. \n
          ", "html2wt": "{{REVISIONID}}elite\n", "selser [0,3,0]": "{{REVISIONID}}elite", "selser [4,0,0]": "gqyiqf\n",