On 1/21/07, Bogdan Giusca <liste(a)dapyx.com> wrote:
Sunday, January 21, 2007, 12:06:04 AM, Anthony wrote:
What about links to sister projects, like
Wikinews? It seems some of
those projects could benefit greatly from the links not being
nofollowed.
I checked it and links to Wikinews do not have Nofollow, if
you use the {{wikinews}} template.
Internal links, interwiki links and external links are treated
separately in the code. Brion has turned on nofollow for all external
links by changing a setting in the site configuration, but this only
affects external links. The setting can be applied only to certain
namespaces; before now, for example, nofollow was enabled for all
namespaces except the main namespace.
Here's the code that does it all:
http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/Linker.php?…
If you look closer at the HTML for a page you'll see there are all
different classes on the links, "extiw" for interwiki links,
"external" for a link to an external page, "image" for links to
images
and so on. The short answer is that nofollow only applies to external
links.
--
Stephen Bain
stephen.bain(a)gmail.com