Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -767,6 +767,7 @@ |
768 | 768 | ), |
769 | 769 | 'recentchangeslinked' => array( |
770 | 770 | 'recentchangeslinked', |
| 771 | + 'recentchangeslinked-title', |
771 | 772 | 'recentchangeslinked-noresult', |
772 | 773 | 'recentchangeslinked-summary', |
773 | 774 | ), |
— | — | @@ -1306,6 +1307,7 @@ |
1307 | 1308 | ), |
1308 | 1309 | 'whatlinkshere' => array( |
1309 | 1310 | 'whatlinkshere', |
| 1311 | + 'whatlinkshere-title', |
1310 | 1312 | 'whatlinkshere-summary', |
1311 | 1313 | 'whatlinkshere-barrow', |
1312 | 1314 | 'notargettitle', |
Index: trunk/phase3/includes/SpecialRecentchangeslinked.php |
— | — | @@ -35,6 +35,7 @@ |
36 | 36 | } |
37 | 37 | $id = $nt->getArticleId(); |
38 | 38 | |
| 39 | + $wgOut->setPageTitle( wfMsg( 'recentchangeslinked-title', $nt->getPrefixedText() ) ); |
39 | 40 | $wgOut->setSubtitle( htmlspecialchars( wfMsg( 'rclsub', $nt->getPrefixedText() ) ) ); |
40 | 41 | |
41 | 42 | if ( ! $days ) { |
Index: trunk/phase3/includes/SpecialWhatlinkshere.php |
— | — | @@ -56,7 +56,8 @@ |
57 | 57 | } |
58 | 58 | $this->selfTitle = Title::makeTitleSafe( NS_SPECIAL, |
59 | 59 | 'Whatlinkshere/' . $this->target->getPrefixedDBkey() ); |
60 | | - $wgOut->setPagetitle( $this->target->getPrefixedText() ); |
| 60 | + |
| 61 | + $wgOut->setPageTitle( wfMsg( 'whatlinkshere-title', $this->target->getPrefixedText() ) ); |
61 | 62 | $wgOut->setSubtitle( wfMsg( 'linklistsub' ) ); |
62 | 63 | |
63 | 64 | $wgOut->addHTML( wfMsg( 'whatlinkshere-barrow' ) . ' ' .$this->skin->makeLinkObj($this->target, '', 'redirect=no' )."<br />\n"); |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -1353,6 +1353,7 @@ |
1354 | 1354 | |
1355 | 1355 | # Recent changes linked |
1356 | 1356 | 'recentchangeslinked' => 'Related changes', |
| 1357 | +'recentchangeslinked-title' => 'Changes related to $1', |
1357 | 1358 | 'recentchangeslinked-noresult' => 'No changes on linked pages during the given period.', |
1358 | 1359 | 'recentchangeslinked-summary' => "This special page lists the last changes on pages who are linked. Pages on your watchlist are '''bold'''.", |
1359 | 1360 | |
— | — | @@ -1971,6 +1972,7 @@ |
1972 | 1973 | |
1973 | 1974 | # What links here |
1974 | 1975 | 'whatlinkshere' => 'What links here', |
| 1976 | +'whatlinkshere-title' => 'Pages that link to $1', |
1975 | 1977 | 'whatlinkshere-summary' => '', # only translate this message to other languages if you have to change it |
1976 | 1978 | 'whatlinkshere-barrow' => '<', # only translate this message to other languages if you have to change it |
1977 | 1979 | 'notargettitle' => 'No target', |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -192,6 +192,8 @@ |
193 | 193 | more information |
194 | 194 | * (bug 11095) Honour "preview on first edit" preference when preloading |
195 | 195 | text for a non-existent page |
| 196 | +* (bug 11022) Use a more accurate page title for Special:Whatlinkshere and |
| 197 | + Special:Recentchangeslinked |
196 | 198 | |
197 | 199 | == Bugfixes since 1.10 == |
198 | 200 | |