Page MenuHomePhabricator

Special:Tags making Special:Log HTML malformed
Closed, ResolvedPublic

Description

For instance on the Special:Log page i see this:

<option value="11">November</option>
<option value="12">December</option></select>
<p><a href="/wiki/Special:Tags" title="Special:Tags">Tag</a> filter:&nbsp;<input name="tagfilter" size="20" value="" /></p>

<input type="submit" value="Go" /></p>
</fieldset></form><p>No matching items in log.
</p><div class="printfooter">

The <p>'s and endtags are clearly "confused" you might say. The problem is not visible on test.wikipedia.org, not sure if that is because I have the "patrol log" links before the "go" button, or if there is another reason.


Version: unspecified
Severity: normal

Details

Reference
bz20130

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport set Reference to bz20130.

The problem is SpecialTags inserting itself into an already existing <p> (document type does not allow element "p" here).
w3c validator reports the error both on testwiki and enwiki.

Andrew, can you take a peek at this? Probably easy cleanup.