# ill add inter-language links
# (ignored by Parsoid, since it emits <link>s)
# subpage enable subpages (disabled by default)
-# noxml don't check for XML well-formedness
# title=[[XXX]] run test using article title XXX
# language=XXX set content language to XXX for this test
# variant=XXX set the variant of language for this test (eg zh-tw)
!! test
pre-save transform: unclosed tag
!! options
-pst noxml
+pst
!! wikitext
<nowiki>'''not wiki'''
!! html/php
!! test
pre-save transform: mixed tag case
!! options
-pst noxml
+pst
!! wikitext
<NOwiki>'''not wiki'''</noWIKI>
!! html/php
!! test
pre-save transform: unclosed comment in <nowiki>
!! options
-pst noxml
+pst
!! wikitext
wiki<nowiki>nowiki<!--nowiki</nowiki>wiki
!! html/php
!! test
Parser hook: nested tags
-!! options
-noxml
!! wikitext
<tag><tag></tag></tag>
!! html/php
# Known to produce bogus xml (extra </td>)
!! test
Fuzz testing: Parser16
-!! options
-noxml
!! wikitext
{|
!https://||||||
# Known to produce bad XML for now
!! test
Fuzz testing: Parser24
-!! options
-noxml
!! wikitext
{|
{{{|
!! test
Section extraction, <pre> around bogus header (bug 10309)
!! options
-noxml section=2
+section=2
!! wikitext
== Section One ==
<pre>
!! test
Section replacement, <pre> around bogus header (bug 10309)
!! options
-noxml replace=2,"xxx"
+replace=2,"xxx"
!! wikitext
== Section One ==
<pre>
'wgThumbLimits' => [ self::getOptionValue( 'thumbsize', $opts, 180 ) ],
'wgMaxTocLevel' => $maxtoclevel,
'wgUseTeX' => isset( $opts['math'] ) || isset( $opts['texvc'] ),
+ 'wgWellFormedXml' => true,
'wgMathDirectory' => $uploadDir . '/math',
'wgDefaultLanguageVariant' => $variant,
'wgLinkHolderBatchSize' => $linkHolderBatchSize,