From: Alexandre Emsenhuber Date: Sat, 12 Dec 2009 18:04:13 +0000 (+0000) Subject: Missing global; was throwing Fatal error: Call to a member function getSkinFromCssJsS... X-Git-Tag: 1.31.0-rc.0~38557 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=2413e64a7cefa690378d8ad80364e8ff89a8a192;p=lhc%2Fweb%2Fwiklou.git Missing global; was throwing Fatal error: Call to a member function getSkinFromCssJsSubpage() on a non-object in includes/EditPage.php on line 1467 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index a46eb9fb09..3a6686930f 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1394,7 +1394,7 @@ HTML } protected function showHeader() { - global $wgOut, $wgParser, $wgUser, $wgMaxArticleSize, $wgLang; + global $wgOut, $wgParser, $wgUser, $wgTitle, $wgMaxArticleSize, $wgLang; if ( $this->isConflict ) { $wgOut->wrapWikiMsg( "
\n$1
", 'explainconflict' ); $this->edittime = $this->mArticle->getTimestamp();