Topic on Project:Support desk

Empty pages after XML dump import

3
RotagivaN (talkcontribs)

I am using MediWiki 1.27.4. If I import an XML dump by Special:Import the pages are imported but  no content is available. In the revision table I can find two revisions for each imported page. The first has the timestamp of the original revision and the name of the original user. This revision refers into the text table to the original content. That is fine. The second revision has the timestamp of the import and the importing user and the comment 1 revision imported, but it refers into the text table to old_id (rev_text_id) 0 with empty text. Unfortunately this revision is the last revision in the page table. What can I do that the first one is the latest or better that the second refers to the original content in the text table?

MarkAHershberger (talkcontribs)

This sounds like a bug. Please report it as a task in Phabricator and link to the task here.

RotagivaN (talkcontribs)

Thanks for the answer. I have created a bug report [1].