This page is a translated version of the page Manual:$wgHtml5 and the translation is 100% complete.
输出: $wgHtml5
是否输出HTML5文档类型。
引进版本:1.16.0 (r53034)
弃用版本:1.22.0 (Gerrit change 63106; git #97caae59)
移除版本:1.34.0 (Gerrit change 522570; git #a8d26127)
允许的值:(布尔值)
默认值:true

细节

是否输出HTML5文档类型。 参见HTML5 以获取更多信息。

如果$wgWellFormedXml 设置为"true",则将构造标记,因此仍可以将其作为XML处理。

为了允许在维基文字中使用微数据属性,请将$wgAllowMicrodataAttributes 设置为“true”。