Jump to content

Manual:$wgNoFollowDomainExceptions/pl

From mediawiki.org
This page is a translated version of the page Manual:$wgNoFollowDomainExceptions and the translation is 25% complete.
Parser: $wgNoFollowDomainExceptions
External links to these domain names (or any subdomains) will not be set to rel="nofollow".
Wprowadzono w wersji:1.15.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(array)
Domyślna wartość:[ 'mediawiki.org', ] (1.23+)
array() (1.15-1.22)

Szczegóły

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.

Zobacz też