skinname = 'archlinux'; $this->stylename = 'archlinux'; $this->template = 'ArchLinuxTemplate'; } function setupSkinUserCss( OutputPage $out ) { global $wgHandheldStyle; parent::setupSkinUserCss( $out ); // Append to the default screen common & print styles... $out->addStyle( 'archlinux/main.css', 'screen' ); if( $wgHandheldStyle ) { // Currently in testing... try 'chick/main.css' $out->addStyle( $wgHandheldStyle, 'handheld' ); } $out->addStyle( 'archlinux/IE50Fixes.css', 'screen', 'lt IE 5.5000' ); $out->addStyle( 'archlinux/IE55Fixes.css', 'screen', 'IE 5.5000' ); $out->addStyle( 'archlinux/IE60Fixes.css', 'screen', 'IE 6' ); $out->addStyle( 'archlinux/IE70Fixes.css', 'screen', 'IE 7' ); $out->addStyle( 'archlinux/rtl.css', 'screen', '', 'rtl' ); } } /** * @todo document * @ingroup Skins */ class ArchLinuxTemplate extends QuickTemplate { var $skin; /** * Template filter callback for ArchLinux 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, $wgArchNavBar, $wgArchNavBarSelected; $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') ?>