Last modified: 2011-12-17 21:17:23 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 T35227, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33227 - W3C validator fails on wikipedia.org
W3C validator fails on wikipedia.org
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-17 21:09 UTC by Kimon Berlin (gribeco)
Modified: 2011-12-17 21:17 UTC (History)
1 user (show)

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


Attachments

Description Kimon Berlin (gribeco) 2011-12-17 21:09:56 UTC
W3C validator fails on en.wikipedia.org, de.wikipedia.org, fr.wikipedia.org -- probably others, with the same 3 errors.

Output on en.wikipedia.org using http://validator.w3.org/check?uri=en.wikipedia.org&charset=%28detect+automatically%29&doctype=Inline&group=0

Validation Output: 3 Errors

    Error Line 2, Column 33: there is no attribute "class"

    <html lang="en" dir="ltr" class="client-nojs" xmlns="http://www.w3.org/1999/xht…

    Error Line 342, Column 10: end tag for "ul" which is not finished

    					</ul>
    Error Line 367, Column 10: end tag for "ul" which is not finished

    					</ul>

Don't know whether this is Wikipedia-specific or a more general MediaWiki issue.
Comment 1 Roan Kattouw 2011-12-17 21:17:23 UTC
(In reply to comment #0)
>     Error Line 2, Column 33: there is no attribute "class"
> 
>     <html lang="en" dir="ltr" class="client-nojs"
> xmlns="http://www.w3.org/1999/xht…
> 
That's a stupid rule from HTML4 that we've decided to ignore. It was dropped in HTML5. (HTML5 is supported by MediaWiki but not yet enabled on Wikipedia for compatibility reasons.)

>     Error Line 342, Column 10: end tag for "ul" which is not finished
> 
>                         </ul>
>     Error Line 367, Column 10: end tag for "ul" which is not finished
> 
>                         </ul>
> 
This is another stupid HTML4-ism that was dropped in HTML5. This bug has been reported many times, see bug 23015 and its duplicates.

> Don't know whether this is Wikipedia-specific or a more general MediaWiki
> issue.
It's a general MediaWiki thing.

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


Navigation
Links