Manual:$wgHtml5

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎日本語 • ‎polski
Output: $wgHtml5
Whether to output an HTML 5 doctype.
Introduced in version: 1.16.0 (r53034)
Removed in version: 1.22.0 (Gerrit change 63106; git #97caae59)
Allowed values: boolean
Default value: true

Other settings: Alphabetical | By Function

Note Note: This setting was not removed in MW 1.22+ but starting with this branch setting it to "false" has no longer any impact.

Details[edit | edit source]

Whether to output an HTML5 doctype. See HTML5 for more information.

If $wgWellFormedXml is set to "true", the markup will be constructed so it can still be processed as XML.

In order to allow the use of microdata attributes in wikitext, set $wgAllowMicrodataAttributes to "true".