addStyle('scratchwikiskin/main.css', 'screen'); $out->addHeadItem('skinscript', ""); } } class ScratchWikiSkinTemplate extends BaseTemplate{ public function execute() { global $wgRequest, $wgStylePath, $wgUser; $skin = $this->data['skin']; wfSuppressWarnings(); $this->html('headelement'); ?>
getSidebar() as $box): if ($box['header']!='Toolbox'||$wgUser->isLoggedIn()){?>

    $item):?> makeListItem($name, $item)?>
renderContenttypeBox(); if (!$wgUser->isLoggedIn()) { ?>

Help the wiki!

The Scratch Wiki is made by and for Scratchers. Do you want to contribute?

Learn more!

html('title')?>

data['subtitle']):?>

html('subtitle')?>

data['undelete']):?>

html('undelete')?>

html('bodytext')?> data['catlinks'] ): ?> html( 'catlinks' ); ?>
printTrail(); ?> data['catlinks'] && $wgUser->isLoggedIn()) { $cat = $this->data['catlinks']; if(strpos($cat, 'Tutorials')>0 || strpos($cat, 'FAQ')>0 || strpos($cat, 'Help Pages')> 0 || strpos($cat, 'How To Pages')> 0) { $o = '
'. '

How To page

'. '
'. 'This page provides step-by-step help on how to do something for new users. Before editing, please read the How To page guidelines.
'. '
'; echo $o; } } } }