From 51c4075523852534ba64188c30c225d9b4561c0b Mon Sep 17 00:00:00 2001 From: Victor Vasiliev Date: Sun, 9 Dec 2007 16:16:33 +0000 Subject: [PATCH] Fix broken code --- includes/OutputPage.php | 1 + 1 file changed, 1 insertion(+) 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 ); -- 2.20.1