Use wfMsg()'s parameters
[lhc/web/wiklou.git] / includes / SearchEngine.php
index 6739bf5..7735318 100644 (file)
@@ -352,7 +352,7 @@ class SearchEngine {
                if ( "" == $contextchars ) { $contextchars = 50; }
 
                $link = $sk->makeKnownLink( $t, "" );
-               $size = str_replace( "$1", strlen( $row->cur_text ), WfMsg( "nbytes" ) );
+               $size = wfMsg( "nbytes", strlen( $row->cur_text ) );
                $wgOut->addHTML( "<li>{$link} ({$size})" );
 
                $lines = explode( "\n", $row->cur_text );