Followed this tutorial:
http://blog.redwerks.org/2012/02/28/mediawiki-subskin-tutorial/
Still wrestling with getting my vector subskin to recognize
customizations in screen.css.
The myskin.php file contains:
$wgResourceModules['skins.myskin'] = array(
'styles' => array(
'myskin/css/screen.css' => array( 'media' =>
'screen' ),
And myskin.skin.php contains:
class SkinMySkin extends SkinVector {
var $skinname = 'myskin', $stylename = 'myskin',
$useHeadElement = true;
/**
* @param $out OutputPage object
*/
function setupSkinUserCss( OutputPage $out ){
parent::setupSkinUserCss( $out );
$out->addModuleStyles( "skins.myskin" );
}
}
Given that the goal of a subskin is to not have to make any changes to
core code, what is the line: $out->addModuleStyles( "skins.myskin" )
doing? Isn't that saying to load a module called skins.myskin?
All I want is a vector skin with some custom CSS, but I can't seem to
figure this out.
Any help would be greatly appreciated.
Thanks
Bill