!! options
parsoid-compatible=wt2html
version=2
!! end
# This is the standard article assumed to exist.
!! article
Main Page
!! text
blah blah
!! endarticle
!! test
Page status indicators: Empty name is invalid
!! options
showindicators
parsoid=wt2html
!! wikitext
Error: Page status indicators' name
attribute must not be empty.
Error: Page status indicators' name
attribute must not be empty.
!! end !! test Page status indicators: Weird syntaxes that are okay !! options showindicators !! wikitext
Preformatted08=
cell |
Two
paragraphs
!! metadata/parsoid 01=hello world 02=Main Page 03=Preformatted08=
cell |
Two
paragraphs
!! html/php
abcd
!! html/parsoidabcd
!! end !! test Templates where an indicator is the leading content (2) !! options showindicators parsoid=wt2html,wt2wt !! metadata x=foo !! wikitext abcdabcd
abcd
!! end !! test Templates where an indicator is not the leading content (1) !! options showindicators parsoid=wt2html,wt2wt !! metadata x=foo !! wikitext abcd {{1x|efghabcd efgh
!! html/parsoidabcd efgh
!! end !! test Templates where an indicator is not the leading content (2) !! options showindicators parsoid=wt2html,wt2wt !! metadata x=foo !! wikitext abcdabcd
efgh
!! html/parsoidabcd efgh
!! end # Note wt2wt will dirty this output and hence all selser tests # will be recorded as failing because selser is more accurate !! test Indicator in fosterable position should not dirty-diff in selser mode !! options parsoid=wt2html,selser !! wikitext {|x |
-wrapped
!! options
showindicators
!! metadata
x=some stuff
!! metadata/parsoid
x=
some stuff
!! wikitext
!! metadata/parsoid x= some stuff !! html/parsoid
!! end !! test Indicator shouldn't prevent addition of link classes !! options showindicators !! wikitext