r90589 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90588‎ | r90589 | r90590 >
Date:15:30, 22 June 2011
Author:robin
Status:ok
Tags:
Comment:
Correct image alignment for $wgBetterDirectionality on Special:GlobalUsage
Modified paths:
  • /trunk/extensions/GlobalUsage/SpecialGlobalUsage.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GlobalUsage/SpecialGlobalUsage.php
@@ -61,12 +61,12 @@
6262
6363 if ( !is_null( $this->target ) && wfFindFile( $this->target ) ) {
6464 // Show the image if it exists
65 - global $wgUser, $wgContLang;
 65+ global $wgUser;
6666 $skin = $wgUser->getSkin();
6767
6868 $html .= $skin->makeImageLinkObj( $this->target,
6969 $this->target->getPrefixedText(),
70 - /* $alt */ '', /* $align */ $wgContLang->alignEnd(),
 70+ /* $alt */ '', /* $align */ wfUILang()->alignEnd(),
7171 /* $handlerParams */ array(), /* $framed */ false,
7272 /* $thumb */ true );
7373 }

Status & tagging log