Manual:$wgAllowRdfaAttributes

From mediawiki.org
Output: $wgAllowRdfaAttributes
Enable RDFa attributes for use in wikitext.
Introduced in version:1.16.0 (r59024)
Removed in version:1.27.0 (Gerrit change 277562; git #I17a7bff)
Allowed values:(boolean)
Default value:false

Details[edit]

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.