Compare commits
1 Commits
master
...
wmf/1.38.0
Author | SHA1 | Date |
---|---|---|
|
40f2fd8449 |
|
@ -312,11 +312,13 @@ class Hooks {
|
||||||
// users in legacy Vector.
|
// users in legacy Vector.
|
||||||
unset( $content_navigation['user-page'] );
|
unset( $content_navigation['user-page'] );
|
||||||
} else {
|
} else {
|
||||||
if ( isset( $content_navigation['user-menu']['watchlist'] ) ) {
|
if ( isset( $content_navigation['user-menu'] ) ) {
|
||||||
// Copy watchlist data into 'vector-user-menu-overflow'
|
if ( isset( $content_navigation['user-menu']['watchlist'] ) ) {
|
||||||
$content_navigation['vector-user-menu-overflow'] = [
|
// Copy watchlist data into 'vector-user-menu-overflow'
|
||||||
'watchlist' => $content_navigation['user-menu']['watchlist']
|
$content_navigation['vector-user-menu-overflow'] = [
|
||||||
];
|
'watchlist' => $content_navigation['user-menu']['watchlist']
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
self::updateUserLinksDropdownItems( $sk, $content_navigation );
|
self::updateUserLinksDropdownItems( $sk, $content_navigation );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue