r22704 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22703‎ | r22704 | r22705 >
Date:15:52, 4 June 2007
Author:tstarling
Status:old
Tags:
Comment:
Fix calling convention to makeThumbLinkObj()
Modified paths:
  • /trunk/phase3/includes/ImagePage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -274,7 +274,7 @@
275275 if ( $page > 1 ) {
276276 $label = $wgOut->parse( wfMsg( 'imgmultipageprev' ), false );
277277 $link = $sk->makeKnownLinkObj( $this->mTitle, $label, 'page='. ($page-1) );
278 - $thumb1 = $sk->makeThumbLinkObj( $this->img, $link, $label, 'none',
 278+ $thumb1 = $sk->makeThumbLinkObj( $this->mTitle, $link, $label, 'none',
279279 array( 'page' => $page - 1 ) );
280280 } else {
281281 $thumb1 = '';
@@ -283,7 +283,7 @@
284284 if ( $page < $count ) {
285285 $label = wfMsg( 'imgmultipagenext' );
286286 $link = $sk->makeKnownLinkObj( $this->mTitle, $label, 'page='. ($page+1) );
287 - $thumb2 = $sk->makeThumbLinkObj( $this->img, $link, $label, 'none',
 287+ $thumb2 = $sk->makeThumbLinkObj( $this->mTitle, $link, $label, 'none',
288288 array( 'page' => $page + 1 ) );
289289 } else {
290290 $thumb2 = '';

Follow-up revisions

RevisionCommit summaryAuthorDate
r22717Merged revisions 22667-22715 via svnmerge from...david20:00, 4 June 2007

Status & tagging log