Jump to content

手册:$wgAllowRdfaAttributes

From mediawiki.org
This page is a translated version of the page Manual:$wgAllowRdfaAttributes and the translation is 38% complete.
输出: $wgAllowRdfaAttributes
Enable RDFa attributes for use in wikitext.
引进版本:1.16.0 (r59024)
移除版本:1.27.0 (Gerrit change 277562; git #I17a7bff)
允许的值:(布尔值)
默认值:false

详情

Enable RDFa attributes for use in wikitext. For this to work $wgHtml5 must be set to true, which is the default as well as unchangeable since MW 1.22+. Starting with MW 1.27+ RDFa attributes will be allowed by default. However the RDFa version to use must explicitly be set with $wgHtml5Version to HTML+RDFa 1.0 or XHTML+RDFa 1.0.