dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc7894
)
Cleared $wgLinkHolders after they are used. This fixes bug 1770 and probably improves...
author
Tim Starling
<tstarling@users.mediawiki.org>
Mon, 25 Apr 2005 13:43:11 +0000
(13:43 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Mon, 25 Apr 2005 13:43:11 +0000
(13:43 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
daf10df
..
18fa228
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-2920,6
+2920,17
@@
class Parser
wfProfileOut( $fname.'-interwiki' );
}
+ # Clear link holders, no need to fetch these ones again in a subsequent invocation
+ $wgLinkHolders = array(
+ 'namespaces' => array(),
+ 'dbkeys' => array(),
+ 'queries' => array(),
+ 'texts' => array(),
+ 'titles' => array()
+ );
+ $wgInterwikiLinkHolders = array();
+
+
wfProfileOut( $fname );
return $colours;
}