Manual:$wgHtml5Version

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil
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
Other settings: Alphabetical | By function

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

If you forget to specify this setting, MediaWiki automatically sets it if you enable $wgAllowRdfaAttributesManual:$wgAllowRdfaAttributes (MW 1.26.x and before). Starting with MW 1.27.0 one must specify this setting if you want to use RDFa.