addModuleStyles ('skins.modern'); } } /** * @todo document * @ingroup Skins */ class ModernTemplate extends MonoBookTemplate { /** * @var Skin */ var $skin; /** * Template filter callback for Modern skin. * Takes an associative array of data set from a SkinTemplate-based * class, and a wrapper for MediaWiki's localization database, and * outputs a formatted page. * * @access private */ function execute() { $this->skin = $skin = $this->data['skin']; // Suppress warnings to prevent notices about missing indexes in $this->data wfSuppressWarnings(); $this->html( 'headelement' ); ?>