X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=a7ae000ae460c3206a354ff01a67a76671e6ea33;hb=4a79eefc78e6c9c782bf946b8be01803734f0635;hp=3fd61588bb5247ebef0d6590ebb8b17bbe84a0e8;hpb=f186496005a47a09aed6d46feea7302fe9d5f0e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 3fd61588bb..a7ae000ae4 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -14595,7 +14595,7 @@ parsoid=wt2html,wt2wt,html2html !! wikitext [[Image:foobar.jpg]] !! html/php -
!! html/parsoid @@ -14616,7 +14616,7 @@ Simple image (using File: namespace, now canonical) !! wikitext [[File:Foobar.jpg]] !! html/php - !! html/parsoid @@ -14627,7 +14627,7 @@ Right-aligned image !! wikitext [[File:Foobar.jpg|right]] !! html/php - + !! html/parsoid @@ -14638,7 +14638,7 @@ Image with caption !! wikitext [[File:Foobar.jpg|right|Caption text]] !! html/php - + !! html/parsoid @@ -14649,7 +14649,7 @@ Image with caption, T55312 #1 !! wikitext [[File:Foobar.jpg|right|Caption page stuff]] !! html/php - + !! html/parsoid @@ -14660,7 +14660,7 @@ Image with caption, T55312 #2 !! wikitext [[File:Foobar.jpg|right|Caption page=]] !! html/php - + !! html/parsoid @@ -14671,7 +14671,7 @@ Image with caption, T55312 #3 !! wikitext [[File:Foobar.jpg|right|Caption page=stuff]] !! html/php - + !! html/parsoid @@ -14683,8 +14683,8 @@ Image caption with pipe entity [[File:Foobar.jpg|thumb|one | two]] [[File:Foobar.jpg|thumb|one ''two'' | three]] !! html/php - - + + !! html/parsoid @@ -14701,7 +14701,7 @@ thumbsize=220 [[Link2]] ]] !! html/php - + !! html/parsoid+
!! html/parsoid
Linktrails should not work for images: s +
Linktrails should not work for images: s
!! html/parsoidLinktrails should not work for images:
-123
456 -123
456 +123
456 +123
456
!! html/parsoid @@ -14831,7 +14831,7 @@ Image with multiple captions -- only last one is accepted !! wikitext [[File:Foobar.jpg|right|Caption1 - ignored|[[Caption2]] - ignored|Caption3 - accepted]] !! html/php - + !! html/parsoid @@ -14842,7 +14842,7 @@ Image with multiple widths -- use last !! wikitext [[File:Foobar.jpg|200px|300px|caption]] !! html/php - !! html/parsoid @@ -14857,8 +14857,8 @@ thumbsize=220 [[File:Foobar.jpg|middle|text-top|caption]] !! html/php - - + !! html/parsoid @@ -14872,9 +14872,9 @@ Image with width attribute at different positions [[File:Foobar.jpg|right|200px|Caption]] [[File:Foobar.jpg|right|Caption|200px]] !! html/php - - - + + + !! html/parsoid @@ -14891,8 +14891,8 @@ parsoid=wt2html,wt2wt,html2html [[File:Foobar.jpg|20pxpx]] [[File:Foobar.jpg|200x20pxpx]] !! html/php - !! html/parsoid @@ -14903,7 +14903,7 @@ Image with link parameter, wiki target !! wikitext [[File:Foobar.jpg|link=Main Page]] !! html/php - !! html/parsoid @@ -14915,7 +14915,7 @@ Image with link parameter, URL target !! wikitext [[File:Foobar.jpg|link=http://example.com/]] !! html/php - !! html/parsoid @@ -14927,7 +14927,7 @@ Image with link parameter, protocol-less URL target !! wikitext [[File:Foobar.jpg|link=//example.com/]] !! html/php - !! html/parsoid @@ -14956,7 +14956,7 @@ Image with link parameter, wgExternalLinkTarget !! config wgExternalLinkTarget='foobar' !! html/php - !! end @@ -14967,7 +14967,7 @@ Image with link parameter, wgNoFollowLinks set to false !! config wgNoFollowLinks=false !! html/php - !! end @@ -14978,7 +14978,7 @@ Image with link parameter, wgNoFollowDomainExceptions !! config wgNoFollowDomainExceptions='example.com' !! html/php - !! end @@ -14990,7 +14990,7 @@ Image with link parameter, wgExternalLinkTarget, unnamed parameter !! config wgExternalLinkTarget='foobar' !! html/php - !! end @@ -14999,7 +14999,7 @@ Image with empty link parameter !! wikitext [[File:Foobar.jpg|link=]] !! html/php -+
!! html/parsoid
caption
@@ -15241,11 +15241,11 @@ Nowiki markup in alt attribute (T206940) File:Foobar.jpg|alt=caption
@@ -15278,11 +15278,11 @@ parsoid = { File:Foobar.jpg|alt=caption
@@ -15311,11 +15311,11 @@ Ampersand in link attribute (T206940) File:Foobar.jpg|link=Foo & bar !! html/php+tidy -caption2
@@ -15434,11 +15434,11 @@ Nowiki markup in link attribute (T206940) File:Foobar.jpg|link=Foocaption
@@ -15471,11 +15471,11 @@ parsoid = { File:Foobar.jpg|link=Foocaption
@@ -15504,11 +15504,11 @@ HTML entity prefix in link markup (T209236) File:Foobar.jpg|link=https://example.com?foo¶ms=bar !! html/php+tidy -blabla.
@@ -21499,7 +21499,7 @@ File:Foobar.jpg !! html/phpcaption
@@ -21588,7 +21588,7 @@ File:Foobar.jpg|{{echo|ho}}ho
@@ -21615,9 +21615,9 @@ File:Foobar.jpg|Image caption !! html/phpImage caption
@@ -21641,14 +21641,14 @@ File:Foobar.jpg|alt=galleryalt|{{Test|unamedParam|alt=param}} !! html/php