From: Daniel Kinzler Date: Fri, 2 Oct 2009 09:09:18 +0000 (+0000) Subject: clear variable cache in clearState() as suggested by tim. fix odd values for long... X-Git-Tag: 1.31.0-rc.0~39416 X-Git-Url: http://git.cyclocoop.org//%27http:/jquery.khurshid.com/ifixpng.php/%27?a=commitdiff_plain;h=f0b39b40d290c357cbd5717428280650dc88de9e;p=lhc%2Fweb%2Fwiklou.git clear variable cache in clearState() as suggested by tim. fix odd values for long running imports; more vars could be cached now. --- 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.