more information
* (bug 11095) Honour "preview on first edit" preference when preloading
text for a non-existent page
+* (bug 11022) Use a more accurate page title for Special:Whatlinkshere and
+ Special:Recentchangeslinked
== Bugfixes since 1.10 ==
}
$id = $nt->getArticleId();
+ $wgOut->setPageTitle( wfMsg( 'recentchangeslinked-title', $nt->getPrefixedText() ) );
$wgOut->setSubtitle( htmlspecialchars( wfMsg( 'rclsub', $nt->getPrefixedText() ) ) );
if ( ! $days ) {
}
$this->selfTitle = Title::makeTitleSafe( NS_SPECIAL,
'Whatlinkshere/' . $this->target->getPrefixedDBkey() );
- $wgOut->setPagetitle( $this->target->getPrefixedText() );
+
+ $wgOut->setPageTitle( wfMsg( 'whatlinkshere-title', $this->target->getPrefixedText() ) );
$wgOut->setSubtitle( wfMsg( 'linklistsub' ) );
$wgOut->addHTML( wfMsg( 'whatlinkshere-barrow' ) . ' ' .$this->skin->makeLinkObj($this->target, '', 'redirect=no' )."<br />\n");
# Recent changes linked
'recentchangeslinked' => 'Related changes',
+'recentchangeslinked-title' => 'Changes related to $1',
'recentchangeslinked-noresult' => 'No changes on linked pages during the given period.',
'recentchangeslinked-summary' => "This special page lists the last changes on pages who are linked. Pages on your watchlist are '''bold'''.",
# What links here
'whatlinkshere' => 'What links here',
+'whatlinkshere-title' => 'Pages that link to $1',
'whatlinkshere-summary' => '', # only translate this message to other languages if you have to change it
'whatlinkshere-barrow' => '<', # only translate this message to other languages if you have to change it
'notargettitle' => 'No target',
),
'recentchangeslinked' => array(
'recentchangeslinked',
+ 'recentchangeslinked-title',
'recentchangeslinked-noresult',
'recentchangeslinked-summary',
),
),
'whatlinkshere' => array(
'whatlinkshere',
+ 'whatlinkshere-title',
'whatlinkshere-summary',
'whatlinkshere-barrow',
'notargettitle',