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
(from parent 1:
0552353
)
Remove a couple of calls to ParserOptions::resetUsage(), missed on its removal in...
author
Platonides
<platonides@users.mediawiki.org>
Sun, 23 Jan 2011 15:56:30 +0000
(15:56 +0000)
committer
Platonides
<platonides@users.mediawiki.org>
Sun, 23 Jan 2011 15:56:30 +0000
(15:56 +0000)
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
5266693
..
99df3d4
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-4307,7
+4307,6
@@
class Parser {
*/
public function startExternalParse( &$title, $options, $outputType, $clearState = true ) {
$this->setTitle( $title );
- $options->resetUsage();
$this->mOptions = $options;
$this->setOutputType( $outputType );
if ( $clearState ) {
@@
-5210,7
+5209,6
@@
class Parser {
$title = Title::newFromText( $title );
}
$this->mTitle = $title;
- $options->resetUsage();
$this->setOutputType( $outputType );
$text = $this->replaceVariables( $text );
$text = $this->mStripState->unstripBoth( $text );