Last modified: 2011-03-13 18:04:45 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 5567 - Add "name" attributes to anchors to support older browsers
Add "name" attributes to anchors to support older browsers
Product: MediaWiki extensions
Classification: Unclassified
Cite (Other open bugs)
All All
: Lowest minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-04-14 06:47 UTC by omniplex
Modified: 2011-03-13 18:04 UTC (History)
3 users (show)

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


Description omniplex 2006-04-14 06:47:41 UTC
JFTR, as noted on the "issues" page:

Missing name= anchors for backwards compatibility 
    The generated <a href="#_note-n"> links should have a name="_ref-n". 
    The generated <a href="#_ref-n"> links should have a name="_note-n".

Legacy browsers have no clue what and "id" might be, they
want an equivalent "name". Where that's impossible it's a
case of "you lose", but cite apparently has the necessary
anchors to add the missing "name" for old browsers. It's
also recommended in the XHTML 1.0 standard appendix C.8.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-12-16 20:15:32 UTC
The id's are currently not on <a> elements.  They're also used for some things, like highlighting the targeted <li> on enwiki.  Probably not worth it to fix this.
Comment 2 Nicholas Wilson 2008-12-31 22:08:40 UTC
The patch for bug 16294 can trivially fix this, since we write out anchor elements directly, allowing easy duplication of ids as names. This bug becomes a one-minute job of the patch there goes through.
Comment 3 Chad H. 2009-07-29 19:00:21 UTC
Marking WONTFIX. Name has been deprecated in HTML5, and id works on 99% of browsers out there. Name back-compat was only needed for Netscape (4?), so it's not really an issue anymore.

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