r110187 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110186‎ | r110187 | r110188 >
Date:23:19, 27 January 2012
Author:reedy
Status:ok
Tags:
Comment:
Use accessor method, ping r110179
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -331,7 +331,7 @@
332332 $msgsmall = wfMessage( 'show-big-image-preview' )->
333333 rawParams( $this->makeSizeLink( $params, $width, $height ) )->
334334 parse();
335 - if ( count( $otherSizes ) && $this->displayImg->getRepo()->transformVia404 ) {
 335+ if ( count( $otherSizes ) && $this->displayImg->getRepo()->canTransformVia404() ) {
336336 $msgsmall .= ' ' .
337337 Html::rawElement( 'span', array( 'class' => 'mw-filepage-other-resolutions' ),
338338 wfMessage( 'show-big-image-other' )->rawParams( $wgLang->pipeList( $otherSizes ) )->

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r110179Follow-up r83791: do not show size links for wikis which do not use a 404 tra...btongminh22:44, 27 January 2012

Status & tagging log