Allow exempting domain names from rel="nofollow"
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 Jan 2009 18:03:12 +0000 (18:03 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 Jan 2009 18:03:12 +0000 (18:03 +0000)
commitfd07d0236aa03e68e28e3f4fbf818474acbaa1fc
tree682d3180eb938deb8f466eb95c8f1540f7fb16c9
parent93675d4e20bf192ea33a98581eceb7347e4b94a4
Allow exempting domain names from rel="nofollow"

This introduces a new configuration option, $wgNoFollowDomainExceptions.
By default this is an empty array; perhaps it should be null by default
and initialize to something extracted from $wgServer.  An appropriate
value for Wikimedia would be something like:

$wgNoFollowDomainExceptions = array( 'wikipedia.org', 'wiktionary.org',
'wikibooks.org', ... );

It's fairly silly that we're nofollowing links to our own sites.  :)
RELEASE-NOTES
includes/DefaultSettings.php
includes/parser/Parser.php