mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 08:00:32 +00:00
Merge "Use avatarIcon instead of profile"
This commit is contained in:
commit
f095583cc8
|
@ -84,7 +84,8 @@ final class ProfileMenuEntry implements IProfileMenuEntry {
|
|||
return [ [
|
||||
'text' => $this->customProfileLabel ?? $username,
|
||||
'href' => $this->customProfileURL ?? Title::newFromText( $username, NS_USER )->getLocalURL(),
|
||||
'class' => MinervaUI::iconClass( 'profile', 'before', 'truncated-text primary-action' ),
|
||||
'class' => MinervaUI::iconClass( 'userAvatar-base20',
|
||||
'before', 'truncated-text primary-action', 'wikimedia' ),
|
||||
'data-event-name' => 'menu.' . (
|
||||
$this->profileTrackingCode ?? self::DEFAULT_PROFILE_TRACKING_CODE )
|
||||
] ];
|
||||
|
|
|
@ -297,7 +297,7 @@
|
|||
"useDataURI": false,
|
||||
"defaultColor": "#54595d",
|
||||
"class": "ResourceLoaderOOUIIconPackModule",
|
||||
"icons": [ "search" ]
|
||||
"icons": [ "search", "userAvatar" ]
|
||||
},
|
||||
"skins.minerva.icons.images": {
|
||||
"class": "ResourceLoaderImageModule",
|
||||
|
@ -326,7 +326,6 @@
|
|||
"file": "resources/skins.minerva.icons.images/languageSwitcher.svg",
|
||||
"variants": [ "base20" ]
|
||||
},
|
||||
"profile": "resources/skins.minerva.icons.images/profile.svg",
|
||||
"clock": {
|
||||
"file": "resources/skins.minerva.icons.images/clock.svg",
|
||||
"variants": [ "invert" ]
|
||||
|
|
Loading…
Reference in a new issue