Manuaali:$wgNoFollowDomainExceptions

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgNoFollowDomainExceptions and the translation is 38% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎русский • ‎日本語
Site customization: $wgNoFollowDomainExceptions
External links to these domain names (or any subdomains) will not be set to rel="nofollow".
Introduced in version:1.15.0
Removed in version:still in use
Allowed values:(array)
Default value:[ 'mediawiki.org' ]
Other settings: Alphabetical | By function

Yksityiskohdat

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 = array( '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.

Katso myös