Page MenuHomePhabricator

internal link with parameters but without nofollow
Closed, InvalidPublic

Description

Let's say we want to link to a [[Page]] but we want to add parameters.
So we do [{{fullurl:Page|action=whatever}}].
Yes, but in the process we create a nofollow link.
You can argue that we can stop that nofollow via LocalSettings.php.
Well, that will also stop nofollow for external links.
So there I am, stuck. No way to make a _internal_ link with parameters,
without also causing nofollow.


Version: 1.20.x
Severity: minor

Details

Reference
bz8410

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:34 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz8410.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

Can you provide an example of a page which you would link to using such parameters which does not emit appropriate "no index, no follow" meta tags?

(In reply to comment #1)

Can you provide an example of a page which you would link to using such
parameters which does not emit appropriate "no index, no follow" meta tags?

On http://en.wikipedia.org/wiki/User:Jidanni/Sandbox
I did
[{{fullurl:{{FULLPAGENAME}}|action=view}} test link for bug 8410]
which puts rel="nofollow" into the link created.
I.E., No way to make an _internal_ link with _arguments_ without nofollow
also getting put into _the <a> tag_.

MediaWiki generally doesn't want such links to be followed. Suppose you filed a page with oldid links, maybe you really want the search engines to index it, but it wouldn't make MediaWiki happy, since those are not cached, and it would need to render them (potentially costly) each time. And they would have '<meta name="robots" content="noindex,nofollow" />' anyway.

Unless you can provide a very use case for doing this, it won't happen. Closing as invalid.