Powered by MediaWiki $wgVersion"; } function initPage( &$out ) { SkinTemplate::initPage( $out ); $this->skinname = 'modern'; $this->stylename = 'modern'; $this->template = 'ModernTemplate'; } } /** * @todo document * @ingroup Skins */ class ModernTemplate extends QuickTemplate { 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() { global $wgRequest; $this->skin = $skin = $this->data['skin']; $action = $wgRequest->getText( 'action' ); // Suppress warnings to prevent notices about missing indexes in $this->data wfSuppressWarnings(); ?> data['xhtmlnamespaces'] as $tag => $ns) { ?>xmlns:xml:lang="text('lang') ?>" lang="text('lang') ?>" dir="text('dir') ?>"> html('headlinks') ?> <?php $this->text('pagetitle') ?> data['printable']) ) { ?> data['printable']) ) { ?>media="print" href="text('stylepath') ?>/text('stylename') ?>/print.css?" /> data ); ?> html('headscripts') ?> data['jsvarurl' ]) { ?> data['pagecss' ]) { ?> data['usercss' ]) { ?> data['userjs' ]) { ?> data['userjsprev']) { ?> data['trackbackhtml']) print $this->data['trackbackhtml']; ?> data['body_ondblclick']) { ?> ondblclick="text('body_ondblclick') ?>" data['body_onload' ]) { ?> onload="text('body_onload') ?>" class="mediawiki text('nsclass') ?> text('dir') ?> text('pageclass') ?>">

data['displaytitle']!=""?$this->html('title'):$this->text('title') ?>

msg('tagline') ?>
data['newtalk'] ) { ?>
html('newtalk') ?>
data['sitenotice']) { ?>
html('sitenotice') ?>
html('subtitle') ?>
data['undelete']) { ?>
html('undelete') ?>
data['showjumplinks']) { ?> html('bodytext') ?>
data['catlinks']) { $this->html('catlinks'); } ?>
data['sidebar']; if ( !isset( $sidebar['SEARCH'] ) ) $sidebar['SEARCH'] = true; if ( !isset( $sidebar['TOOLBOX'] ) ) $sidebar['TOOLBOX'] = true; if ( !isset( $sidebar['LANGUAGES'] ) ) $sidebar['LANGUAGES'] = true; foreach ($sidebar as $boxName => $cont) { if ( $boxName == 'SEARCH' ) { $this->searchBox(); } elseif ( $boxName == 'TOOLBOX' ) { $this->toolbox(); } elseif ( $boxName == 'LANGUAGES' ) { $this->languageBox(); } else { $this->customBox( $boxName, $cont ); } } ?>
msg('personaltools') ?>
html('bottomscripts'); /* JS call to runBodyOnloadHook */ ?> html('reporttime') ?> data['debug'] ): ?>
msg('toolbox') ?>
data['language_urls'] ) { ?>
msg('otherlanguages') ?>
    data['language_urls'] as $langlink) { ?>
skin->tooltip('p-'.$bar) ?>>