From 0d64e62140d1a65be5e24a4c7b9fb0ad192991de Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Fri, 4 Jun 2004 11:17:38 +0000 Subject: [PATCH] global declaration --- includes/OutputPage.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index a9e3e7bd86..c83dba4415 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -220,6 +220,7 @@ class OutputPage { } function tryParserCache( $article, $user ) { + global $wgParserCache; $parserOutput = $wgParserCache->get( $article, $user ); if ( $parserOutput !== false ) { $this->mLanguageLinks += $parserOutput->getLanguageLinks(); -- 2.20.1