* (bug 9194) Add {{PLURAL:...}} to navigation bar of special:whatlinkshere
authorRaimond Spekking <raymond@users.mediawiki.org>
Mon, 2 Apr 2007 07:24:39 +0000 (07:24 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Mon, 2 Apr 2007 07:24:39 +0000 (07:24 +0000)
RELEASE-NOTES
includes/SpecialWhatlinkshere.php
languages/messages/MessagesDe.php
languages/messages/MessagesEn.php

index 74d54f2..c2c72a6 100644 (file)
@@ -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.
index 1fb5737..a9896e8 100644 (file)
@@ -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}" );
index ed63a1b..898f945 100644 (file)
@@ -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',
index 8fd3cd4..bdadbe2 100644 (file)
@@ -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
 #