Topic on Project:Support desk

Creating a Vector derived skin

3
91.64.99.215 (talkcontribs)

Hi, it's me again. Since bugzilla:71621 seems to get to nowhere I am now trying to create a skin derived from Vector with a custom name and an additional .less file meant to hold what was previously on MediaWiki:Vector.css. So this works cool for one exception. The tabs on Special:Preferences do not render as they do for Vector. Basically I get a bulleted list with the former tab names and no tabs. I am sure there is a small trick to get this magic working. I will be great if someone could share this one ... Thanks!

Tnorberg1 (talkcontribs)

I am having the same exact issue.. I am working it at the moment... If I find a solution I will let you know..

Tnorberg1 (talkcontribs)

if I add

'vector/special.preferences.less'=> array( 'media' => 'screen' )

to my

$wgResourceModules['skins.skinname.styles'] = array(
    'styles' => array(
        'skinname/screen.min.css' => array( 'media' => 'screen' ),
        //HERE
        'vector/special.preferences.less'=> array( 'media' => 'screen' )
    ),
    'remoteBasePath' => &$GLOBALS['wgStylePath'],
    'localBasePath' => &$GLOBALS['wgStyleDirectory']
);

This worked for me... Let me know if you need any help.

Reply to "Creating a Vector derived skin"