Merge "SpecialResetTokens: Use Config instead of globals"
[lhc/web/wiklou.git] / includes / Import.php
index 2eb5667..e6b5dc2 100644 (file)
@@ -1479,6 +1479,7 @@ class WikiRevision {
                $linkCache->clear();
 
                $page = WikiPage::factory( $this->title );
+               $page->loadPageData( 'fromdbmaster' );
                if ( !$page->exists() ) {
                        # must create the page...
                        $pageId = $page->insertOn( $dbw );