From: Aaron Schulz Date: Mon, 20 Jul 2009 00:42:50 +0000 (+0000) Subject: reverted r53502: FATAL from untested code X-Git-Tag: 1.31.0-rc.0~40823 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=39c22ffca3c5ef9a22cc55ac071cb333392b485e;p=lhc%2Fweb%2Fwiklou.git reverted r53502: FATAL from untested code --- 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;