From 767f85f6fc60633319175c2e8d5d8d8fc90df7e5 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Mon, 2 Apr 2007 07:24:39 +0000 Subject: [PATCH] * (bug 9194) Add {{PLURAL:...}} to navigation bar of special:whatlinkshere --- RELEASE-NOTES | 3 ++- includes/SpecialWhatlinkshere.php | 4 ++-- languages/messages/MessagesDe.php | 4 ++-- languages/messages/MessagesEn.php | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 74d54f2462..c2c72a629c 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -298,7 +298,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 9472) Invalid XHTML on cached special pages * (bug 9472) Invalid XHTML on Special:Newpages * (bug 4764) "My contributions" not bold when viewing own contributions - +* (bug 9194) Add {{PLURAL:...}} to navigation bar of special:whatlinkshere + == Maintenance == * New script maintenance/language/checkExtensioni18n.php used to check i18n progress in the extension repository. diff --git a/includes/SpecialWhatlinkshere.php b/includes/SpecialWhatlinkshere.php index 1fb57370a3..a9896e8f36 100644 --- a/includes/SpecialWhatlinkshere.php +++ b/includes/SpecialWhatlinkshere.php @@ -240,8 +240,8 @@ class WhatLinksHerePage { function getPrevNext( $limit, $prevId, $nextId, $namespace ) { global $wgLang; $fmtLimit = $wgLang->formatNum( $limit ); - $prev = wfMsg( 'whatlinkshere-prev', $fmtLimit ); - $next = wfMsg( 'whatlinkshere-next', $fmtLimit ); + $prev = wfMsgExt( 'whatlinkshere-prev', 'parsemag', $fmtLimit ); + $next = wfMsgExt( 'whatlinkshere-next', 'parsemag', $fmtLimit ); if ( 0 != $prevId ) { $prevLink = $this->makeSelfLink( $prev, "limit={$limit}&from={$this->back}&namespace={$namespace}" ); diff --git a/languages/messages/MessagesDe.php b/languages/messages/MessagesDe.php index ed63a1bdf5..898f945371 100644 --- a/languages/messages/MessagesDe.php +++ b/languages/messages/MessagesDe.php @@ -1487,8 +1487,8 @@ Im [[Special:Log/delete|Lösch-Logbuch]] finden Sie eine Übersicht der kürzlic 'nolinkshere-ns' => "Keine Seite verweist auf '''„[[:$1]]“''' im gewählten Namensraum.", 'isredirect' => 'Weiterleitungsseite', 'istemplate' => 'Vorlageneinbindung', -'whatlinkshere-prev' => 'vorherige $1', -'whatlinkshere-next' => 'nächste $1', +'whatlinkshere-prev' => '{{PLURAL:$1|vorheriger|vorherige $1}}', +'whatlinkshere-next' => '{{PLURAL:$1|nächster|nächste $1}}', # Block/unblock 'blockip' => 'IP-Adresse/Benutzer sperren', diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 8fd3cd4660..bdadbe2567 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1916,8 +1916,8 @@ to perform this function on.', 'nolinkshere-ns' => "No pages link to '''[[:$1]]''' in the chosen namespace.", 'isredirect' => 'redirect page', 'istemplate' => 'inclusion', -'whatlinkshere-prev' => 'previous $1', -'whatlinkshere-next' => 'next $1', +'whatlinkshere-prev' => '{{PLURAL:$1|previous|previous $1}}', +'whatlinkshere-next' => '{{PLURAL:$1|next|next $1}}', # Block/unblock IP # -- 2.20.1