Don't pass the count parameter in rawParams() otherwise {{PLURAL:}} won't work (spott...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 11 Nov 2011 16:09:34 +0000 (16:09 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 11 Nov 2011 16:09:34 +0000 (16:09 +0000)
includes/ImagePage.php

index f98466a..0bed464 100644 (file)
@@ -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