From: Victor Vasiliev Date: Sun, 9 Dec 2007 16:16:33 +0000 (+0000) Subject: Fix broken code X-Git-Tag: 1.31.0-rc.0~50478 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=51c4075523852534ba64188c30c225d9b4561c0b;p=lhc%2Fweb%2Fwiklou.git Fix broken code --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 4fe9b83039..68ddb1dbd4 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1024,6 +1024,7 @@ class OutputPage { */ public function readOnlyPage( $source = null, $protected = false, $reasons = array() ) { global $wgUser, $wgReadOnlyFile, $wgReadOnly, $wgTitle; + $skin = $wgUser->getSkin(); $this->setRobotpolicy( 'noindex,nofollow' ); $this->setArticleRelated( false );