X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FSpecialShortpages.php;h=973656ddaa930109d9733ec1eaf5bfc3e6d319d5;hb=2771512dbeba455572f5935fe0a3b80720dae9af;hp=0073f88acada685410ddf3d4fda604824a948b21;hpb=9148811f646831e64743b338855df76f06ed958d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index 0073f88aca..973656ddaa 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -1,15 +1,13 @@ tableName( 'page' ); $name = $dbr->addQuotes( $this->getName() ); @@ -72,7 +70,7 @@ class ShortPagesPage extends QueryPage { $plink = $this->isCached() ? $skin->makeLinkObj( $title ) : $skin->makeKnownLinkObj( $title ); - $size = wfMsgHtml( 'nbytes', $wgLang->formatNum( htmlspecialchars( $result->value ) ) ); + $size = wfMsgExt( 'nbytes', array( 'parsemag', 'escape' ), $wgLang->formatNum( htmlspecialchars( $result->value ) ) ); return $title->exists() ? "({$hlink}) {$dm}{$plink} {$dm}[{$size}]" @@ -91,4 +89,4 @@ function wfSpecialShortpages() { return $spp->doQuery( $offset, $limit ); } -?> +