Board Thread:Support Requests - Getting Technical/@comment-27494008-20170221081330/@comment-27345308-20170221093304

Well, if you have enough time to repeat the process of moving the page to a new title and then deleting the page and then after you finish moving them all undelete all revisions, it's possible.

There's the Special:MergeHistory page (that I have no idea how it works, not even mediawiki.org explains it well enough) that might do the work faster, but it's sadly available only to Staff (and maybe other global user groups?) so you'd have to contact them to see if they are willing to do that (or give you the right to access Special:MergeHistory). Maybe it's just as slow as using the normal way, though.

Your best bet would be to make a script for it if you know how, or wait for somebody to make it if you don't.