If you are interested in how we get the offline Wikipedia articles into our maps: The folks of Wikimedia Enterprise talked to some of our contributors about the process of downloading, extracting and linking the articles.
https://enterprise.wikimedia.com/blog/comaps-benefits-from-enterprise-free-access/
#wikipedia