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' ); ?>

html('title') ?>

cactions(); ?>
msg('tagline') ?>
data['newtalk'] ) { ?>
html('newtalk') ?>
data['sitenotice']) { ?>
html('sitenotice') ?>
html('userlangattributes') ?>>html('subtitle') ?>
data['undelete']) { ?>
html('undelete') ?>
data['showjumplinks']) { ?> html('bodytext') ?>
data['catlinks']) { $this->html('catlinks'); } ?> html ('dataAfterContent') ?>
html("userlangattributes") ?>> renderPortals( $this->data['sidebar'] ); ?>
msg('personaltools') ?>
printTrail(); ?>