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

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(),