Manual:$wgHtml5Version

From mediawiki.org
Output: $wgHtml5Version
Defines the value of the version attribute in the ‎<html> tag, if any.
Introduced in version:1.16.0 (r59033)
Removed in version:still in use
Allowed values:(string) or null
Default value:null

Details[edit]

Defines the value of the version attribute in the ‎<html> tag, if any.

If you use RDFa, the possible values are:

  • HTML+RDFa 1.0
  • XHTML+RDFa 1.0

Starting with MW 1.27.0 you don't need to specify this setting if you want to use RDFa, since it's enabled by default.