# Link to username
. ' . . '.$skin->makeLinkObj( Title::makeTitle( NS_USER, $result->img_user_text ), $result->img_user_text)
# If there is a description, show it
- . $skin->commentBlock( $result->img_description );
+ . $skin->commentBlock( $wgContLang->convert( $result->img_description ) );
return $return;
}
global $wgContLang;
$nt = Title::newFromDBkey( $result->title );
+ $text = $wgContLang->convert( $result->title );
if( is_null( $nt ) ) {
return "<!-- Bad title '" . htmlspecialchars( $result->title ) . "' -->";
}
- $plink = $skin->makeBrokenLink( $nt->getPrefixedText(), "" );
+ $plink = $skin->makeBrokenLink( $nt->getPrefixedText(), $text );
$nl = wfMsg( "nlinks", $result->value );
$nlink = $skin->makeKnownLink( $wgContLang->specialPage( "Whatlinkshere" ), $nl,
"target=" . $nt->getPrefixedURL() );