Last modified: 2011-03-13 18:06:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 193 - Multiple top-level headers (h1) allowed
Multiple top-level headers (h1) allowed
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2004-08-23 02:19 UTC by Chris Wood
Modified: 2011-03-13 18:06 UTC (History)
0 users

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


Description Chris Wood 2004-08-23 02:19:58 UTC
It is possible to create multiple top-level headers in articles.
1. Is this ever a good thing to do?
2. This breaks W3C specs by creating more than one <h1> tag.
Comment 1 Antoine "hashar" Musso (WMF) 2004-08-23 02:31:00 UTC
It's possible in mediawiki :

= header =

= second header =

== sub1 ==

== sub2 ==

There is not a lot of thing we can do about that anyway. Of course it's still
possible to prompt an error message but that will annoys users.

Can you optionally give us an url with that W3C spec ?
Comment 2 Chris Wood 2004-08-23 02:44:22 UTC
The bug is that it is possible, but it should be impossible (at least with

It breaks Web Content Accessibility Guidelines 1.0, Priority 2 (see
Comment 3 Antoine "hashar" Musso (WMF) 2004-08-23 03:13:08 UTC
Sorry I don't see anything related to "only one H1 tag per document".

On the other hand, the document you pointed to advice to use H1 then H2. H1 ->
H3 and skipping
H2 should be forbidden. Again I am not sure how to patch that in mediawiki, it
will probably
just annoy users.

Experience show that most mediawiki users use H2 directly anyway.
Comment 4 Chris Wood 2004-08-23 05:58:52 UTC
My bad, sorry for the bugspam.

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