From: Arlo Breault Date: Tue, 5 Apr 2016 20:54:26 +0000 (-0700) Subject: Sync up with Parsoid parserTests. X-Git-Tag: 1.31.0-rc.0~7368 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=002e63c94b00104f1098f8bc490ad75c8ac8fc8c;p=lhc%2Fweb%2Fwiklou.git Sync up with Parsoid parserTests. This now aligns with Parsoid commit d206ffe4026dcbce9ef27f1546d023a7027ea7e9 Change-Id: I9f7f0ddf87bf3ee14a1929599e72c5d837e15fbf --- diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index e2d4f14cb5..691113db66 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -1540,9 +1540,9 @@ parsoid=html2wt

!! wikitext {{echo|a [ b}} -{{echo|a }} b}} +{{echo|a }} b}} {{echo|a [[ b}} -{{echo|a {{!}} {{ ]]}} +{{echo|a | {{ ]]}} {{echo|a }}} !! end @@ -10274,7 +10274,7 @@ Template with just whitespace in it, bug #68421 !! wikitext {{echo|{{ }}}} !! html/parsoid -

{{ }}

+

{{ }}

!! end !! article @@ -13846,6 +13846,17 @@ language=es
caption
!! end +!! test +Localized image handling (3). +!! options +language=fa +parsoid=html2wt +!! html/parsoid +
+!! wikitext +[[File:Foobar.jpg|بندانگشتی]] +!! end + !! test "border", "frameless" and "class" attributes on an image. !! options @@ -21787,7 +21798,7 @@ A foo {{echo| B C}} !! html/parsoid -

A [1] B C}}

+

A [1] B C}}

  1. ↑ foo {{echo|
@@ -22130,8 +22141,8 @@ X{{echo|foo {{echo|bar}} and {{echo|baz}} boo}} # This test only works in wt2html now as the are always generated # unless selser is active. Once T72722 is fixed, we should add a changes test -# here to ensure that unrelated changes don't add the new in -# wt2wt. +# here to ensure that unrelated changes don't add the new +# when selser is active. !! test References: 9. Generate missing references list at the end !! wikitext @@ -22139,10 +22150,10 @@ A foo B bar !! html/parsoid

A [1] B [inexistent 1]

-
    +
    1. ↑ foo
    -
      +
      1. ↑ bar
      !! end @@ -24044,26 +24055,6 @@ parsoid=wt2html,html2html !! end -!! test -2. Parsoid-only: Don't wrap broken template tags in on wt2wt (Bug 42353) -!! options -parsoid -!! wikitext -{{}} -!! html -{{}} -!! end - -!! test -1. Parsoid-only: Don't wrap broken template tags in on wt2wt (Bug 42353) -!! options -parsoid -!! wikitext -}}{{ -!! html -}}{{ -!! end - !!test Accept empty td cell attribute !! wikitext