Could anybody point me in the right direction on how to add the same appearance menu that Wikipedia has next to articles to a Wiki (including the dark mode)? The furthest I have gotten is enabling Vector-2022 and the Gadgets extension. I couldn't figure out which gadgets to import. There doesn't seem to be any official documentation (that I could find). I'm also not sure if I have to change anything else in LocalSettings.php to get it working.
Topic on Project:Support desk
Appearance
I finally figured out that it's enabled by default in MediaWiki 1.43, but not in the current stable version (don't know if it could be enabled somehow in 1.42). The only thing I still have to figure out is how to make it default to the text size "standard" instead of "small" for all users.
Okay, the font size can be changed in skin.json under "DefaultUserOptions". Problem solved. Leaving all of this here in case someone else tries to figure this out.
For the record, we strongly discourage people from editing skin.json. If you want to change this, you should set $wgDefaultUserOptions['vector-font-size'] = 1
in your LocalSettings.php See manual:$wgDefaultUserOptions for more details.
Thank you for pointing that out. That's a cleaner solution. I was looking for a way to do that in LocalSettings.php, but I was looking in the wrong place (Skin:Vector#Configuration).