Last modified: 2014-06-06 23:30:02 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 T68289, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66289 - Flow: external links should have rel="nofollow" property
Flow: external links should have rel="nofollow" property
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 52617
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-06 22:58 UTC by spage
Modified: 2014-06-06 23:30 UTC (History)
7 users (show)

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


Attachments

Description spage 2014-06-06 22:58:22 UTC
Split from bug 56756

External links in Parser output have <a rel="nofollow" class="external";
external links in Parsoid output have <a title="" rel="mw:ExtLink" 

Outputting rel="nofollow" tells search engines not to follow the link (more a suggestion to Google) and is an indicator to decrease search engine rank.  So adding this to Flow's HTML output from Parsoid might reduce spammers' incentive.

There's logic in Parser::getExternalLinkRel to decide whether to output nofollow, I think Flow can just call that public function in code similar to includes/Parsoid/Redlinker.php.

From IRC:
<gwicke> do you remember what the use case for the exceptions was?
   $wgNoFollowNsExceptions and $wgNoFollowDomainExceptions 
<hoo> First one: No idea... probably someone thought someone else could use that sometime. 
   Second one: To white list own domains
Comment 1 spage 2014-06-06 23:29:57 UTC
Parsoid may address this, bug 52617, and/or Flow could do it.

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


Navigation
Links