Thread:KockaAdmiralac/@comment-9605025-20191028042947/@comment-9605025-20191028190336

Thanks for the general procedure. I was thinking along similar lines. The difference for me is that I am not sure if the SHA1 tag is going to present an issue with generating the page content pre-import. I was also thinking of keeping all the revisions so they show when viewing the history of the page. These two things combined, I was thinking of using the pre-import script to just merge the page histories and then make the composite page via the wiki.

Thanks for the heads-up about moved threads. I didn't know they don't actually get moved page-name-wise. That will probably be a pain to deal with; especially with deleted threads.

I have never used AjaxThreadDelete myself but I do get some results when using "list=deletedrevs". So I guess someone else must have at some point.

Yeah, I forget which endpoint is was (maybe "list=logevents") but it seemed clear that deleted pages are given "pageid=0". I guess this means they just get a new ID when they get restored? That would be consistent with the issue of restoring threads. Either way, I am curious if restored threads can be viewed using the new page ID. From experimenting around, I know that the code behind the Thread namespace just checks to see if the number matches the page ID of a page in an acceptable namespace. For instance: Thread:1753547. I have been fighting the urge to see what happens when you reply to a reply. - Edit:

Okay, so there is one small setback. Apparently if you are searching multiple pages you can only retrieve the latest revision. A bit of a pain but I guess I could just look through all the revision parentids and whichever ones aren't "0" I place the page title in a list with others and then go through the list one at a time.