Last modified: 2006-10-22 02:30:49 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 7662 - HTML IDs for headings can be the same than existing IDs
HTML IDs for headings can be the same than existing IDs
Status: RESOLVED DUPLICATE of bug 7356
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-10-22 02:25 UTC by Schnargel
Modified: 2006-10-22 02:30 UTC (History)
0 users

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


Description Schnargel 2006-10-22 02:25:06 UTC
MediaWiki adds an ID attribute to each heading on a page using the heading's contents as name. The HTML specification requires this name to be 
unique in a document.

It is possible to use headings with the same name than existing MediaWiki IDs in the page (like "toc", "column-one", or "siteNotice") resulting in 
having the same ID twice and thus breaking the HTML.

The usefulness of these IDs might be limited anyway since the contents of wiki pages and the names of these IDs might change sudden and often 
and since the A tag where these IDs are put in is closed directly afterwards so there's no content that could be addressed by a stylesheet using these 
Comment 1 Dan Li 2006-10-22 02:30:49 UTC

*** This bug has been marked as a duplicate of 7356 ***

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