mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
Merge "Remove duplicate login button from user links user menu."
This commit is contained in:
commit
7ebd1ddc92
|
@ -188,6 +188,9 @@ class Hooks {
|
|||
unset( $content_navigation['user-menu']['createaccount'] );
|
||||
// "Login" link is handled manually by Vector
|
||||
unset( $content_navigation['user-menu']['login'] );
|
||||
// Remove duplicate "Login" link added by SkinTemplate::buildPersonalUrls if group read permissions
|
||||
// are set to false.
|
||||
unset( $content_navigation['user-menu']['login-private'] );
|
||||
}
|
||||
|
||||
// ULS and user page links are hidden at lower resolutions.
|
||||
|
|
Loading…
Reference in a new issue