Extension:HTML5Tags

Category:Unmaintained extensions#HTML5Tags Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:BSD licensed extensions
MediaWiki extensions manual
HTML5Tags
Release status: unmaintainedCategory:Unmaintained extensions
Implementation Tag Category:Tag extensions
Description Allows some extra HTML5 tags in wiki code
Author(s) Leonard Wallentin (Rotseetalk)
Latest version 0.3 (2021-02-11)
MediaWiki 1.18.+Category:Extensions with manual MediaWiki version
PHP 7+
Database changes No
License BSD 2-clause "Simplified" License
Download Category:Extensions in GitHub version control
README
Category:All extensionsCategory:Extensions not in ExtensionJson

The HTML5Tags extension allows a couple of HTML5 tags such as e.g. figure/figcaption in wiki code.

This extension remains useful as long as bug T25932 is not resolved.
Allowed tags
  • article
  • figure
  • figcaption
  • hgroup
  • mark
  • nav
  • section
  • time
  • footer
  • header

Installation

If you want HTML5 tags to work properly in older versions of Internet Explorer, you will have to add a HTML5 Shiv script to your skin, e. g.:

<!--[if lt IE 9]>
     <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

There is no known way to make these tags fully behave in earlier versions of Internet Explorer for users with JavaScript turned off. That is the reason they are not allowed in wiki code in the first place.

Category:All extensions Category:BSD licensed extensions Category:Extensions in GitHub version control Category:Extensions not in ExtensionJson Category:Extensions not using extension registration Category:Extensions with manual MediaWiki version Category:Extensions without a compatibility policy Category:Extensions without an image Category:ParserFirstCallInit extensions Category:Tag extensions Category:Unmaintained extensions