From 5e9814fde5d1f4012533f398368b0868ffa10be3 Mon Sep 17 00:00:00 2001 From: Daniel Friesen Date: Sun, 16 Jan 2011 07:50:10 +0000 Subject: [PATCH] Make Special:WhatLinksHere set the related title so that the skin can display page tabs in it. --- includes/specials/SpecialWhatlinkshere.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/specials/SpecialWhatlinkshere.php b/includes/specials/SpecialWhatlinkshere.php index 1e0e10e8ad..3bdd730eaf 100644 --- a/includes/specials/SpecialWhatlinkshere.php +++ b/includes/specials/SpecialWhatlinkshere.php @@ -76,6 +76,9 @@ class SpecialWhatLinksHere extends SpecialPage { return; } + $this->skin->setRelevantTitle( $this->target ); + + $this->selfTitle = $this->getTitle( $this->target->getPrefixedDBkey() ); $wgOut->setPageTitle( wfMsg( 'whatlinkshere-title', $this->target->getPrefixedText() ) ); -- 2.20.1