From: Raimond Spekking Date: Mon, 17 Aug 2009 09:45:39 +0000 (+0000) Subject: Use formatNum for some more numbers. X-Git-Tag: 1.31.0-rc.0~40263 X-Git-Url: http://git.cyclocoop.org/data/%24oldEdit?a=commitdiff_plain;h=7f6620630b285da922bef2731c100f64c772a0da;p=lhc%2Fweb%2Fwiklou.git Use formatNum for some more numbers. --- diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index cbdd337345..4d7ded7745 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -526,7 +526,7 @@ class SpecialSearch { 'search-result-size', array( 'parsemag', 'escape' ), $this->sk->formatSize( $byteSize ), - $wordCount + $wgLang->formatNum( $wordCount ) ); $date = $wgLang->timeanddate( $timestamp ); @@ -881,12 +881,17 @@ class SpecialSearch { } $out .= Xml::closeElement( 'ul' ); $out .= Xml::closeElement('div') ; - + // Results-info if ( $resultsShown > 0 ) { if ( $totalNum > 0 ){ - $top = wfMsgExt('showingresultsheader', array( 'parseinline' ), - $this->offset+1, $this->offset+$resultsShown, $totalNum, wfEscapeWikiText($term), $resultsShown ); + $top = wfMsgExt( 'showingresultsheader', array( 'parseinline' ), + $wgLang->formatNum( $this->offset + 1 ), + $wgLang->formatNum( $this->offset + $resultsShown ), + $wgLang->formatNum( $totalNum ), + wfEscapeWikiText( $term ), + $wgLang->formatNum( $resultsShown ) + ); } elseif ( $resultsShown >= $this->limit ) { $top = wfShowingResults( $this->offset, $this->limit ); } else {