Manual:$wgHtml5Version

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

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

Before MediaWiki 1.27, if you enable $wgAllowRdfaAttributesManual:$wgAllowRdfaAttributes, this setting will be auto-initialized to the correct value for RDFa+HTML5.

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.