From: Sam Reed Date: Fri, 27 Jan 2012 23:19:58 +0000 (+0000) Subject: Use accessor method, ping r110179 X-Git-Tag: 1.31.0-rc.0~25043 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=5bccf15053aaefd43bedc429db89d1f3626dfac9;p=lhc%2Fweb%2Fwiklou.git Use accessor method, ping r110179 --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index eacfd358fd..e1cc6e75f2 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -331,7 +331,7 @@ class ImagePage extends Article { $msgsmall = wfMessage( 'show-big-image-preview' )-> rawParams( $this->makeSizeLink( $params, $width, $height ) )-> parse(); - if ( count( $otherSizes ) && $this->displayImg->getRepo()->transformVia404 ) { + if ( count( $otherSizes ) && $this->displayImg->getRepo()->canTransformVia404() ) { $msgsmall .= ' ' . Html::rawElement( 'span', array( 'class' => 'mw-filepage-other-resolutions' ), wfMessage( 'show-big-image-other' )->rawParams( $wgLang->pipeList( $otherSizes ) )->