X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpreprocessDump.php;h=d540e8f9020355b80289ef154d8a557f44739ef5;hb=91e63a1332fb589f8f3cc47b4466f24943aa8bd4;hp=c69e5c24ac68e50c539c1a28d5019a0ac508df2a;hpb=7ee1504a9a34067fd5b3e1fc315ccaa99661cb44;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/preprocessDump.php b/maintenance/preprocessDump.php index c69e5c24ac..d540e8f902 100644 --- a/maintenance/preprocessDump.php +++ b/maintenance/preprocessDump.php @@ -41,6 +41,7 @@ class PreprocessDump extends DumpIterator { public function getStripList() { global $wgParser; + return $wgParser->getStripList(); } @@ -66,7 +67,7 @@ class PreprocessDump extends DumpIterator { } elseif ( isset( $wgParserConf['preprocessorClass'] ) ) { $name = $wgParserConf['preprocessorClass']; } else { - $name = 'Preprocessor_DOM'; + $name = Preprocessor_DOM::class; } $wgParser->firstCallInit(); @@ -93,5 +94,5 @@ class PreprocessDump extends DumpIterator { } } -$maintClass = "PreprocessDump"; +$maintClass = PreprocessDump::class; require_once RUN_MAINTENANCE_IF_MAIN;