From 0137e658903521238d7ca83a2f7234be15e29931 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 23 Dec 2006 18:30:36 +0000 Subject: [PATCH] * Fix some plurals --- includes/SpecialNewpages.php | 4 ++-- includes/SpecialShortpages.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index 987afa3ee1..6200738357 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -96,8 +96,8 @@ class NewPagesPage extends QueryPage { $time = $wgLang->timeAndDate( $result->timestamp, true ); $plink = $skin->makeKnownLinkObj( $title, '', $this->patrollable( $result ) ? 'rcid=' . $result->rcid : '' ); $hist = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'hist' ), 'action=history' ); - $length = wfMsgHtml( 'nbytes', $wgLang->formatNum( htmlspecialchars( $result->length ) ) ); - $ulink = $skin->userLink( $result->user, $result->user_text ) . $skin->userToolLinks( $result->user, $result->user_text ); + $length = wfMsgExt( 'nbytes', array( 'parsemag', 'escape' ), $wgLang->formatNum( htmlspecialchars( $result->length ) ) ); + $ulink = $skin->userLink( $result->user, $result->user_text ) . ' ' . $skin->userToolLinks( $result->user, $result->user_text ); $comment = $skin->commentBlock( $result->comment ); return "{$time} {$dm}{$plink} ({$hist}) {$dm}[{$length}] {$dm}{$ulink} {$comment}"; diff --git a/includes/SpecialShortpages.php b/includes/SpecialShortpages.php index 0073f88aca..03164debde 100644 --- a/includes/SpecialShortpages.php +++ b/includes/SpecialShortpages.php @@ -72,7 +72,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}]" -- 2.20.1