Page MenuHomePhabricator

BetaFeatures: HTMLFeatureFieldTest should set $wgWellFormedXml
Closed, ResolvedPublic

Description

Example:

  1. HTMLFeatureFieldTest::testCreatingFieldGivesExpectedStrings

Table row with class name not found.
Failed asserting that '<form action="/wiki/Main_Page" method=post class=visualClear>
<table class=mw-htmlform-nolabel><tbody>
<tr class=mw-htmlform-field-HTMLFeatureField><td class=mw-label><label>&#160;</label><td class=mw-input><div class=mw-ui-feature-field><div class=mw-ui-feature-checkbox><label for=mw-input-wpblahblahblah class=mw-ui-styled-checkbox-label><input name="wpblahblahblah" type="checkbox" value="1" id="mw-input-wpblahblahblah" class="mw-ui-feature-toggle mw-ui-checkbox" />&#160;</label></div><div class=mw-ui-feature-contain><div class=mw-ui-feature-header><div class=mw-ui-feature-title-contain><p class=mw-ui-feature-title><label for=mw-input-wpblahblahblah class=mw-ui-text-check-label>blah blah blah</label></p></div><div class="mw-ui-feature-info-links filled"><a href="http://example.org/features" class=mw-ui-feature-info-link>information</a> <a href="http://example.org/feedback" class=mw-ui-feature-discussion-link>discussion</a></div></div><div class=mw-ui-feature-main><div class=mw-ui-feature-meta><p class=mw-ui-feature-description>This is a test feature - it should not show up.</p><ul class=mw-ui-feature-requirements-list></ul></div><div class=mw-ui-feature-screenshot-contain></div></div></div></div>

</tbody></table>
<input id=wpEditToken type=hidden value=+\ name=wpEditToken>
<input type=hidden value="Main Page" name=title>
<span class=mw-htmlform-submit-buttons>
<input type=submit value=Submit class=mw-htmlform-submit>
</span>
</form>' matches PCRE pattern "#<tr class="mw-htmlform-field-HTMLFeatureField">#".


Version: master
Severity: normal

Details

Reference
bz68823

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:33 AM
bzimport set Reference to bz68823.

Change 161693 had a related patch set uploaded by Bartosz Dziewoński:
HTMLFeatureFieldTest: Set $wgWellFormedXml = true

https://gerrit.wikimedia.org/r/161693

Change 161693 merged by jenkins-bot:
HTMLFeatureFieldTest: Set $wgWellFormedXml = true

https://gerrit.wikimedia.org/r/161693