Use wfMsg()'s parameters
[lhc/web/wiklou.git] / includes / SpecialLongpages.php
index 2203f5a..0ebcb7e 100644 (file)
@@ -34,7 +34,7 @@ function wfSpecialLongpages()
 
        $s = "<ol start=" . ( $offset + 1 ) . ">";
        while ( $obj = wfFetchObject( $res ) ) {
-               $nb = str_replace( "$1", $obj->len, wfMsg( "nbytes" ) );
+               $nb = wfMsg( "nbytes", $obj->len );
                $link = $sk->makeKnownLink( $obj->cur_title, "" );
                $s .= "<li>{$link} ({$nb})</li>\n";
        }