From: James D. Forrester Date: Wed, 21 Sep 2016 00:45:31 +0000 (-0700) Subject: Toolbox: Mark RecentChangesLinked link as nofollow X-Git-Tag: 1.31.0-rc.0~5433^2 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=1a33229b490aacc196cbb2083b6ee3dff277739e;p=lhc%2Fweb%2Fwiklou.git Toolbox: Mark RecentChangesLinked link as nofollow Bug: T146233 Change-Id: I2dd0b3a179dc0d1d7210d98748f45e75f953d2bf --- diff --git a/includes/skins/BaseTemplate.php b/includes/skins/BaseTemplate.php index 2d37a0f7e6..87865dfa0b 100644 --- a/includes/skins/BaseTemplate.php +++ b/includes/skins/BaseTemplate.php @@ -55,7 +55,6 @@ abstract class BaseTemplate extends QuickTemplate { * @return array */ function getToolbox() { - $toolbox = []; if ( isset( $this->data['nav_urls']['whatlinkshere'] ) && $this->data['nav_urls']['whatlinkshere'] @@ -69,6 +68,7 @@ abstract class BaseTemplate extends QuickTemplate { $toolbox['recentchangeslinked'] = $this->data['nav_urls']['recentchangeslinked']; $toolbox['recentchangeslinked']['msg'] = 'recentchangeslinked-toolbox'; $toolbox['recentchangeslinked']['id'] = 't-recentchangeslinked'; + $toolbox['recentchangeslinked']['rel'] = 'nofollow'; } if ( isset( $this->data['feeds'] ) && $this->data['feeds'] ) { $toolbox['feeds']['id'] = 'feedlinks';