From bd2850d6125e6092b26d5af569b3f6e2b53a0228 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Tue, 18 Mar 2014 17:58:45 -0400 Subject: [PATCH] Sync up with Parsoid parserTests. This now aligns with Parsoid commit 52b4e410acae520c1ecaed76efe062945b123187 Change-Id: I36ad89667817a94720fc0674cb39a5802d2c026c --- tests/parser/parserTests.txt | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 9808e5677a..0a2e87fcaa 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -10046,56 +10046,64 @@ parsoid=wt2html,wt2wt,html2html !! test Manually-specified thumbnail image !! wikitext -[[Image:Foobar.jpg|thumb=Thumb.png|Title]] +[[File:Foobar.jpg|thumb=Thumb.png|Title]] !! html/php
Title
!! html/parsoid -XXX NOT IMPLEMENTED XXX +
Title
!! end !! test Manually-specified thumbnail image with explicit link to wiki page +!! options +parsoid=wt2html,wt2wt,html2html !! wikitext -[[Image:Foobar.jpg|thumb=Thumb.png|link=Main Page|Title]] +[[File:Foobar.jpg|thumb=Thumb.png|link=Main_Page|Title]] !! html/php
Title
!! html/parsoid -XXX NOT IMPLEMENTED XXX +
Title
!! end !! test Manually-specified thumbnail image with explicit link to url +!! options +parsoid=wt2html,wt2wt,html2html !! wikitext -[[Image:Foobar.jpg|thumb=Thumb.png|link=http://example.com|Title]] +[[File:Foobar.jpg|thumb=Thumb.png|link=http://example.com|Title]] !! html/php
Title
!! html/parsoid -XXX NOT IMPLEMENTED XXX +
Title
!! end !! test Manually-specified thumbnail image with explicit no link +!! options +parsoid=wt2html,wt2wt,html2html !! wikitext -[[Image:Foobar.jpg|thumb=Thumb.png|link=|Title]] +[[File:Foobar.jpg|thumb=Thumb.png|link=|Title]] !! html/php
Title
!! html/parsoid -XXX NOT IMPLEMENTED XXX +
Title
!! end !! test Manually-specified thumbnail image with explicit link and alt text +!! options +parsoid=wt2html,wt2wt,html2html !! wikitext -[[Image:Foobar.jpg|thumb=Thumb.png|link=Main Page|alt=alttext|Title]] +[[File:Foobar.jpg|thumb=Thumb.png|link=Main_Page|alt=alttext|Title]] !! html/php
alttext
Title
!! html/parsoid -XXX NOT IMPLEMENTED XXX +
alttext
Title
!! end !! test @@ -13278,9 +13286,11 @@ http://example.com
junk
Fuzz testing: image with bogus manual thumbnail !! wikitext [[Image:foobar.jpg|thumbnail= ]] -!! html +!! html/php
Error creating thumbnail:
+!! html/parsoid + !!end !! test -- 2.20.1