Merge "Add icon prefix to login link"

This commit is contained in:
jenkins-bot 2021-06-22 17:06:10 +00:00 committed by Gerrit Code Review
commit f6d116ff98
1 changed files with 5 additions and 1 deletions

View File

@ -194,7 +194,11 @@ class SkinVector extends SkinMustache {
// 'single-id' must be provided for `makeLink` to populate `title`, `accesskey` and other attributes
$loginData = $this->buildLoginData( $returnto, $useCombinedLoginLink );
$loginData['single-id'] = 'pt-login';
$loginData['class'] = 'vector-menu-content-item';
$loginData['class'] = [
'vector-menu-content-item',
'mw-ui-icon mw-ui-icon-before',
'mw-ui-icon-wikimedia-logIn'
];
$learnMoreLinkData = [
'text' => $this->msg( 'vector-anon-user-menu-pages-learn' )->text(),