Merge "Cache redirects from Special:Redirect"
[lhc/web/wiklou.git] / maintenance / preprocessDump.php
index d540e8f..f8526d0 100644 (file)
@@ -86,7 +86,7 @@ class PreprocessDump extends DumpIterator {
                }
 
                try {
-                       $this->mPreprocessor->preprocessToObj( strval( $content->getNativeData() ), 0 );
+                       $this->mPreprocessor->preprocessToObj( strval( $content->getText() ), 0 );
                } catch ( Exception $e ) {
                        $this->error( "Caught exception " . $e->getMessage() . " in "
                                . $rev->getTitle()->getPrefixedText() );