Translations:Manual:$wgNoFollowDomainExceptions/3/en

If this is set to an array of domains, external links to these domain names (or any subdomains) will not be set to  regardless of the value of $wgNoFollowLinks.