r57278 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r57277
|
r57278
|
r57279
>
Date:
09:09, 2 October 2009
Author:
daniel
Status:
deferred
Tags:
Comment:
clear variable cache in clearState() as suggested by tim. fix odd values for long running imports; more vars could be cached now.
Modified paths:
/trunk/phase3/includes/parser/Parser.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/parser/Parser.php
—
—
@@ -201,6 +201,7 @@
202
202
$this->mLinkHolders = new LinkHolderArray( $this );
203
203
$this->mLinkID = 0;
204
204
$this->mRevisionTimestamp = $this->mRevisionId = null;
205
+ $this->mVarCache = array();
205
206
206
207
/**
207
208
* Prefix for temporary replacement strings for the multipass parser.
Follow-up revisions
Revision
Commit summary
Author
Date
r57283
follow-up to
r57278
: cache all variables untill the next clearState()
daniel
09:46, 2 October 2009
Status & tagging log
18:36, 6 October 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r57278
[
removed:
new
added:
deferred]