手册:$wgAllowRdfaAttributes

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgAllowRdfaAttributes and the translation is 38% complete.

Other languages:
Deutsch • ‎English • ‎Tagalog • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎العربية • ‎ไทย • ‎中文 • ‎日本語
输出: $wgAllowRdfaAttributes
Enable RDFa attributes for use in wikitext.
引进版本:1.16.0 (r59024)
移除版本:1.27.0 (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.