Last modified: 2012-11-06 06:51:23 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.)
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.
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.)
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>?
Note: <details> and <summary> is supported in Google Chrome.