The 'noxml' documentation in parserTests.txt was added in 2006 (
7eea2398; r12504),
however it wasn't actually implemented.
It wasn't until 2009 (
7aa4a8f9; r54767) that $wgWellFormedXml was created,
which defaults to true and has no relation to this option.
Remove the 'noxml' options from existing tests.
Change-Id: Ie3ae9f491b5747716080607b81b9763bf2bcc889
# ill add inter-language links
# (ignored by Parsoid, since it emits <link>s)
# subpage enable subpages (disabled by default)
# 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)
# 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
!! test
pre-save transform: unclosed tag
!! options
!! wikitext
<nowiki>'''not wiki'''
!! html/php
!! wikitext
<nowiki>'''not wiki'''
!! html/php
!! test
pre-save transform: mixed tag case
!! options
!! test
pre-save transform: mixed tag case
!! options
!! wikitext
<NOwiki>'''not wiki'''</noWIKI>
!! html/php
!! wikitext
<NOwiki>'''not wiki'''</noWIKI>
!! html/php
!! test
pre-save transform: unclosed comment in <nowiki>
!! options
!! test
pre-save transform: unclosed comment in <nowiki>
!! options
!! wikitext
wiki<nowiki>nowiki<!--nowiki</nowiki>wiki
!! html/php
!! wikitext
wiki<nowiki>nowiki<!--nowiki</nowiki>wiki
!! html/php
!! test
Parser hook: nested tags
!! test
Parser hook: nested tags
!! wikitext
<tag><tag></tag></tag>
!! html/php
!! wikitext
<tag><tag></tag></tag>
!! html/php
# Known to produce bogus xml (extra </td>)
!! test
Fuzz testing: Parser16
# Known to produce bogus xml (extra </td>)
!! test
Fuzz testing: Parser16
!! wikitext
{|
!https://||||||
!! wikitext
{|
!https://||||||
# Known to produce bad XML for now
!! test
Fuzz testing: Parser24
# Known to produce bad XML for now
!! test
Fuzz testing: Parser24
!! test
Section extraction, <pre> around bogus header (bug 10309)
!! options
!! test
Section extraction, <pre> around bogus header (bug 10309)
!! options
!! wikitext
== Section One ==
<pre>
!! wikitext
== Section One ==
<pre>
!! test
Section replacement, <pre> around bogus header (bug 10309)
!! options
!! test
Section replacement, <pre> around bogus header (bug 10309)
!! options
!! wikitext
== Section One ==
<pre>
!! wikitext
== Section One ==
<pre>
'wgThumbLimits' => [ self::getOptionValue( 'thumbsize', $opts, 180 ) ],
'wgMaxTocLevel' => $maxtoclevel,
'wgUseTeX' => isset( $opts['math'] ) || isset( $opts['texvc'] ),
'wgThumbLimits' => [ self::getOptionValue( 'thumbsize', $opts, 180 ) ],
'wgMaxTocLevel' => $maxtoclevel,
'wgUseTeX' => isset( $opts['math'] ) || isset( $opts['texvc'] ),
+ 'wgWellFormedXml' => true,
'wgMathDirectory' => $uploadDir . '/math',
'wgDefaultLanguageVariant' => $variant,
'wgLinkHolderBatchSize' => $linkHolderBatchSize,
'wgMathDirectory' => $uploadDir . '/math',
'wgDefaultLanguageVariant' => $variant,
'wgLinkHolderBatchSize' => $linkHolderBatchSize,