Page MenuHomePhabricator

invalid XHTML on VfD page (en.wikipedia)
Closed, ResolvedPublic


Author: askoorb


The Vfd page has many of the following errors:

Line (take your pick), column 26: ID "vfd" already defined

<div class="metadata" id="vfd" style=

An "id" is a unique identifier. Each time this attribute is used in a document
it must have a different value. If you are using this attribute as a hock for
style sheets it may be more appropriate to use classes (which group elements)
than id (which are used to identify exactly one element).

Version: unspecified
Severity: minor
Platform: PC



Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:13 PM
bzimport set Reference to bz1634.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Mar 4 2005, 1:31 PM

rowan.collins wrote:

It turns out this element was being set in, which is used in archived VfD
discussions. I'm not sure why it was there, but it was breaking because multiple
archived discussions were being included on one page, thus creating multiple
divs with the same id.

Thinking it would probably do no harm, I removed the offending attribute;
unfortunately, the template was inserted with {{subst:}}, so the changes haven't
had an immediate effect, but future uses of it shouldn't trigger the problem.

Of course, if there *was* a good reason it was there, someone may add it back
in, in which case we may just have to put up with the errors for the sake of
that purpose.