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:
parent
62e98ad47c
commit
5d012d331a
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue