Last modified: 2007-11-29 23:37:12 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 T13932, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11932 - Do not strip name attribute before output
Do not strip name attribute before output
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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. <http://www.w3.org/TR/xhtml1/#h-4.10>

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


Navigation
Links