I want to know if there's a way to import data into a wiki? I want to build my wiki via data I have stored in text files.
Just put your files into ./data/pages
(and if applicable move them into different sub folders) and the wiki will be automatically populated with them. The "only" thing you'll need to do is format them properly and link everything appropriately within the wiki.