I have been tasked with building an offline copy of the Wikipedia website. The main goal is to have the database and images stored locally so that we can run a Wikipedia website on a local server. Our ultimate goal is to have Mediawiki and the Wikipedia database and images stored on a single hard drive in a server in a location with no Internet access.
I have already been in contact with the Wikimedia Offline list about this issue but as yet have received no feedback about how to go about solving this problem.
I've made good progress configuring Mediawiki and importing the articles and page links but when I look at some pages I can see that some templates are missing from my offline Wikipedia. The missing templates are made obvious because the text "Template:abcdef" is displayed in red, and have the alt text "Template:abcdef (page does not exist)". A couple of specific examples of missing templates are 'Template:Citation/make link' and 'Template:Gaps'.
My offline Wikipedia data was imported into the MySQL database using the Mwdumper program. The source data came from the enwiki-latest-pages-articles.xml file. I imported the page links into the database using the enwiki-latest-pagelinks.sql file.
Can anyone give me some guidance on how to fix this problem?
My sincere apologies if this is not the appropriate place to ask for assistance with this problem.
Kevin