Page MenuHomePhabricator

add nofollow to links to edit pages
Closed, DeclinedPublic

Description

Why don't you make
<a href="...title=...action=edit" class="new">
links also have 'nofollow'?

You perhaps say "ho ho ho, the search engine will see
<meta name="robots" content="noindex,nofollow" />
upon arrival anyway."

Yeah, but why needlessly cause the fetch of the page then in the first
place?

In fact, any page that will have noindex,nofollow in its header should
have nofollow in links to it. But that is probably too complicate to
ensure everywhere in the current "house of cards" :-) , hence I give
this piecemeal bug report.

P.S., not only action=edit links, but probably also some of
action=history oldid=... printable=... returnto=... target=...

Wait, http://meta.wikimedia.org/wiki/Robots.txt says

The only way to keep a URL out of Google's index is to _let_ Google
crawl the page and see a meta tag specifying robots="noindex".
Although this meta tag is already present on the edit page HTML
template, Google does not spider the edit pages (because they are
forbidden by robots.txt) and therefore does not see the meta tag.

So hmmm...


Version: 1.7.x
Severity: minor
OS: Linux
Platform: PC

Details

Reference
bz8412

Event Timeline

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

lcarsdata wrote:

Adds rel="nofollow" to toolbox <a></a>

This adds rel="nofollow" to all toolbox <a></a>'s except the link to
[[Special:Specialpages]]. Work still needs to be done to add this to the tabs
and elsewhere.

Attached: