function setupSkinUserCss( \OutputPage $out ) {
	parent::setupSkinUserCss( $out );

	//TODO: load modules from parent of layout, too...
	$layoutClass = self::getLayoutClass();
	$layoutTree = \Skinny::getClassAncestors($layoutClass);
	$styles = array('mediawiki.skinning.interface');
	foreach ($layoutTree as $lc) {
		$styles = array_merge($styles, $lc::getHeadModules());
	}

	$out->addModuleStyles( $styles );
}
function setupSkinUserCss( \OutputPage $out ) {
	parent::setupSkinUserCss( $out );

	//TODO: load modules from parent of layout, too...
	$layoutClass = self::getLayoutClass();
	$layoutTree = \Skinny::getClassAncestors($layoutClass);
	$styles = array('mediawiki.skinning.interface');
	foreach ($layoutTree as $lc) {
		$styles = array_merge($styles, $lc::getHeadModules());
	}

	$out->addModuleStyles( $styles );
}
function setupSkinUserCss ( \ OutputPage $ out ) { parent :: setupSkinUserCss ( $ out ) ; //TODO: load modules from parent of layout, too... $ layoutClass = self :: getLayoutClass ( ) ; $ layoutTree = \ Skinny :: getClassAncestors ( $ layoutClass ) ; $ styles = array ( 'mediawiki.skinning.interface' ) ; foreach ( $ layoutTree as $ lc ) { $ styles = array_merge ( $ styles , $ lc :: getHeadModules ( ) ) ; } $ out -> addModuleStyles ( $ styles ) ; }
Loads skin and user CSS files.
@param OutputPage $out
Loads skin and user CSS files .