From 5bccf15053aaefd43bedc429db89d1f3626dfac9 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 27 Jan 2012 23:19:58 +0000 Subject: [PATCH] Use accessor method, ping r110179 --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) )-> -- 2.20.1