Manual:$wgHtml5

Details
Whether to output an HTML5 doctype.

See  for more information.

If   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   to "true".