From: Daniel Friesen Date: Sun, 16 Jan 2011 07:50:10 +0000 (+0000) Subject: Make Special:WhatLinksHere set the related title so that the skin can display page... X-Git-Tag: 1.31.0-rc.0~32513 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=5e9814fde5d1f4012533f398368b0868ffa10be3;p=lhc%2Fweb%2Fwiklou.git Make Special:WhatLinksHere set the related title so that the skin can display page tabs in it. --- 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() ) );