Merge "Fix linking of external users from action=credits"
This commit is contained in:
commit
85e9fb15c8
1 changed files with 1 additions and 6 deletions
|
|
@ -210,12 +210,7 @@ class CreditsAction extends FormlessAction {
|
|||
$real = $user->getName();
|
||||
}
|
||||
|
||||
$page = $user->isAnon()
|
||||
? SpecialPage::getTitleFor( 'Contributions', $user->getName() )
|
||||
: $user->getUserPage();
|
||||
|
||||
return MediaWikiServices::getInstance()
|
||||
->getLinkRenderer()->makeLink( $page, $real );
|
||||
return Linker::userLink( $user->getId(), $user->getName(), $real );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue