}
function formatResult( $skin, $result ) {
- global $wgLang,$wgUser;
- $sk=$wgUser->getSkin();
+ global $wgLang;
$u = $result->cur_user;
$ut = $result->cur_user_text;
$length = wfmsg( "nbytes", $wgLang->formatNum( $result->cur_length ) );
- $c = $sk->formatComment($result->cur_comment );
+ $c = $skin->formatComment($result->cur_comment );
if ( 0 == $u ) { # not by a logged-in user
$ul = $ut;