Last modified: 2014-09-21 05:13:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70823, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68823 - BetaFeatures: HTMLFeatureFieldTest should set $wgWellFormedXml
BetaFeatures: HTMLFeatureFieldTest should set $wgWellFormedXml
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
BetaFeatures (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Bartosz Dziewoński
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-29 21:42 UTC by Niklas Laxström
Modified: 2014-09-21 05:13 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2014-07-29 21:42:12 UTC
Example:

375) 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">#".
Comment 1 Gerrit Notification Bot 2014-09-20 18:53:46 UTC
Change 161693 had a related patch set uploaded by Bartosz Dziewoński:
HTMLFeatureFieldTest: Set $wgWellFormedXml = true

https://gerrit.wikimedia.org/r/161693
Comment 2 Gerrit Notification Bot 2014-09-21 05:12:31 UTC
Change 161693 merged by jenkins-bot:
HTMLFeatureFieldTest: Set $wgWellFormedXml = true

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links