Index: trunk/extensions/GlobalUsage/SpecialGlobalUsage.php |
— | — | @@ -61,12 +61,12 @@ |
62 | 62 | |
63 | 63 | if ( !is_null( $this->target ) && wfFindFile( $this->target ) ) { |
64 | 64 | // Show the image if it exists |
65 | | - global $wgUser, $wgContLang; |
| 65 | + global $wgUser; |
66 | 66 | $skin = $wgUser->getSkin(); |
67 | 67 | |
68 | 68 | $html .= $skin->makeImageLinkObj( $this->target, |
69 | 69 | $this->target->getPrefixedText(), |
70 | | - /* $alt */ '', /* $align */ $wgContLang->alignEnd(), |
| 70 | + /* $alt */ '', /* $align */ wfUILang()->alignEnd(), |
71 | 71 | /* $handlerParams */ array(), /* $framed */ false, |
72 | 72 | /* $thumb */ true ); |
73 | 73 | } |