global declaration

This commit is contained in:
Gabriel Wicke 2004-06-04 11:17:38 +00:00
parent e7ac88064a
commit 0d64e62140

View 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();