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
On 20/07/2011 16:29, Kevin Clark wrote:
... 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'.
This might be related a previous post about a broken dump.
Ariel wrote
" it's a known problem; you should be able to download the pieces instead; "
In reply to Eric Sun's
"The latest enwiki pages dump of enwiki-latest-pages-articles.xml.bz2 inhttp://dumps.wikimedia.org/enwiki/latest/ is only 5.8 GB. Previous versions, e.g. http://dumps.wikimedia.org/enwiki/20110526/ and http://dumps.wikimedia.org/enwiki/20110405/ have been consistently around 6.7-6.8GB."
Rgds, Richard Farmbrough
xmldatadumps-l@lists.wikimedia.org