I would like to add Recent Changes menu item with an image. Everything works except image. It does not appear. That's what I did:
1) Put recentchanges.svg into /skins/MinervaNeue/resources/skins.minerva.mainMenu.icons/
2) In skin.json in section "skins.minerva.mainMenu.icons"
add line:
"recentchanges": "resources/skins.minerva.mainMenu.icons/recentchanges.svg",
3) In SkinMinerva.php (includes/skins/) in function getDiscoveryTools() add lines:
// new menu item: Special:Recentchanges
$menu->insert( 'recentchanges' )
->addComponent(
$this->msg( 'recentchanges' )->escaped(),
SpecialPage::getTitleFor( 'recentchanges' )->
getLocalUrl( array( 'returnto' => $returnToTitle ) ),
MobileUI::iconClass( 'recentchanges', 'before' ),
array( 'data-event-name' => 'recentchanges' )
);
I've tried PNG image. It does not appear either.But if I use image from distribution (f.e. home.svg) it works just fine. Is it anywhere else I should mention the new image?