X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTests.txt;h=e8ccd9da8441a66bb92d298e457bc2ed1a45297c;hb=435e4064b579d64195e7d41b830af5d93031c035;hp=69fee303ecad82fa44199ddf40a5410beaa9d7b3;hpb=171255101f2a6480f237f54af64bc29d8ce50ac3;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index 69fee303ec..e8ccd9da84 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -8301,6 +8301,21 @@ subpage
!! end +!! test +Serialization of purely hash wikilink +!! options +title=[[User:Test/123]] +subpage +parsoid=html2wt +!! html/parsoid + +!! wikitext +[[#a|[[ +
+!! end + !! test 1. Interaction of linktrail and template encapsulation !! wikitext @@ -8726,6 +8741,19 @@ Blah blah blah zh : Chinese !! end +!! test +Multiple colons escaping interlanguage links +!! wikitext +[[:es:Spanish]] +[[::es:Spanish]] +[[:::es:Spanish]] +!! html/php +es:Spanish +[[::es:Spanish]] +[[:::es:Spanish]] +
+!! end + ## parsoid html2wt will normalize the space to _ !! test Space and question mark encoding in interlanguage links (T95473) @@ -10406,11 +10434,13 @@ parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } Magic Word: {{REVISIONID}} !! options parsoid={ "modes": ["wt2html","wt2wt"], "normalizePhp": true } +showflags !! wikitext {{REVISIONID}} !! html/*1337
+flags=vary-revision-id !! end !! test @@ -13604,17 +13634,34 @@ pre-save transform: Signature expansion pst !! wikitext * ~~~ +* ~~~~ +* ~~~~~ *The tooltips shall not show entities to the user (ie. be double escaped)
-Id should not contain + for spaces
-2013 +
+!! html/parsoid +2013
+!! end + !! test Language converter: output gets cut off unexpectedly (T7757) !! options @@ -18240,7 +18300,7 @@ Fuzz testing: Parser14 http://__TOC__ !! htmlhttp://
Quote== !! html/php -
Bar== !! html/php -
tag in TOC, removed by Sanitizer (T92892) __TOC__ == x == !! html/php -
<section begin="2011-05-16" /> -<section end="2014-04-10 (MW 1.23wmf22)" />
++ + +
!! end #--------- Test stripping of empty nodes in template content ---------- -!!test + +!! test Empty LI and TR nodes should be stripped from template content -!!wikitext +!! wikitext {{EmptyLITest}} {{EmptyTRTest}} -!!html/parsoid +!! html/parsoidfoo |
bar |
[[#%3Cscript%3Ealert(1)%3C/script%3E|
!! end + +!! test +Validating that