I mean not just by css display-none.
Skin talk:Minerva Neue/Flow
```
$wgMinervaAlwaysShowLanguageButton = false;
```
hi guys. actually i can't see the categories in the desktop version ? (mobile i can see the categeories) is that a bug ?
$wgMinervaShowCategoriesButton['base'] = true;
doesn't work. any ideas ?
This should work but I think you need to be logged in to see it.
Not working for me as well. Even if logged in. Did you find any solution?
Hi, I use this command in LocalSettings.php:
$wgMinervaShowCategoriesButton = [ 'base' => true ];
I think you have a typo in your code.
I know I'm late to the party, but I had the same problem: Minerva Neue would show the categories in mobile mode (?mobileaction=toggle_view_mobile
) but not in desktop mode (?mobileaction=toggle_view_desktop
). I debugged the code and noticed that some skin options, like whether to show the categories or not, were never loaded by default, but only by the "MobileFrontend" extension in mobile mode.
Long story short, this is what I added to LocalSettings.php
to make the categories show up in desktop mode too:
$wgHooks['RequestContextCreateSkin'][] = static function () {
try {
$ctx = MediaWiki\MediaWikiServices::getInstance()->getService( 'MobileFrontend.Context' );
MediaWiki\Minerva\Hooks::setMinervaSkinOptions( $ctx, $ctx->getSkin() );
} catch ( Wikimedia\Services\NoSuchServiceException $ex ) {
}
};
This is based on https://github.com/wikimedia/mediawiki-skins-MinervaNeue/blob/ca0b7d90f9842334c479438b737d907c199cdc91/includes/Hooks.php#L269-L285.
It would be very interesting to know how mediawiki.org does this, as they do display categories (example: Skin:Minerva Neue) and I doubt they use the same fix.
BTW, please note that the $wgMinervaShowCategoriesButton
configuration parameter has been removed; please use $wgMinervaShowCategories
.
Any movement on this - can see categories on mobile, nothing on desktop!
code fix above causes php errors and crashes system, so not a fix.
What are the PHP errors you get? For me, this snippet works just fine.
I'm getting a "[55dc3f7238278bc0ba3132ab] 2024-09-02 13:21:57: Fatal exception of type "Error""
This post was hidden by Fuellel (history)
Hello, I would like to enable dark/night mode on my WikiMedia-1.42.1 instance, but I don't get how.
It says in the README.md that there's a $wgMinervaNightMode config variable, so I tried adding $wgMinervaNightMode['base'] = true;
to my LocalSettings.php, but it doesn't seem to affect anything. Other LocalSettings.php lines like $wgMinervaAlwaysShowLanguageButton = false;
do work.
Is this dark/night mode something that currently works? Is night mode the same thing as dark mode (i.e. dark colors)? I wish there was some more explanation in the README.md about how to activate this. It say it's a "Temporary feature flag", but I don't really know what that means.
I do have an edit on every page - but not on the main page.
So, mobile users cannot edit the main page.
For my application, this is bad.
You'll need to add a link inside the wikitext to support this. You can hide the link for desktop if needed in MediaWiki:Common.css
how
i also have no edit capabilities on the mainpage. i use it in desktop mode. have to switch to another skin for editing content of the mainpage.
Yes - I also have this problem. Users have to switch to another skin to edit main page. Entering the correct URL for editing the page just gives a blank page.
I still have this issue where there is no edit button on the main page when on mobile.
I'm currently testing minerva and see the same issue. I can only set a link to the text editor using [https://.../index.php/?title=Main_Page&action=edit Edit this page].
To insert that, I have invoked the URL manually. In the above link you have to insert your hostname and verify the main-pages's name.
Same here,
same issue.
I have noticed a weird change in size with the font, even if it’s set to “small” in the preferences menu. The font in articles is much bigger than what it was previously. Is this a bug or a change made on purpose?
The link colour for viewed pages is now almost completely indistinguishable from normal text. How can I change it back to purple? This is not convenient. Velociraptor888 (talk) 22:06, 8 February 2024 (UTC)
Installer writes following line to LocalSettings.php :
$wgDefaultSkin = "minervaneue";
and it should be:
$wgDefaultSkin = 'minerva';
With this problem, website shows: Whoops! The default skin for your wiki, defined in $wgDefaultSkin as minervaneue, is not available.
Related bug report: T346332
You saved my life, I was already bumping my head to the wall
Thanks a lot, first time setting up an MediaWiki and thought is was on our side.
thank you so much
after installed mediawiki 1.40.1 (for 1.35 was ok). n Vektor old widgets on wiki is working, in =toggle_view_mobile do not.
My eyes are already burning from the white/light color. I tried to add "?withgadget=dark-mode" because it works in the English Wikipedia[proof], but the dark mode did not turn on.
What's is the question here. Is is it the gadget not working here (mediawiki.org) or with minerva skin?
On my wiki, I have added another namespace to be searched by default, other than main. On other skins, such as Vector, pages from that other namespace are suggested in the search input box, but not in Minerva.
How can I make Minerva suggest pages from all namespaces in $wgNamespacesToBeSearchedDefault ? Or, failing that, how can I add specific namespaces to be searched by Minerva?
Thanks!