Handbuch:$wgNoFollowDomainExceptions
Appearance
| Parser: $wgNoFollowDomainExceptions | |
|---|---|
External links to these domain names (or any subdomains) will not be set to rel="nofollow". |
|
| Eingeführt in Version: | 1.15.0 |
| Entfernt in Version: | Weiterhin vorhanden |
| Erlaubte Werte: | (Array) |
| Standardwert: | [ 'mediawiki.org', ] (1.23+)array() (1.15-1.22) |
| Andere Einstellungen: Alphabetisch | Nach Funktion | |
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.
Zum Beispiel:
$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.