Last modified: 2007-11-29 23:37:12 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 11932 - Do not strip name attribute before output
Do not strip name attribute before output
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-11-11 08:28 UTC by Jesse (Pathoschild)
Modified: 2007-11-29 23:37 UTC (History)
0 users

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


Description Jesse (Pathoschild) 2007-11-11 08:28:12 UTC
The HTML 'name' attribute is stripped from the wiki text before output, but is very useful for JavaScript (which can getElementsByName) and there is no drawback that I can forsee to allowing it. For example, '<div name="foo">-</div>' is output as '<div>-</div>'.
Comment 1 Jesse (Pathoschild) 2007-11-29 23:37:12 UTC
Silly scripter, names are deprecated in XHTML. <>

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