Missing global; was throwing Fatal error: Call to a member function getSkinFromCssJsS...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 12 Dec 2009 18:04:13 +0000 (18:04 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 12 Dec 2009 18:04:13 +0000 (18:04 +0000)
includes/EditPage.php

index a46eb9f..3a66869 100644 (file)
@@ -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( "<div class='mw-explainconflict'>\n$1</div>", 'explainconflict' );
                        $this->edittime = $this->mArticle->getTimestamp();