Use makeLink instead of makeKnownLink in the users list to match everywhere

else in the universe.
Fix for [ 1000272 ] Red links in List of users (special pages)
This commit is contained in:
Brion Vibber 2004-08-07 01:18:19 +00:00
parent 62e98ad47c
commit 5d012d331a

View file

@ -26,10 +26,10 @@ class ListUsersPage extends QueryPage {
function formatResult( $skin, $result ) {
global $wgLang;
$name = $skin->makeKnownLink( $wgLang->getNsText($result->namespace) . ':' . $result->title, $result->title );
$name = $skin->makeLink( $wgLang->getNsText($result->namespace) . ':' . $result->title, $result->title );
if( '' != $result->type ) {
$name .= ' (' .
$skin->makeKnownLink( wfMsg( "administrators" ), $result->type) .
$skin->makeLink( wfMsg( "administrators" ), $result->type) .
')';
}
return $name;