+!! end
+
!! test
1. Interaction of linktrail and template encapsulation
!! wikitext
@@ -17895,6 +17910,19 @@ Sanitizer: Validating that and work, but only for Microdata
!! end
+!! test
+Sanitizer: Strip comments from CSS attributes
+!! options
+parsoid=wt2html,wt2wt
+!! wikitext
+2013
+!! html/php
+
2013
+
+!! html/parsoid
+
2013
+!! end
+
!! test
Language converter: output gets cut off unexpectedly (T7757)
!! options
@@ -23420,26 +23448,26 @@ parsoid={
!! end
-## The unconventional output is the result of `usePHPPreProcessor` being
-## disabled in parserTests.js. This test is mainly just to show is
-## recognized as an extension tag w/o a native handler.
!! test
LST Sections: Newfangled approach
!! wikitext
!! html/parsoid
-
!! 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/parsoid
a
b
@@ -23454,11 +23482,11 @@ Empty LI and TR nodes should be stripped from template content
-!!end
+!! end
-!!test
+!! test
Empty LI and TR nodes should not be stripped from top-level content
-!!wikitext
+!! wikitext
* a
*
* b
@@ -23467,7 +23495,7 @@ Empty LI and TR nodes should not be stripped from top-level content
|-
|foo
|}
-!!html/parsoid
+!! html/parsoid
a
@@ -23481,20 +23509,20 @@ Empty LI and TR nodes should not be stripped from top-level content
-!!end
+!! end
-!!test
+!! test
Empty TR nodes should not be stripped if they have any attributes set
-!!wikitext
+!! wikitext
{{EmptyTRWithHTMLAttrTest}}
-!!html/parsoid
+!! html/parsoid
foo
bar
-!!end
+!! end
#### ----------------------------------------------------------------
#### The following section of tests are primarily to test
@@ -25911,6 +25939,41 @@ parsoid=html2wt
[[Foo]]
!! end
+!! test
+Parsoid should accept interwiki shortcuts
+!! options
+parsoid=html2wt
+!! html/parsoid
+
+!! wikitext
+[news:Foo Foo]
+[news:Foo Foo]
+[news:Foo Foo]
+!! end
+
# See T93839
!! test
New wikilinks should be serialized properly
@@ -28082,6 +28145,17 @@ dice
!! end
+!! test
+New transclusion added after a list should be serialized after the list
+!! options
+parsoid=html2wt
+!! html/parsoid
+
a
foo
+!! wikitext
+* a
+{{echo|foo}}
+!! end
+
# -----------------------------------------------------------------
# End of section for Parsoid-only html2wt tests for serialization
# of new content