I know this is well past the best before date of the original post but I'm adding this here in case its of use to someone else.
Have you considered using Pandoc which can convert from HTML (presumably the format available on the web archive) to Dokuwiki format?? https://pandoc.org/MANUAL%202.html#general-options