Conversion of table seems cannot be done by simple regular expression.
Conversion of footnote need to check for the corresponding Cite extension in MediaWiki.
How to convert ASCII flowchart? It could be done manually to replace the wiki with an image. If there exist similar stuff in MediaWiki, the information should be ported. But most likely to save effort only the image will exist.
DokuWiki Importer
Parse data/pages for the latest page.
Parse data/meta/**/*.changes for the change history info.
Parse data/attic for the gzipped history pages.
Parse data/media/* for the file repository.(images or downloadable files)
MediaWiki XML Exporter (need to explore more)
Need to cater how to store or represent history information.
While holding the page information object, spread to XML beans and export the XML files.
Exported XML size and number of files is yet to be determined.
Maintain the “id” used by MediaWiki. See the Export page for a sample XML.
Combing all of the above
Perhaps multiple step is required when importing the XML to MediaWiki thru MediaWiki's Wiki Importer.
Last resort, write a custom importer from MediaWiki.