Links created by Linker::makeExternalLink didn't include rel=nofollow
authorMarius Hoch <hoo@online.de>
Wed, 5 Dec 2012 20:09:14 +0000 (21:09 +0100)
committerMarius Hoch <hoo@online.de>
Wed, 5 Dec 2012 21:28:03 +0000 (22:28 +0100)
commita92e7fb58bee5e8c0fc05692a94255b7566aaf37
treef96b5b2943bc7496612256e598472d849555d70d
parent86f895bfe395d9fe00792422b052e7ebf43c7ae9
Links created by Linker::makeExternalLink didn't include rel=nofollow

The links created by Linker::makeExternalLink didn't obey $wgNoFollowLinks
(and $wgNoFollowNsExceptions, $wgNoFollowDomainExceptions). To
fix this I made the function call Parser::getExternalLinkRel which
I implemented earlier.

Fixes bug 41983.

Change-Id: I2ff35f89502db2e1f8266f3a943e38c0ea67aced
includes/Linker.php
tests/parser/parserTests.txt