* Use PLURAL for 'search-result-size'
authorRaimond Spekking <raymond@users.mediawiki.org>
Fri, 14 Mar 2008 05:56:40 +0000 (05:56 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Fri, 14 Mar 2008 05:56:40 +0000 (05:56 +0000)
includes/SpecialSearch.php
languages/messages/MessagesEn.php

index 41a38be..d010ddd 100644 (file)
@@ -360,7 +360,7 @@ class SpecialSearch {
                }
                
                $text = $revision->getText();
-               $size = wfMsgHtml( 'search-result-size',
+               $size = wfMsgExt( 'search-result-size', array( 'parsemag' ),
                        $sk->formatSize( strlen( $text ) ),
                        str_word_count( $text ) );
                $date = $wgLang->timeanddate( $revision->getTimestamp() );
index e06374d..da0829f 100644 (file)
@@ -1218,7 +1218,7 @@ Make sure that this change will maintain historical page continuity.
 'prevn'                 => 'previous $1',
 'nextn'                 => 'next $1',
 'viewprevnext'          => 'View ($1) ($2) ($3)',
-'search-result-size'    => "$1 ($2 words)",
+'search-result-size'    => "$1 ({{PLURAL:$2|1 word|$2 words}})",
 'search-result-score'   => "Relevance: $1%",
 'showingresults'        => "Showing below up to {{PLURAL:$1|'''1''' result|'''$1''' results}} starting with #'''$2'''.",
 'showingresultsnum'     => "Showing below {{PLURAL:$3|'''1''' result|'''$3''' results}} starting with #'''$2'''.",