Use message 'brackets' for brackets
authorLiangent <liangent@gmail.com>
Fri, 8 Jun 2012 14:11:07 +0000 (22:11 +0800)
committerAntoine Musso <hashar@free.fr>
Thu, 14 Jun 2012 09:29:44 +0000 (11:29 +0200)
Change-Id: I92419cb6d86e313b611b1f7132a278f7f8f97d5f

includes/specials/SpecialNewpages.php

index 4c32c30..1798e8f 100644 (file)
@@ -345,7 +345,7 @@ class SpecialNewpages extends IncludableSpecialPage {
                        $this->msg( 'parentheses' )->rawParams( $histLink )->escaped() );
 
                $length = Html::element( 'span', array( 'class' => 'mw-newpages-length' ),
-                               '[' . $this->msg( 'nbytes' )->numParams( $result->length )->text() . ']'
+                       $this->msg( 'brackets' )->params( $this->msg( 'nbytes' )->numParams( $result->length )->text() )
                );
 
                $ulink = Linker::revUserTools( $rev );