From e3ee8e0903faad173ecb3479c0f3e17fb70e9c20 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 22 Jan 2010 16:10:52 +0000 Subject: [PATCH] Rm some unneeded $wgParser globals --- includes/Article.php | 4 ++-- includes/EditPage.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index d747706214..8168024510 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -1371,7 +1371,7 @@ class Article { * @param $forceKnown Boolean: should the image be shown as a bluelink regardless of existence? */ public function viewRedirect( $target, $appendSubtitle = true, $forceKnown = false ) { - global $wgParser, $wgOut, $wgContLang, $wgStylePath, $wgUser; + global $wgOut, $wgContLang, $wgStylePath, $wgUser; # Display redirect if( !is_array( $target ) ) { $target = array( $target ); @@ -3268,7 +3268,7 @@ class Article { * @param $changed Whether or not the content actually changed */ public function editUpdates( $text, $summary, $minoredit, $timestamp_of_pagechange, $newid, $changed = true ) { - global $wgDeferredUpdateList, $wgMessageCache, $wgUser, $wgParser, $wgEnableParserCache; + global $wgDeferredUpdateList, $wgMessageCache, $wgUser, $wgEnableParserCache; wfProfileIn( __METHOD__ ); diff --git a/includes/EditPage.php b/includes/EditPage.php index 3dee7949d7..db32c4bf48 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1402,7 +1402,7 @@ HTML } protected function showHeader() { - global $wgOut, $wgParser, $wgUser, $wgTitle, $wgMaxArticleSize, $wgLang; + global $wgOut, $wgUser, $wgTitle, $wgMaxArticleSize, $wgLang; if ( $this->isConflict ) { $wgOut->wrapWikiMsg( "
\n$1
", 'explainconflict' ); $this->edittime = $this->mArticle->getTimestamp(); -- 2.20.1