From: Alexandre Emsenhuber Date: Fri, 11 Nov 2011 16:09:34 +0000 (+0000) Subject: Don't pass the count parameter in rawParams() otherwise {{PLURAL:}} won't work (spott... X-Git-Tag: 1.31.0-rc.0~26557 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=ddb2238bdf571e546eff850f12ad0e39afbcba04;p=lhc%2Fweb%2Fwiklou.git Don't pass the count parameter in rawParams() otherwise {{PLURAL:}} won't work (spotted while looking at r102794 but not related to that rev) --- 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