Manual:$wgAllowMicrodataAttributes/zh
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed completely in version <tvar name=ver>1.27.0</tvar>.</translate> |
<translate> Output</translate>: $wgAllowMicrodataAttributes | |
---|---|
启用 HTML5 微数据属以在 wikitext 中使用。 |
|
<translate> Introduced in version:</translate> | 1.16.0 (r59035) |
<translate> Removed in version:</translate> | 1.27.0 (Gerrit change 277562; git #I17a7bff) |
<translate> Allowed values:</translate> | (布尔值) |
<translate> Default value:</translate> | false |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
详情
启用 HTML5 微数据属以在 wikitext 中使用。 For this to work $wgHtml5 must be set to "true", which is the default as well as unchangeable since MW 1.22+. 从MW 1.27版本起,HTML5微数据属性将被默认允许。
參見
- $wgAllowRdfaAttributes ($wgHtml5Version )
- Extension:HTML Tags - 为面包屑导航添加“富媒体片段”