clear variable cache in clearState() as suggested by tim. fix odd values for long...
authorDaniel Kinzler <daniel@users.mediawiki.org>
Fri, 2 Oct 2009 09:09:18 +0000 (09:09 +0000)
committerDaniel Kinzler <daniel@users.mediawiki.org>
Fri, 2 Oct 2009 09:09:18 +0000 (09:09 +0000)
includes/parser/Parser.php

index e9db287..950ff0e 100644 (file)
@@ -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.