true, 'fixedNavBar' => false, 'showHelpUnderTools' => true, 'showRecentChangesUnderTools' => true, 'wikiName' => &$GLOBALS['wgSitename'], 'wikiNameDesktop' => &$GLOBALS['wgSitename'], 'navbarIcon' => false, 'IeEdgeCode' => 1, 'showFooterIcons' => false, 'addThisPUBID' => '', 'useAddThisShare' => false, 'useAddThisFollow' => false ); foreach ($wgPivotFeaturesDefaults as $fgOption => $fgOptionValue) { if ( !isset($wgPivotFeatures[$fgOption]) ) { $wgPivotFeatures[$fgOption] = $fgOptionValue; } } switch ($wgPivotFeatures['IeEdgeCode']) { case 1: $out->addHeadItem('ie-meta', ''); break; case 2: if (isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) header('X-UA-Compatible: IE=edge'); break; } $out->addModuleStyles('skins.pivot'); } public function initPage( OutputPage $out ) { global $wgLocalStylePath; parent::initPage($out); $viewport_meta = 'width=device-width, user-scalable=yes, initial-scale=1.0'; $out->addMeta('viewport', $viewport_meta); $out->addModuleScripts('skins.pivot'); } } class pivotTemplate extends BaseTemplate { public function execute() { global $wgUser; global $wgPivotFeatures; wfSuppressWarnings(); $this->html('headelement'); switch ($wgPivotFeatures['usePivotTabs']) { case true: ob_start(); $this->html('bodytext'); $out = ob_get_contents(); ob_end_clean(); $markers = array("<a", "</a", ">"); $tags = array(""); $body = str_replace($markers, $tags, $out); break; default: break; } switch ($wgPivotFeatures['showFooterIcons']) { case true: $footerLeftClass = 'small-12 medium-8 large-9 columns'; $footerRightClass = 'small-12 medium-4 large-3 columns'; $poweredbyType = "icononly"; $poweredbyMakeType = 'withImage'; break; default: $footerLeftClass = 'small-12 medium-8 large-9 columns'; $footerRightClass = 'small-12 medium-4 large-3 columns'; $poweredbyType = "nocopyright"; $poweredbyMakeType = 'withoutImage'; break; } ?>
";?> ";?>
>
data['sitenotice'] ) { ?>
html( 'sitenotice' ); ?>
data['newtalk'] ) { ?>
html( 'newtalk' ); ?>
isLoggedIn() || $wgPivotFeatures['showActionsForAnon']): ?>  text() ?>
    data['content_actions'] as $key => $item ) { echo preg_replace(array('/\sprimary="1"/','/\scontext="[a-z]+"/','/\srel="archives"/'),'',$this->makeListItem($key, $item)); } ?>
isLoggedIn()): ?>
getSkin()->getTitle()->getNsText()); $displaytitle = $this->data['title']; if (!empty($namespace)) { $pagetitle = $this->getSkin()->getTitle(); $newtitle = str_replace($namespace.':', '', $pagetitle); $displaytitle = str_replace($pagetitle, $newtitle, $displaytitle); ?>

data['isarticle'] ) { ?>

msg( 'tagline' ) ?>

html('subtitle') ?>
html('bodytext'); break; } ?>
html('catlinks'); ?>
html('dataAfterContent'); ?>
printTrail(); ?>