Page MenuHomePhabricator

Spurious root tags in HTML
Closed, DeclinedPublic

Description

Author: ian.higgs

Description:
I sometimes see <root> tags in the output of the standard monobook pages.
The following item is also enclosed in <p> tags which adds extra newlines.
The same page can be displayed with and without the error.

This is noticable in two places:

  1. The "f-list" section of the standard page footer. I sometimes get:

<li id="viewcount"><root><p>This page has been accessed 23 times.
</p></li>

rather than

<li id="viewcount">This page has been accessed 23 times.</li>

  1. When editing, the "This is a minor edit " and "Watch this page" labels are output on a new line after the checkboxes. The source has:

<input name="wpMinoredit" type="checkbox" value="1" checked="checked" tabindex="3" accesskey="i" id="wpMinoredit" />&nbsp;<label for='wpMinoredit' title="Mark this as a minor edit [i]"><root><p>This is a minor edit

</p></label>
<input name="wpWatchthis" type="checkbox" value="1" checked="checked" tabindex="4" accesskey="w" id="wpWatchthis" />&nbsp;<label for='wpWatchthis' title="Add this page to your watchlist [w]"><root><p>Watch this page
</p></label>


Version: 1.14.x
Severity: minor
OS: Linux
URL: http://thcc2009.co.uk/

Details

Reference
bz18628

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:34 PM
bzimport set Reference to bz18628.
bzimport added a subscriber: Unknown Object (MLST).

This is about rendering specific to Monobook skin. Moving to a better component.

Is it still happening? This might have been caused by some malfunctioning of the messages system, and I think it has been largely reworked since 2009.

Personally I've never seen this sort of issue, and the website in the URL field (http://thcc2009.co.uk/) seems dead.

Resolving as WORKSFORME to reflect the current situation. Thank you for the feedback.