I had a background image on my old skin and then I changed to Cosmos. How do I get a background image to work? I cannot join the discord, it always gives me an error.
Skin talk:Cosmos
I figured this out. The instructions are unclear. "Configure as necessary." Configure where? Well, you have to add "$wgCosmosBackgroundImage =" and then the url to your image in LocalSettings.php. The configuration also says the background image is fixed by default, but mine scrolls, even if I add that part to my local settings.
I am using the Cosmos skin and I am finding that when I use the "category:pagename" I get a line of text at the top of the screen in tiny print that repeats categories i entered.
Any ideas why?
It's just part of the theme. It shows all the categories a page is in at the top as well as the bottom.
Hello
As far as I understood you need to change wgCosmosContentBackgroundColor to switch to dark mode - but is it possible to add button to do this? I checked Dark mode extension but it's just horrible totally dark theme and bright white text. I'm trying to add something more similar to Discord Dark theme (i.e. 313131 for background, dbdbdb for text.
But I need button to make it toggleable, so how?
I use Miraheze with the Skins Per Page extension and whenever I click "edit' (either the link or the fandom-looking button) the page url adds /w/index.php?title=title_name&veaction=edit but nothing else happens.
I can still go to edit source if the page has a segment, and from there I can use visual edit, but otherwise there's no way to do it.
Is there a known way to fix this?
Is there an way to enable dark mode on Cosmos skin, for example changing the background color to a dark one?
It supports the DarkMode extension in more recent versions for a start. Also the skin is almost completely configurable, changing the background color configs to a dark color will make the text colors adapt to the dark theme.
Given the following menu items in the MediaWiki:Sidebar. When a bullet item is empty it is still drawn. No other skins behave this way, they all simply exclude those bullet items from the menus entirely. This would be nice to get fixed for cases where logic is used within the menu to present dynamically defined menu items. For example, here under Dynamic, if the user is a sysop then they get a link to PageForSysops but if they are not then the get a link to FAQforOthers. But the next link does not have the ELSE portion, so it will be empty output for non sysop users. When this last link is rendered in the menu it appears as an empty clickable link to nothing. If there are many logic based links there can be quite a lot of empty space which other skins simply skip over entirely. Thanks for any tips before I start digging into the code myself.
* Navigation
** randompage-url|randompage
*** helppage|help-mediawiki
**
**
* Dynamic
** {{#ifsysop:PageForSysops|SysOps or FAQ|FAQforOthers|FAQ}
** {{#ifsysop:PageForSysops|SysOps or FAQ}}
Thanks for bringing it up, I will also look into this soon. Does this happen when you set the menu in MediaWiki:Cosmos-navigation or just when in MediaWiki:Sidebar, and embeded into MediaWiki:Cosmos-navigation through {{int:sidebar}}
?
Great question. I will test that out. I have thus far left MediaWiki:Cosmos-navigation as is and am using the main Sidebar because all skins (more or less) utilize that menu.
- Yup, they appear to still render empty menu items if logic or non logic results in an empty ** or *** item.
Ok, thank you for verifying that, I will look into this tomorrow also and hopefully deploy a fix. Thanks again!
Hello, I'd like to apologise for the delay in fixing this. Some personal things came up. I will try and get it done as soon as possible.
No worries, whenever you get to it. If I had more time myself I might take a stab at a fix myself.
This should now be fixed
Saw in "Planned features" update to new FandomDesktop skin - can this be done separately, as another skin, or is there possibility to still use older version?
I'm asking because I've been managing wikis on WIkia/FANDOM for ages and don't know much about "raw" wiki management/experience. There is an obvious backlash on FANDOM against this new skin, I'm among those doesn't support this change, and I was pleasantly surprised that a replica of Oasis exists on MediaWiki.
Currently this is planned to be done as a separate skin.
When enabling the Extension:DynamicSidebar and using the Cosmos skin. The menu simply renders a menu named USER-SIDEBAR which is a link to the article of that name. This menu has no contents and is of a slightly different style than the other menus.
- USER-SIDEBAR
- GROUP-SIDEBAR (does the same)
- CATEGORY-SIDEBAR (I presume is the same but have not tried)
The above is added to the MediaWiki:Sidebar to enable the users own personal menu, if that article User:Username/Sidebar exists and nothing is rendered if that page does not exist, when using other skins.
Hello, I once again apologise for the delay here. I will try and look into this as soon as possible. One of the goals I had with Cosmos was to have support with at least most extensions. However this goal is something I've struggled with lately, as it seems to also have issues with the NoTitle, and JSBreadCrumbs extensions as well, do to the naming convention Cosmos uses for html elements. However I do plan to work on adding support for those as well, so I will add this to the list of extensions to verify support with. Once again, thank you for bringing this up. It is greatly appreciated.
How can i change the navigation color in MediaWiki:Cosmos.css?
Hello, can you please elaborate on what you mean by "navigation color"? Thank you!
Sorry to be a pain and mention so many bugs or quarks that I have encountered. I do very much like the nesting menus feature that the Cosmos skin has. I am curious if you are aware of any way to add this feature to other skins that my users may also like to have. Would be great if they would all behave similarly. Thanks for such a great skin none the less.
Hello, and no problem, the bug reports are most welcome and greatly appreciated. Unfortunately I'm unaware of a sane way to do this for additional skins, I apologise.