global declaration
authorGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 4 Jun 2004 11:17:38 +0000 (11:17 +0000)
committerGabriel Wicke <gwicke@users.mediawiki.org>
Fri, 4 Jun 2004 11:17:38 +0000 (11:17 +0000)
includes/OutputPage.php

index a9e3e7b..c83dba4 100644 (file)
@@ -220,6 +220,7 @@ class OutputPage {
        }
 
        function tryParserCache( $article, $user ) {
+               global $wgParserCache;
                $parserOutput = $wgParserCache->get( $article, $user );
                if ( $parserOutput !== false ) {
                        $this->mLanguageLinks += $parserOutput->getLanguageLinks();