Handbuch:$wgHtml5Version

This page is a translated version of the page Manual:$wgHtml5Version and the translation is 38% complete.
Ausgabe: $wgHtml5Version
Defines the value of the version attribute in the ‎<html> tag, if any.
Eingeführt in Version:1.16.0 (r59033)
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(Zeichenkette) oder null
Standardwert:null

Details

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 $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.