From 39c22ffca3c5ef9a22cc55ac071cb333392b485e Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 20 Jul 2009 00:42:50 +0000 Subject: [PATCH] reverted r53502: FATAL from untested code --- skins/MonoBook.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/skins/MonoBook.php b/skins/MonoBook.php index 4c232441df..2c8c157605 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -20,9 +20,13 @@ if( !defined( 'MEDIAWIKI' ) ) */ class SkinMonoBook extends SkinTemplate { /** Using monobook. */ - var $skinname = $stylename = 'monobook', - $template = 'MonoBookTemplate'; + function initPage( OutputPage $out ) { + parent::initPage( $out ); + $this->skinname = 'monobook'; + $this->stylename = 'monobook'; + $this->template = 'MonoBookTemplate'; + } function setupSkinUserCss( OutputPage $out ) { global $wgHandheldStyle; -- 2.20.1