Manual:$wgNoFollowDomainExceptions/zh
Appearance
| 解析器: $wgNoFollowDomainExceptions | |
|---|---|
External links to these domain names (or any subdomains) will not be set to rel="nofollow". |
|
| 引进版本: | 1.15.0 |
| 移除版本: | 仍在使用 |
| 允许的值: | (array) |
| 默认值: | [ 'mediawiki.org', ] (1.23+)array() (1.15-1.22) |
| 其他设置: 按首字母排序 | 按功能排序 | |
Details
If this is set to an array of domains, external links to these domain names (or any subdomains) will not be set to rel="nofollow" regardless of the value of $wgNoFollowLinks.
For instance:
$wgNoFollowDomainExceptions = [
'en.wikipedia.org',
'wiktionary.org'
];
This would add rel="nofollow" to links to de.wikipedia.org, but not en.wikipedia.org, wiktionary.org, en.wiktionary.org, us.en.wikipedia.org, etc.