Manual:$wgAllowRdfaAttributes

From MediaWiki.org
Jump to: navigation, search

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎Tagalog • ‎中文
Output: $wgAllowRdfaAttributes
Enable RDFa attributes for use in wikitext.
Introduced in version: 1.16.0 (r59024)
Removed in version: 1.27.0 (git #I17a7bff)
Allowed values: boolean
Default value: false
Other settings: Alphabetical | By function

Details[edit]

Enable RDFa attributes for use in wikitext. For this to work $wgHtml5Manual:$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 $wgHtml5VersionManual:$wgHtml5Version to HTML+RDFa 1.0 or XHTML+RDFa 1.0.