r25245 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25244‎ | r25245 | r25246 >
Date:16:50, 28 August 2007
Author:robchurch
Status:old
Tags:
Comment:
(bug 11022) Use a more accurate page title for Special:Whatlinkshere and Special:Recentchangeslinked
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialRecentchangeslinked.php (modified) (history)
  • /trunk/phase3/includes/SpecialWhatlinkshere.php (modified) (history)
  • /trunk/phase3/languages/messages/MessagesEn.php (modified) (history)
  • /trunk/phase3/maintenance/language/messages.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/language/messages.inc
@@ -767,6 +767,7 @@
768768 ),
769769 'recentchangeslinked' => array(
770770 'recentchangeslinked',
 771+ 'recentchangeslinked-title',
771772 'recentchangeslinked-noresult',
772773 'recentchangeslinked-summary',
773774 ),
@@ -1306,6 +1307,7 @@
13071308 ),
13081309 'whatlinkshere' => array(
13091310 'whatlinkshere',
 1311+ 'whatlinkshere-title',
13101312 'whatlinkshere-summary',
13111313 'whatlinkshere-barrow',
13121314 'notargettitle',
Index: trunk/phase3/includes/SpecialRecentchangeslinked.php
@@ -35,6 +35,7 @@
3636 }
3737 $id = $nt->getArticleId();
3838
 39+ $wgOut->setPageTitle( wfMsg( 'recentchangeslinked-title', $nt->getPrefixedText() ) );
3940 $wgOut->setSubtitle( htmlspecialchars( wfMsg( 'rclsub', $nt->getPrefixedText() ) ) );
4041
4142 if ( ! $days ) {
Index: trunk/phase3/includes/SpecialWhatlinkshere.php
@@ -56,7 +56,8 @@
5757 }
5858 $this->selfTitle = Title::makeTitleSafe( NS_SPECIAL,
5959 'Whatlinkshere/' . $this->target->getPrefixedDBkey() );
60 - $wgOut->setPagetitle( $this->target->getPrefixedText() );
 60+
 61+ $wgOut->setPageTitle( wfMsg( 'whatlinkshere-title', $this->target->getPrefixedText() ) );
6162 $wgOut->setSubtitle( wfMsg( 'linklistsub' ) );
6263
6364 $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 @@
13541354
13551355 # Recent changes linked
13561356 'recentchangeslinked' => 'Related changes',
 1357+'recentchangeslinked-title' => 'Changes related to $1',
13571358 'recentchangeslinked-noresult' => 'No changes on linked pages during the given period.',
13581359 'recentchangeslinked-summary' => "This special page lists the last changes on pages who are linked. Pages on your watchlist are '''bold'''.",
13591360
@@ -1971,6 +1972,7 @@
19721973
19731974 # What links here
19741975 'whatlinkshere' => 'What links here',
 1976+'whatlinkshere-title' => 'Pages that link to $1',
19751977 'whatlinkshere-summary' => '', # only translate this message to other languages if you have to change it
19761978 'whatlinkshere-barrow' => '&lt;', # only translate this message to other languages if you have to change it
19771979 'notargettitle' => 'No target',
Index: trunk/phase3/RELEASE-NOTES
@@ -192,6 +192,8 @@
193193 more information
194194 * (bug 11095) Honour "preview on first edit" preference when preloading
195195 text for a non-existent page
 196+* (bug 11022) Use a more accurate page title for Special:Whatlinkshere and
 197+ Special:Recentchangeslinked
196198
197199 == Bugfixes since 1.10 ==
198200

Follow-up revisions

RevisionCommit summaryAuthorDate
r25303Merged revisions 25215-25302 via svnmerge from...david07:10, 30 August 2007

Status & tagging log