Thread:KockaAdmiralac/@comment-9605025-20191028042947/@comment-27345308-20191029073857

Andrewds1021 wrote: Actually, I was thinking of just copying the revisions as-is and then having a final revision where everything just "magically" appears. Though, now that I think about it, I am not sure whether or not that will cause issues with the chain of revision ids; having multiple chains for a single page. What do you mean? The import tool does not particularly care about what were the revision IDs before the import.

Andrewds1021 wrote: I am not sure I quite follow you about it being easier to have them all in one XML tree. I am talking about how to retrieve the content of the revisions in the first place. I know you can get all revisions using Special:Export. However, you need to list each page. api.php apparently lets you get either the latest revisions of multiple pages or all revisions of a single page (but not all revisions of multiple pages) in a single request. Oddly, it looks like you can get all revisions of multiple deleted pages. I'm saying that you could just grab a list of all Board Thread namespace pages with a script like this and then put the page list into Special:Export and tell it to not export only the latest revision. That way you don't have to query the API for all revisions on every page (over and over, assuming you might not be satisfied with how it turns out the first time).