Many of these tags are a natural compliment or enhancement to the structure of Wikipedia's and Wiktionaries. Levels of support:
* Whitelist, to allow use in wikitext.
* Add HTML5 elements to wikitext rendering.
== References ==
- [[http://www.w3.org/TR/html5/ | W3C: HTML5]]
- [[https://html.spec.whatwg.org/multipage/ | WHATWG: HTML]]
- [[http://en.wikipedia.org/wiki/HTML5 | Wikipedia: HTML5]]
- [[http://diveintohtml5.org/semantics.html#new-elements|New semantic elements in HTML5 at diveintohtml5]]
- [[http://remysharp.com/2009/01/07/html5-enabling-script/ | HTML5 enabling script at remysharp]]
== Support status ==
| icon | meaning
| ----- | -----
| {icon wikipedia-w color=yellow} | handled or overridden by MediaWiki core
| {icon cogs color=yellow} | handled or overridden by MediaWiki extension
| {icon check color=green} | enabled
| {icon plus-circle color=blue} | enablable - semantic markup
| {icon plus-square color=blue} | enablable - tables enhancement
| {icon plus-square-o color=blue} | enablable - needs some work though
| {icon file-text color=blue} | enablable - form control without interaction, for semantic markup
| tag | ? | notes
| ----- | ----- | -----
| `<a>` | {icon plus-square-o color=blue} | via discussion with @tstarling doable (in favour of enabling various relevant attributes rather than expanding the current `[[..|..]]` syntax); {T35886} see also [RelMicroformat](https://www.mediawiki.org/wiki/Extension:RelMicroformat)
| `<address>` | {icon plus-circle color=blue} | old HTML spec, not a new feature ({T2671}, especially later discussion)
| `<area>`, `<map>` | {icon cogs color=yellow} | handled by #ImageMap (`<imagemap>`)
| `<article>` | {icon plus-circle color=blue} | @cscott says "should be part of the skin, not article content" (T104770#6681109)
| `<aside>` | {icon plus-circle color=blue} | {T104770}, @cscott says "probably part of skin/layout mechanism, not article content" (T104770#6681109)
| `<col>`, `<colgroup>` | {icon plus-square color=blue} | old HTML spec, not a new feature; {T2986}, {T322775}
| `<details>`, `<summary>` | {icon plus-circle color=blue} | {T31118}; See T31118#8015894
| `<fieldset>` | {icon file-text color=blue} | old HTML spec, not a new feature; with `<legend>`
| `<figcaption>` | {icon plus-circle color=blue} | Part of {T118517}
| `<figure>` | {icon plus-circle color=blue} | Part of {T118517}
| `<footer>` | {icon plus-circle color=blue} | @cscott says "part of skin output, not article contents"
| `<header>` | {icon plus-circle color=blue} | @cscott says "part of skin output, not article contents"
| `<legend>` | {icon file-text color=blue} | old HTML spec, not a new feature; with `<fieldset>`
| `<link>` | | Emitted by Parsoid
| `<main>` | {icon plus-circle color=blue} |
| `<meta>` | | Emitted by Parsoid
| `<meter>` | {icon file-text color=blue} | {T211259}
| `<nav>` | {icon plus-circle color=blue} |
| `<progress>` | {icon file-text color=blue} | fallbackable [ [[ https://html.spec.whatwg.org/multipage/forms.html#the-progress-element | 1 ]], [[ https://css-tricks.com/html5-progress-element/#article-header-id-11 | 2 ]] ] to its content: `<p>Progress: <progress id="p" max=100><span>0</span>%</progress></p>`
| `<section>` | {icon cogs color=yellow} | handled by #MediaWiki-extensions-LabeledSectionTransclusion {T32597}; Parsoid emits `<section>` tags
| `<source>` | {icon cogs color=yellow} | {T39042}
| `<style>` | {icon plus-square-o color=blue} | #templatestyles . See also {T52644}, {T37704}
| `<tbody>`, `<tfoot>`, `<thead>` | {icon plus-square color=blue} | old HTML spec, not a new feature; {T6740} {T5156} {T322775}
| icon | meaning
| ----- | -----
| {icon ban color=red} | invalid (aka not a part of `<body>`)
| {icon lock color=red} | disabled for security reasons
| {icon pencil color=red} | disabled for security reasons (scripting)
| {icon file-text-o color=red} | disabled for security reasons (interactive form control)
Security implications
| tag | ? | alternatives | other notes
| ----- | ----- | ----- | -----
| `<audio>` | {icon lock color=red} | `[[File:]]` syntax | Emitted as part of {T118517}
| `<base>` | {icon ban color=red} | |
| `<body>` | {icon ban color=red} | |
| `<button>` | {icon file-text-o color=red} | #MediaWiki-extensions-InputBox |
| `<canvas>` | {icon pencil color=red} | |
| `<datalist>` | {icon file-text-o color=red} | |
| `<embed>` | {icon lock color=red} | | {T18316}
| `<form>` | {icon lock color=red} | |
| `<head>` | {icon ban color=red} | |
| `<html>` | {icon ban color=red} | |
| `<iframe>` | {icon lock color=red} | | {T18316}
| `<img>` | {icon lock color=red} | `[[File:]]` syntax, `<gallery>` |
| `<input>` | {icon file-text-o color=red} | #MediaWiki-extensions-InputBox |
| ~~`<keygen>`~~ | {icon file-text-o color=red} | | deprecated now (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen)
| `<label>` | {icon file-text-o color=red} | #MediaWiki-extensions-InputBox |
| `<noscript>` | {icon pencil color=red} | | {T47731}
| `<object>` | {icon lock color=red} | | {T18316}
| `<optgroup>` | {icon file-text-o color=red} | |
| `<option>` | {icon file-text-o color=red} | #MediaWiki-extensions-InputBox |
| `<output>` | {icon file-text-o color=red} | |
| `<param>` | {icon lock color=red} | |
| `<picture>` | {icon lock color=red} | | See discussion
| `<script>` | {icon pencil color=red} | |
| `<select>` | {icon file-text-o color=red} | |
| `<template>` | {icon pencil color=red} | | @cscott notes this is an option to use to represent "currently invisible DOM trees", for example captions on an image which is currently displayed inline
| `<textarea>` | {icon file-text-o color=red} | |
| `<title>` | {icon ban color=red} | overridable by `{{DISPLAYTITLE:}}` |
| `<track>` | {icon lock color=red} | `[[File:]]` syntax + #TimedMediaHandler |
| `<video>` | {icon lock color=red} | `[[File:]]` syntax | Emitted as part of {T118517}
Whitelisted for editor use:
`<abbr>`, `<b>`, `<bdi>`, `<bdo>`, `<blockquote>`, `<br>`, `<caption>`, `<cite>`, `<code>`, `<data>`, `<dd>`, `<del>`, `<dfn>`, `<div>`, `<dl>`, `<dt>`, `<em>`, `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<hr>`, `<i>`, `<ins>`, `<kbd>`, `<li>`, `<mark>`, `<ol>`, `<p>`, `<pre>`, `<q>`, `<rb>`, `<rp>`, `<rt>`, `<rtc>`, `<ruby>`, `<s>`, `<samp>`, `<small>`, `<span>`, `<strong>`, `<sub>`, `<sup>`, `<table>`, `<td>`, `<th>`, `<time>`, `<tr>`, `<u>`, `<ul>`, `<var>`, `<wbr>`