Merge "mw.Feedback: If the message is posted remotely, link the title correctly"
[lhc/web/wiklou.git] / maintenance / preprocessDump.php
index c69e5c2..d540e8f 100644 (file)
@@ -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;