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 "Fix typos in DefaultSettings"
[lhc/web/wiklou.git]
/
maintenance
/
preprocessDump.php
diff --git
a/maintenance/preprocessDump.php
b/maintenance/preprocessDump.php
index
75904d0
..
a62e019
100644
(file)
--- a/
maintenance/preprocessDump.php
+++ b/
maintenance/preprocessDump.php
@@
-58,7
+58,7
@@
class PreprocessDump extends DumpIterator {
}
public function checkOptions() {
}
public function checkOptions() {
- global $wgParser
, $wgParser
Conf, $wgPreprocessorCacheThreshold;
+ global $wgParserConf, $wgPreprocessorCacheThreshold;
if ( !$this->hasOption( 'cache' ) ) {
$wgPreprocessorCacheThreshold = false;
if ( !$this->hasOption( 'cache' ) ) {
$wgPreprocessorCacheThreshold = false;
@@
-72,7
+72,7
@@
class PreprocessDump extends DumpIterator {
$name = Preprocessor_DOM::class;
}
$name = Preprocessor_DOM::class;
}
-
$wgParser
->firstCallInit();
+
MediaWikiServices::getInstance()->getParser()
->firstCallInit();
$this->mPreprocessor = new $name( $this );
}
$this->mPreprocessor = new $name( $this );
}