Page MenuHomePhabricator

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

Description

Author: askoorb

Description:
http://validator.w3.org/check?uri=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWikipedia%3AVotes_for_deletion&charset=%28detect+automatically%29&doctype=%28detect+automatically%29

http://en.wikipedia.org/wiki/Wikipedia:Votes_for_deletion

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
URL: http://en.wikipedia.org/wiki/Wikipedia:Votes_for_deletion

Details

Reference
bz1634
TitleReferenceAuthorSource BranchDest Branch
ExampleSchema: Add default valuesrepos/growth/community-configuration-example!15urbanecmT363426main
Fix issues found during live testing of initial implementationtoolforge-repos/bridgebot!1bd808work/bd808/T363028main
Customize query in GitLab

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
ResolvedNone

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).

rowan.collins wrote:

It turns out this element was being set in
http://en.wikipedia.org/wiki/Template:Vfd_top, 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.