r22513 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22512‎ | r22513 | r22514 >
Date:19:32, 28 May 2007
Author:aaron
Status:old
Tags:
Comment:
*Add $time param to makeImageLinkObj()
Modified paths:
  • /branches/filerepo-work/phase3/includes/Linker.php (modified) (history)

Diff [purge]

Index: branches/filerepo-work/phase3/includes/Linker.php
@@ -414,11 +414,11 @@
415415
416416 /** @todo document */
417417 function makeImageLinkObj( $nt, $label, $alt, $align = '', $params = array(), $framed = false,
418 - $thumb = false, $manual_thumb = '', $valign = '' )
 418+ $thumb = false, $manual_thumb = '', $valign = '', $time = false )
419419 {
420420 global $wgContLang, $wgUser, $wgThumbLimits;
421421
422 - $img = wfFindFile( $nt );
 422+ $img = wfFindFile( $nt, $time );
423423
424424 if ( $img && !$img->allowInlineDisplay() ) {
425425 wfDebug( __METHOD__.': '.$nt->getPrefixedDBkey()." does not allow inline display\n" );