Powered by MediaWiki $wgVersion"; } function setupSkinUserCss( OutputPage $out ){ global $wgStyleVersion, $wgJsMimeType, $wgStylePath; // Do not call parent::setupSkinUserCss(), we have our own print style $out->addStyle( 'common/shared.css', 'screen' ); $out->addStyle( 'modern/main.css', 'screen' ); $out->addStyle( 'modern/print.css', 'print' ); $out->addStyle( 'modern/rtl.css', 'screen', '', 'rtl' ); $path = htmlspecialchars( $wgStylePath ); $out->addScript( << HTML ); } } /** * @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, $wgOut; $this->skin = $skin = $this->data['skin']; $action = $wgRequest->getText( 'action' ); // Suppress warnings to prevent notices about missing indexes in $this->data wfSuppressWarnings(); $this->html( 'headelement' ); ?>
data['body_ondblclick']) { ?> ondblclick="text('body_ondblclick') ?>" data['body_onload' ]) { ?> onload="text('body_onload') ?>" class="mediawiki text('dir') ?> text('pageclass') ?> text('skinnameclass') ?>">