Topic on Skin talk:Vector

Toolbar and sidebar for logged-in vs non-logged in users in Vector 2022

3
Sampson2023 (talkcontribs)

Hi, I am using MediaWiki 1.40.1 with Vector 2022 skin.

I noticed that for non-logged in visitors, the toolbar is on the left and the sidebar (also on the left) looks as if it is still Vector. Whereas for logged-in users, the toolbar becomes a cool drop-down on the right, and the sidebar looks modernised. I eventually realised that this is a feature, not a bug!

However, when you look at the MediaWiki site itself and other sites like Wikipedia, they have made the appearance consistent for both groups of users, so I'm assuming it must be a simple configuration setting.

So my question is - how do I get the same Vector 2022 appearance for non-logged in users, as for logged-in users?

Thanks in advance!

Laoweek (talkcontribs)

I have a different but unrelated problem, I was looking into setting pinned sidebar as the default for logged in and non-logged in users. There exists a "vector-main-menu-pinned" user option ($wgDefaultUserOptions) but it seems to be internal and doesn't work if you try to change it ("vector-toc-pinned" does work for some reason).

Documentation is very lacking at the moment, not sure they have this configuration implemented in mind.

XiaofeiTM233 (talkcontribs)

Normally, vector-main-menu-pinned=1(in Vector/skin.json line:170), but this is not valid for users who are not logged in, I don't know how to fix it

Reply to "Toolbar and sidebar for logged-in vs non-logged in users in Vector 2022"