Index: branches/wmf/1.17wmf1/extensions/WikimediaIncubator/SpecialViewUserLang.php |
— | — | @@ -67,8 +67,8 @@ |
68 | 68 | * @param $target Mixed: user whose language and test wiki we're looking up |
69 | 69 | */ |
70 | 70 | function showInfo( $target ) { |
71 | | - global $wgOut, $wmincPref, $wmincProjectSite; |
72 | | - $sk = $this->getSkin(); |
| 71 | + global $wgOut, $wmincPref, $wmincProjectSite, $wgUser; |
| 72 | + $sk = $wgUser->getSkin(); |
73 | 73 | $user = User::newFromName( $target ); |
74 | 74 | $langNames = Language::getLanguageNames(); |
75 | 75 | if ( $user == null || $user->getId() == 0 ) { |