Shanikae has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/334499 )

Change subject: Add Related Changes Link for all categories
......................................................................

Add Related Changes Link for all categories

Add Related Changes link into the toolbox for the populated redlinked
categories as well since users need to see changes made in these
categories as well.

Bug: T147762
Change-Id: Ic5dd6f531b5ff47ce68fd2893fd1550d10f74e4e
---
M includes/skins/SkinTemplate.php
1 file changed, 3 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/99/334499/1

diff --git a/includes/skins/SkinTemplate.php b/includes/skins/SkinTemplate.php
index bf260aa..2a262f0 100644
--- a/includes/skins/SkinTemplate.php
+++ b/includes/skins/SkinTemplate.php
@@ -1283,11 +1283,9 @@
                                'href' => $this->getTitle()->getLocalURL( 
"action=info" )
                        ];
 
-                       if ( $this->getTitle()->exists() ) {
-                               $nav_urls['recentchangeslinked'] = [
-                                       'href' => SpecialPage::getTitleFor( 
'Recentchangeslinked', $this->thispage )->getLocalURL()
-                               ];
-                       }
+                       $nav_urls['recentchangeslinked'] = [
+                         'href' => SpecialPage::getTitleFor( 
'Recentchangeslinked', $this->thispage )->getLocalURL()
+                       ];
                }
 
                $user = $this->getRelevantUser();

-- 
To view, visit https://gerrit.wikimedia.org/r/334499
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5dd6f531b5ff47ce68fd2893fd1550d10f74e4e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Shanikae <shanika...@cse.mrt.ac.lk>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to