Last modified: 2008-12-04 19:24:41 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 T14408, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12408 - wgUseCategoryBrowser mode (Category browser) generates invalid XHTML nesting
wgUseCategoryBrowser mode (Category browser) generates invalid XHTML nesting
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: semantic-html
  Show dependency treegraph
Reported: 2007-12-25 03:30 UTC by lɛʁi לערי ריינהארט
Modified: 2008-12-04 19:24 UTC (History)
2 users (show)

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


Description lɛʁi לערי ריינהארט 2007-12-25 03:30:53 UTC
Dear friends,

the url is a validation link for

The result is:

Validation Output:  1 Error

   1. Error Line 531, Column 257: document type does not allow element "hr" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag.

      …ly big category</a></span><br /><hr /><a href="/wiki/Category:Really_big_cate


      The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

      One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").

Best regards Reinhardt [[user:Gangleri]]
Comment 1 Brion Vibber 2007-12-28 00:54:23 UTC
This seems to be triggered by the wgUseCategoryBrowser mode, which was mysteriously enabled on (I've now disabled it, so the sample URL no longer triggers the error.)

There's a good chance there's other breakage with this mode, which is off by default and unused at Wikimedia sites.
Comment 2 Chad H. 2008-12-04 19:24:41 UTC
WORKSFORME as of current trunk. All elements are nested properly.

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