I suggest some flyouts in one row 1. page, 2. talk, 3. search box, then the icons and at last the personal flyout:
Inside page (article, help, ...) flyout
Page
––––––––––––––––––– Edit
History
–––––––––––––––––––
Move
––––––––––––––––––– ... maybe: What links here Related changes Page information related page on sister projects wikidata item
Inside talk (article talk, help talk, ...) flyout
Talk
–––––––––––––––––––
Edit
History
–––––––––––––––––––
Move
–––––––––––––––––––
...
Inside Search box flyout (no changes)
Search box
suggestions ″ ″ ″ ″ containing
Outside of flyout (icons):
Watchlist
Messages / flyout
Notification / flyout
Inside personal flyout:
Username
–––––––––––––––––––
Contributions
Watchlist (count[1])
Messages (count)
Notifications (count)
–––––––––––––––––––
Other items added by extensions & gadgets[2]
–––––––––––––––––––
Preferences
Beta
Language
–––––––––––––––––––
Privacy (WMF specific)
Help
–––––––––––––––––––
Log out