From f0b39b40d290c357cbd5717428280650dc88de9e Mon Sep 17 00:00:00 2001 From: Daniel Kinzler Date: Fri, 2 Oct 2009 09:09:18 +0000 Subject: [PATCH] clear variable cache in clearState() as suggested by tim. fix odd values for long running imports; more vars could be cached now. --- includes/parser/Parser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index e9db287a20..950ff0eb2d 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -201,6 +201,7 @@ class Parser $this->mLinkHolders = new LinkHolderArray( $this ); $this->mLinkID = 0; $this->mRevisionTimestamp = $this->mRevisionId = null; + $this->mVarCache = array(); /** * Prefix for temporary replacement strings for the multipass parser. -- 2.20.1