Make Special:WhatLinksHere set the related title so that the skin can display page...
authorDaniel Friesen <dantman@users.mediawiki.org>
Sun, 16 Jan 2011 07:50:10 +0000 (07:50 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Sun, 16 Jan 2011 07:50:10 +0000 (07:50 +0000)
includes/specials/SpecialWhatlinkshere.php

index 1e0e10e..3bdd730 100644 (file)
@@ -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() ) );