dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "preprocessDump.php: Fix invalid Preprocessor instantiation"
[lhc/web/wiklou.git]
/
maintenance
/
preprocessDump.php
diff --git
a/maintenance/preprocessDump.php
b/maintenance/preprocessDump.php
index
963bfec
..
05b78d4
100644
(file)
--- a/
maintenance/preprocessDump.php
+++ b/
maintenance/preprocessDump.php
@@
-73,8
+73,9
@@
class PreprocessDump extends DumpIterator {
$name = Preprocessor_DOM::class;
}
$name = Preprocessor_DOM::class;
}
- MediaWikiServices::getInstance()->getParser()->firstCallInit();
- $this->mPreprocessor = new $name( $this );
+ $parser = MediaWikiServices::getInstance()->getParser();
+ $parser->firstCallInit();
+ $this->mPreprocessor = new $name( $parser );
}
/**
}
/**