From ddb2238bdf571e546eff850f12ad0e39afbcba04 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Fri, 11 Nov 2011 16:09:34 +0000 Subject: [PATCH] Don't pass the count parameter in rawParams() otherwise {{PLURAL:}} won't work (spotted while looking at r102794 but not related to that rev) --- includes/ImagePage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ImagePage.php b/includes/ImagePage.php index f98466a4d1..0bed464a71 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -332,8 +332,8 @@ class ImagePage extends Article { rawParams( $this->makeSizeLink( $params, $width, $height ) )-> parse() . ' ' . Html::rawElement( 'span', array( 'class' => 'mw-filepage-other-resolutions' ), - wfMessage( 'show-big-image-other' )-> - rawParams( $wgLang->pipeList( $otherSizes ), count( $otherSizes ) )->parse() + wfMessage( 'show-big-image-other' )->rawParams( $wgLang->pipeList( $otherSizes ) )-> + params( count( $otherSizes ) )->parse() ); } elseif ( $width == 0 && $height == 0 ){ # Some sort of audio file that doesn't have dimensions -- 2.20.1