My wiki has custom CSS which I haven't configured to work with light mode, so it's horrible to read without dark mode. I can easily enable (and disable) dark mode with a goggles-like icon at the top of the screen, but other viewers can't for whatever reason. It simply doesn't appear, and the menu it opens (appearance) always appears on the right side of the screen.
#Why can't other people enable dark mode on my wiki?
18 messages · Page 1 of 1 (latest)
Tip of the day: if you provide a link to your wiki maybe we can see the code and help you 😄
there you go
sorry
The problem is: You created your Custom CSS only for dark mode
How to solve this:
- Add CSS styles for light mode as well
- Disable light mode for everyone, and make dark mode by default and only available option.
- Convince everyone on your wiki to switch to dark-mode, which is unrealistic.
Also:
Looks like the dark-mode you are using is a part of beta-features which are disabled for not-logged-in users. That's why people don't see "Color" section in the sidebar "Appearance" menu.
How do I disable light mode for everyone?
Not big on CSS editing, so you'll have to hand hold me a bit with this
I’m not expert in the skin you are using. If it’s Vector 2022, take a look at this manual regarding the Night mode: https://m.mediawiki.org/wiki/Skin:Vector/2022
MediaWiki
Vector 2022 is a MediaWiki skin that is the second evolution of the Vector skin. It was developed as part of the Desktop improvements project.
It has been bundled in MediaWiki since MediaWiki 1.38 .
It is the default skin for various Wikimedia projects.
Vector 2022 differs from most skins in that it does not have its own code base; rather, its c...
where can i find localsettings.php? or is that the wrong place to insert the code if i want global changes?
anything that mentions localsetting.php is either found in ManageWiki, or if not in there, needs to be requested on the issue-tracker, there isn't a localsettings.php per wiki, due to the way the setup works in Miraheze
yup, you can't edit localsetting.php on Miraheze, but what you can do is to go to your ManageWiki advanced settings and use the search bar for settings like "dark" or "night" and to see if there are options available for your theme/skin.
If not, next action - create a [[Phorge]] ticket and ask what you want to change in localsetting.php
I'd rather try the first option now, which should be more straightforward, but why do logged in users still not see the "colour" part in "appearance"?
Would it be possible to simply apply these regardless of user preference?
I remember there is an option in the user settings/preferences is to show "beta features" of theme, maybe they need to switch it on first.
in this case you have to delete all "Light mode" styles manually, which will be painful, because the light mode is the default mode.
Where and how would I do that? Remember, I don't know where or what a lot of this stuff is