Last modified: 2010-05-15 15:41:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10412, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8412 - add nofollow to links to edit pages
add nofollow to links to edit pages
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.7.x
PC Linux
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-28 19:06 UTC by Dan Jacobson
Modified: 2010-05-15 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Adds rel="nofollow" to toolbox <a></a> (3.77 KB, patch)
2007-01-14 14:54 UTC, Robert Leverington
Details

Description Dan Jacobson 2006-12-28 19:06:51 UTC
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...
Comment 1 Robert Leverington 2007-01-14 14:54:17 UTC
Created attachment 3068 [details]
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links