From 1a33229b490aacc196cbb2083b6ee3dff277739e Mon Sep 17 00:00:00 2001 From: "James D. Forrester" Date: Tue, 20 Sep 2016 17:45:31 -0700 Subject: [PATCH] Toolbox: Mark RecentChangesLinked link as nofollow Bug: T146233 Change-Id: I2dd0b3a179dc0d1d7210d98748f45e75f953d2bf --- includes/skins/BaseTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.20.1