Skin talk:Minerva Neue

About this board

Log In Link to Side Menu

1 (talkcontribs)
Reply to "Log In Link to Side Menu"

No edit on main page

5 (talkcontribs)

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.

Jdlrobson (talkcontribs)

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 (talkcontribs)


2A01:C23:6551:3B00:D482:7E82:712E:5E0A (talkcontribs)

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.

Polymath uk (talkcontribs)

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.

Reply to "No edit on main page"
The Discoverer (talkcontribs)

How can a userscript append an icon to the page header / title in Minerva? This excerpt from a gadget works for Vector but not for Minerva:

if ( currentSkin === "vector" || currentSkin === "vector-2022" || currentSkin === "minerva" ){

$( '#firstHeading' ).append( icon );


The Discoverer (talkcontribs)

@Jdlrobson, would you be able to help with this?

Jdlrobson (talkcontribs)

That code works for me on Minerva. You can also use `.mw-first-heading`. What exactly is the issue you are experiencing?

The Discoverer (talkcontribs)
Jdlrobson (talkcontribs)

Gadgets do not load on mobile by default. this should fix it.

Note, I'm trying to change the default, so this is less confusing so your voice on phab:T328610 would be appreciated.

The Discoverer (talkcontribs)

Thanks a lot for your help with this, @Jdlrobson. Is it that gadgets used to load on mobile in the past by default? Because I think maybe this gadget used to work in Minerva in the past.

Regarding the Phabricator task, after reading through the task, I am confused about the entire issue, and if you don't mind, I would like to sit this one out.

Thanks once again!

Jdlrobson (talkcontribs)

Nope, gadgets have never loaded on mobile unless explicitly enabled to do so.

Reply to "Append to header"

Thank you for the new visual mode on MobileDiff!

Elominius (talkcontribs)

The toggle appeared to me for the first time today, and I would like to let you know that it is a blesssing. Thanks alot!

Reply to "Thank you for the new visual mode on MobileDiff!"

Missing menu icons 'hamburger', 'random', etc.

Alongaks (talkcontribs)


I recently installed the 'MobileFrontend' extension and 'MinervaNeue' skin on multiple wiki sites. The majority of sites render the mobile version fine. Looks as expected. However, there are a few that are not rendering the mobile menu icons. The buttons are there; clicking the blank icons will take you to 'Main', 'random', etc.

This behavior is consistent in Chrome desktop (105.0.5195.52) & mobile (104.0.5112.97), Edge desktop (104.0.1293.70) and Firefox desktop (104.0) & mobile (104.1.0). Again, the odd bit is it is only with these few sites. It's making me think it has something to do with possibly an extension conflict of some sort, or some LocalSettings config. The affected sites have been around a while so not sure if there are configs within that are deprecated and causing the issue.

Is there a way to turn on some type of debug that may clue why these sites menu icons are not rendering properly?

Wiki host env:

MW - 1.35.7

DB - MariaDB 5.5.68 ( RHEL provided )

PHP - 8.0.22

MinervaNeue - (c1ea337) 01:23, 29 August 2022

MobileFrontend - 2.3.0 (d6f8773) 01:19, 29 August 2022

Jdlrobson (talkcontribs)

Your MediaWiki version doesn't look compatible with Minerva. Note, the latest master of MobileFrontend and Minerva are designed to be run with the latest release (which is currently 1.39).

You'll want to checkout REL1_35 for MobileFrontend and Minerva.

Hope this helps!

Alongaks (talkcontribs)

Hi. Appreciate the response!

I will try a fresh download of the MobileFrontend extension and see how that goes.

Just to confirm - the MinervaNeue skin and MobileFrontend shows to have a download available for MW 1.35 LTS, so this should work when using the designated version downloads.

Jdlrobson (talkcontribs)

Ah okay, sorry I probably misunderstood because of the inclusion of the 2022 dates for Minerva and MobileFrontend. Yeh if those are correct then it sounds like something has gone amiss.

I'm not setup with 1.35 right now so debug this further. Are you able to share your instance, or if not, share the HTML and CSS that's attempt to styling the element? My guess is that something might be broken in ResourceLoaderImageModule which can happen if ImageMagick is playing up.

On English Wikipedia mobile, the CSS looks like this:

.mw-ui-icon-minerva-die:before {
    background-image: url(/w/load.php?modules=skins.minerva.mainMenu.icons&image=die&format=rasterized&skin=minerva&version=1j5zy);
    background-image: linear-gradient(transparent,transparent),url(/w/load.php?modules=skins.minerva.mainMenu.icons&image=die&format=original&skin=minerva&version=1j5zy);

It's most likely that one of those load.php URLS is failing in your version.

Let's get to the bottom of this!

Alongaks (talkcontribs)

The MediaWiki:Common.css and MediaWiki:Mobile.css are plain-jane ( empty ) on this particular site. I'm not able to find the above config stanza.

When you refer to sharing my instance, you referring to the LocalSettings config file?

Thank you for the responsiveness!

Alongaks (talkcontribs)

Have a bit of an update after a bit more digging.

I opened the developer window on the page when the icon is not rendering, clicked the icon element link to try and load just the icon itself and am getting this:

XML Parsing Error: XML or text declaration not at start of entity

Location: https://wiki/load.php?modules=skins.minerva.icons.wikimedia&image=menu&format=original&skin=minerva&version=deypr

Line Number 2, Column 1:

<?xml version="1.0" encoding="UTF-8"?>


Jdlrobson (talkcontribs)

Is there any whitespace before the xml tag by any chance?

Alongaks (talkcontribs)

Well, I'm not sure. :-)

There are a number of locations where that string could be, and I'm not sure which location to look for for the one referenced in the error out. I was able to locate the files below, but I don't believe these are what the error is referring to?

skins/MinervaNeue/resources/<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/skins.minerva.content.styles.images/magnifying-glass.svg:1:<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/skins.minerva.content.styles.images/error.svg:1:<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/skins.minerva.content.styles.images/link-external-rtl.svg:1:<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/skins.minerva.content.styles.images/link-external-ltr.svg:1:<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/<?xml version="1.0" encoding="UTF-8"?>

skins/MinervaNeue/resources/<?xml version="1.0" encoding="UTF-8"?>

Jdlrobson (talkcontribs)

If you go to <yoursite>/skins/MinervaNeue/resources/skins.minerva.content.styles.images/link-external-ltr.svg do the SVGS render? If not... that's the issue and it sounds like something is adding a whitespace character in front of your SVGS.

What's doing that I'm not sure.. it's probably an extension with deprecation warnings. Do you have any deprecation warnings showing up in your logs? If so, I'd advise disabling those extensions and skins one by one temporarily to help narrow down where the issue is coming from. When you've disabled the offender the SVG should render correctly in a browser and we might be able to work out why.

Alongaks (talkcontribs)

Yep, looks like browsing to each of those SVGs will show their icon. Any of these:





Looked in the PHP logs and not seeing any deprecation warns so far. These sites were recently updated to the MW 1.35 LTS version and so were the included extensions/skins, whatnot. Any others that were not part of the 1.35 built-in were upgraded as well, at least to whatever version they were at that moment.

This is a head-scratcher for sure. There are other wiki sites furnished from this same wiki host and doc root that are rendering the MinervaNeue stuff as expected. :-/

2001:E42:102:1514:160:16:76:50 (talkcontribs)

I face the same problem. How could I fix it? The hamburger icon is disappeared. It’s really upset for me. (talkcontribs)

Do you know how to fix it? I knew that it caused by a whitespace. But I cannot do anything to correct it.

Jdlrobson (talkcontribs)

If someone can share a public URL of a wiki with this issue I can perhaps suggest something.

KangarooRambo (talkcontribs)

I'm having the same issue too. Unfortunately, my MW site is a private corporate site otherwise I would gladly share a link to it.

Not sure if it's related, but I'm also having similar issues with icons missing from the Vector-2022 skin menu.

Jdlrobson (talkcontribs)

That very much sounds like an issue with the install of ImageMagick. SVGs are converted to pngs using this tool and presumably something could be going wrong there. Could you check it is installed and if so what version you are running? Updating it may fix this issue.

Reply to "Missing menu icons 'hamburger', 'random', etc."

<small> isn't defined as smaller text

Esperfulmo (talkcontribs)

Hello guys, I'm not sure where could I have raised this question: why isn't <small> defined as smaller text as the case in other wiki skins? I've noticed this ever since I started using smartphones to browse Wikimedia projects and couldn't understand why couldn't the small elements be defined till now after all those years! I defined it manually on my custom minerva CSS page as 80% sized text.

  • This text is wrapped around <smɑll></smɑll>
  • This text is wrapped around <spɑn style="font-size: 80%;</spɑn>
  • This text is wrapped around <spɑn style="font-size: small;"><spɑn>
  • This text is wrapped around <spɑn style="font-size: smaller;"></spɑn>
--Esperfulmo (talk) 15:11, 9 February 2023 (UTC)
Reply to "<small> isn't defined as smaller text"
יאיר מן (talkcontribs)

Add the row

wfLoadSkin ('MinervaNeue');

$ wgDefaultSkin = 'minerva';

Causes error 500

Alireza Ivaz (talkcontribs)

You should before using this skin, install MobileFrontend extension! After installing that extension, you can now install this skin. If the problem with installing the extension doesn't resolve, you can contact me to investigate.

Jdlrobson (talkcontribs)

Is MobileFrontend installed?

יאיר מן (talkcontribs)


Jdlrobson (talkcontribs)

Minerva for now (but hopefully not soon) depends on MobileFrontend.

Polymath uk (talkcontribs)

I had this on a fresh install of 1.39.1

The installer writes the line:

$wgDefaultSkin = "MinervaNeue";

in LocalSettings.php

and this fails right out of the box.

Change the line to read:

$wgDefaultSkin = "minerva"; (talkcontribs)

Had this exact same problem!

Reply to "Installation problem"

Add google translator (or other translator)

Lmdg2000 (talkcontribs)

HI there! I can't add the Google Translator extension (it works well on my old Vector skin, doesn't work with MinervaNeue. Have you any other translation extension that work on MinervaNeue? Thank you !

Reply to "Add google translator (or other translator)"

AdvancedMeta doesn't work

Lmdg2000 (talkcontribs)

Hi there, I installed AdvancedMeta extensions, apparently the installation is ok (it appears in Special:Version)

It should be visible from the More section in menu, sadly this is not true.

Any suggestion?

Thanks L

Reply to "AdvancedMeta doesn't work"
Lmdg2000 (talkcontribs)

I changed from Vector to MinervaNeue and the GoogleTranslator is no more working

I do see a "language" button in the editing bar but it doesn't work. Can anyone help please to reactivate the google translator bar or to add other translator?


Reply to "Translator"