Index: trunk/phase3/includes/specials/SpecialSearch.php |
— | — | @@ -526,7 +526,7 @@ |
527 | 527 | 'search-result-size', |
528 | 528 | array( 'parsemag', 'escape' ), |
529 | 529 | $this->sk->formatSize( $byteSize ), |
530 | | - $wordCount |
| 530 | + $wgLang->formatNum( $wordCount ) |
531 | 531 | ); |
532 | 532 | $date = $wgLang->timeanddate( $timestamp ); |
533 | 533 | |
— | — | @@ -881,12 +881,17 @@ |
882 | 882 | } |
883 | 883 | $out .= Xml::closeElement( 'ul' ); |
884 | 884 | $out .= Xml::closeElement('div') ; |
885 | | - |
| 885 | + |
886 | 886 | // Results-info |
887 | 887 | if ( $resultsShown > 0 ) { |
888 | 888 | if ( $totalNum > 0 ){ |
889 | | - $top = wfMsgExt('showingresultsheader', array( 'parseinline' ), |
890 | | - $this->offset+1, $this->offset+$resultsShown, $totalNum, wfEscapeWikiText($term), $resultsShown ); |
| 889 | + $top = wfMsgExt( 'showingresultsheader', array( 'parseinline' ), |
| 890 | + $wgLang->formatNum( $this->offset + 1 ), |
| 891 | + $wgLang->formatNum( $this->offset + $resultsShown ), |
| 892 | + $wgLang->formatNum( $totalNum ), |
| 893 | + wfEscapeWikiText( $term ), |
| 894 | + $wgLang->formatNum( $resultsShown ) |
| 895 | + ); |
891 | 896 | } elseif ( $resultsShown >= $this->limit ) { |
892 | 897 | $top = wfShowingResults( $this->offset, $this->limit ); |
893 | 898 | } else { |