mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-13 17:57:06 +00:00
Merge "Add icon prefix to login link"
This commit is contained in:
commit
f6d116ff98
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue