Last modified: 2012-11-06 06:51:23 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 T31118, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29118 - Add HTML 5 semantic elements 'details' and 'summary' to Sanitizer whitelist
Add HTML 5 semantic elements 'details' and 'summary' to Sanitizer whitelist
Status: RESOLVED LATER
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Lowest enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-05-23 19:19 UTC by Yair Rand
Modified: 2012-11-06 06:51 UTC (History)
1 user (show)

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


Attachments

Description Yair Rand 2011-05-23 19:19:34 UTC
The HTML5 elements <details> and <summary> (used for making expandable content) are not being allowed by Mediawiki. (This might be only on Wikimedia wikis.)
Comment 1 Brion Vibber 2011-05-23 20:44:47 UTC
Updated bug summary & fields to clarify this is an enhancement request for supporting HTML 5 draft elements in wiki body text:

http://www.w3.org/TR/html5/interactive-elements.html#the-details-element

http://www.w3.org/TR/html5/interactive-elements.html#the-summary-element

These would presumably be nice ways to implement various sorts of hidable sections, though user-agent support is likely to be lacking or inconsistent at this stage.

I would not recommend adding any explicit support at this stage, but it should be taken a look at some day.
Comment 2 Brion Vibber 2011-05-23 20:45:55 UTC
Going to resolve this as LATER; when UA support is more consistent reopen w/ current info. (The things we do use like <video> are easier to detect and define, and don't duplicate behavior we already deal with w/ JavaScript and some standard class names.)
Comment 3 Yair Rand 2011-05-23 21:03:38 UTC
Many wikis have methods of creating expandable content using javascript which could be replaced by details/summary for browsers that support it. What would be the downsides of having those only use the javascript method for browsers that don't support <details> and <summary>?
Comment 4 Yair Rand 2011-06-12 17:08:11 UTC
Note: <details> and <summary> is supported in Google Chrome.

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


Navigation
Links