Page MenuHomePhabricator

No option to apply nofollow attribute to interwiki links
Closed, DeclinedPublic

Description

Author: stephen.bain

Description:
There is the wgNoFollowLinks setting to add rel="nofollow" to all external
links, but no option to do the same for interwiki links. I have a patch to
implement this which will shortly be forthcoming.


Version: 1.10.x
Severity: enhancement

Details

Reference
bz8753

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:31 PM
bzimport set Reference to bz8753.
bzimport added a subscriber: Unknown Object (MLST).

stephen.bain wrote:

patch to implement feature requested in bug

attachment nofollow_on_interwikis.patch ignored as obsolete

Untrusted sites should not be in the interwiki table, probably, hmm?

robchur wrote:

It makes no sense to do this.

stephen.bain wrote:

new version of patch with option to apply nofollow only to nonlocal interwiki links

This patch gives two config options: one which, if enabled, applies nofollow to
all interwiki links; the other which, if enabled, applies nofollow only to
nonlocal interwiki links (ie, to interwiki prefixes with iw_local set to 0).

Attached:

ayg wrote:

I concur with Brion and Rob. This isn't particularly useful for core: more option clutter for no good reason.

  • Bug 15801 has been marked as a duplicate of this bug. ***