Manual:$wgNoFollowNsExceptions

Details
Namespaces in which $wgNoFollowLinks doesn't apply.

Even if $wgNoFollowLinks is set to true, the  attribute will not be used for pages in the namespaces listed in this array.

See Language.php for a list of namespaces.