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
- W3C: HTML5
- WHATWG: HTML
- Wikipedia: HTML5
- New semantic elements in HTML5 at diveintohtml5
- HTML5 enabling script at remysharp
Support status
| icon | meaning |
|---|---|
| handled or overridden by MediaWiki core | |
| handled or overridden by MediaWiki extension | |
| enabled | |
| enablable - semantic markup | |
| enablable - tables enhancement | |
| enablable - needs some work though | |
| enablable - form control without interaction, for semantic markup | |
| icon | meaning |
|---|---|
| invalid (aka not a part of <body>) | |
| disabled for security reasons | |
| disabled for security reasons (scripting) | |
| disabled for security reasons (interactive form control) | |
Security implications
| tag | ? | alternatives | other notes |
|---|---|---|---|
| <audio> | [[File:]] syntax | Emitted as part of T118517: [RFC] Use <figure> for media | |
| <base> | |||
| <body> | |||
| <button> | MediaWiki-extensions-InputBox | ||
| <canvas> | |||
| <datalist> | |||
| <embed> | T18316: Tags like <embed> are needed | ||
| <form> | |||
| <head> | |||
| <html> | |||
| <iframe> | T18316: Tags like <embed> are needed | ||
| <img> | [[File:]] syntax, <gallery> | ||
| <input> | MediaWiki-extensions-InputBox | ||
| deprecated now (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen) | |||
| <label> | MediaWiki-extensions-InputBox | ||
| <noscript> | T47731: Allow <noscript> tag | ||
| <object> | T18316: Tags like <embed> are needed | ||
| <optgroup> | |||
| <option> | MediaWiki-extensions-InputBox | ||
| <output> | |||
| <param> | |||
| <picture> | See discussion | ||
| <script> | |||
| <select> | |||
| <template> | @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> | |||
| <title> | overridable by {{DISPLAYTITLE:}} | ||
| <track> | [[File:]] syntax + TimedMediaHandler | ||
| <video> | [[File:]] syntax | Emitted as part of T118517: [RFC] Use <figure> for media | |
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>