Manual:$wgNoFollowDomainExceptions/de-formal
From Linux Web Expert
<translate> Parser</translate>: $wgNoFollowDomainExceptions | |
---|---|
External links to these domain names (or any subdomains) will not be set to rel="nofollow" . |
|
<translate> Introduced in version:</translate> | 1.15.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (array) |
<translate> Default value:</translate> | [ 'mediawiki.org', ] (1.23+)array() (1.15-1.22) |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
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.