Manual:$wgAllowRdfaAttributes

Category:MediaWiki configuration settings#AllowRdfaAttributesCategory:MediaWiki configuration settings introduced in version 1.16.0#AllowRdfaAttributesCategory:MediaWiki configuration settings removed in version 1.27.0#AllowRdfaAttributesCategory:MediaWiki deprecated or obsolete features#AllowRdfaAttributesCategory:Output variables#AllowRdfaAttributes
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

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.

Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.16.0 Category:MediaWiki configuration settings removed in version 1.27.0 Category:MediaWiki deprecated or obsolete features Category:Output variables