r92371 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92370‎ | r92371 | r92372 >
Date:18:19, 16 July 2011
Author:btongminh
Status:ok
Tags:
Comment:
Fix GlobalUsage for 1.19 Linker
Modified paths:
  • /trunk/extensions/GlobalUsage/SpecialGlobalUsage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalUsage/SpecialGlobalUsage.php
@@ -64,11 +64,12 @@
6565 global $wgUser;
6666 $skin = $wgUser->getSkin();
6767
68 - $html .= $skin->makeImageLinkObj( $this->target,
69 - $this->target->getPrefixedText(),
 68+ $html .= Linker::makeThumbLinkObj( $this->target,
 69+ wfFindFile( $this->target ),
 70+ /* $label */ $this->target->getPrefixedText(),
7071 /* $alt */ '', /* $align */ wfUILang()->alignEnd(),
7172 /* $handlerParams */ array(), /* $framed */ false,
72 - /* $thumb */ true );
 73+ /* $manualThumb */ false );
7374 }
7475
7576 // Wrap the entire form in a nice fieldset

Status & tagging log