Index: trunk/phase3/includes/ImagePage.php |
— | — | @@ -274,7 +274,7 @@ |
275 | 275 | if ( $page > 1 ) { |
276 | 276 | $label = $wgOut->parse( wfMsg( 'imgmultipageprev' ), false ); |
277 | 277 | $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', |
279 | 279 | array( 'page' => $page - 1 ) ); |
280 | 280 | } else { |
281 | 281 | $thumb1 = ''; |
— | — | @@ -283,7 +283,7 @@ |
284 | 284 | if ( $page < $count ) { |
285 | 285 | $label = wfMsg( 'imgmultipagenext' ); |
286 | 286 | $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', |
288 | 288 | array( 'page' => $page + 1 ) ); |
289 | 289 | } else { |
290 | 290 | $thumb2 = ''; |