I have downloaded a enwiki dump and imported into the local database tables as described in http://meta.wikimedia.org/wiki/Data_dumps http://www.mediawiki.org/wiki/Manual:System_administration#Getting_the_data
However, I am still not sure what else is necessary or needed to get the local Wikipedia installation running.
For example, I have also downloaded the files -categorylinks.sql -interwiki.sql -langlinks.sql -redirect.sql -templatelinks.sql and imported them into the local tables. Is there anything else needed to be imported or run?
For examples, templates are still not processed/shown correctly in my local copy -- instead the pages seem the show parts of the template source and are oddly formatted.
Cheers, Johann
_______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
You will need to be running some of the same extensions Wikipedia runs ( http://en.wikipedia.org/wiki/Special:Version) - for example, without the ParserFunctions extension, many templates will not be parsed correctly, leaving code like #if statements throughout the page.
-- Avi
On Jan 14, 2008 12:56 PM, Johann Petrak johann.petrak@chello.at wrote:
I have downloaded a enwiki dump and imported into the local database tables as described in http://meta.wikimedia.org/wiki/Data_dumps
http://www.mediawiki.org/wiki/Manual:System_administration#Getting_the_data
However, I am still not sure what else is necessary or needed to get the local Wikipedia installation running.
For example, I have also downloaded the files -categorylinks.sql -interwiki.sql -langlinks.sql -redirect.sql -templatelinks.sql and imported them into the local tables. Is there anything else needed to be imported or run?
For examples, templates are still not processed/shown correctly in my local copy -- instead the pages seem the show parts of the template source and are oddly formatted.
Cheers, Johann
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
On 2008-01-14 12:08, Avi Rosenschein wrote:
You will need to be running some of the same extensions Wikipedia runs ( http://en.wikipedia.org/wiki/Special:Version) - for example, without the ParserFunctions extension, many templates will not be parsed correctly, leaving code like #if statements throughout the page.
Thank you that was exactly it!
Another silly question: where do all the Special:XXX including the Special:Version pages come from? I do not seem to have them in my local copy.
Cheers, Johann
Special: is sort of a virtual namespace - the content doesn't exist in the database. The pages are part of the MediaWiki code - they mostly live in /includes/Special*.php
-- Avi
On Jan 14, 2008 2:19 PM, Johann Petrak johann.petrak@chello.at wrote:
On 2008-01-14 12:08, Avi Rosenschein wrote:
You will need to be running some of the same extensions Wikipedia runs ( http://en.wikipedia.org/wiki/Special:Version) - for example, without the ParserFunctions extension, many templates will not be parsed correctly, leaving code like #if statements throughout the page.
Thank you that was exactly it!
Another silly question: where do all the Special:XXX including the Special:Version pages come from? I do not seem to have them in my local copy.
Cheers, Johann
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
Johann Petrak writes:
On 2008-01-14 12:08, Avi Rosenschein wrote:
You will need to be running some of the same extensions Wikipedia runs ( http://en.wikipedia.org/wiki/Special:Version) - for example, without the ParserFunctions extension, many templates will not be parsed correctly, leaving code like #if statements throughout the page.
Thank you that was exactly it!
Another silly question: where do all the Special:XXX including the Special:Version pages come from? I do not seem to have them in my local copy.
Cheers, Johann
All special pages are not content pages, but a machine-generated pages. Their code is in the includes/Special*.php --VasilievVV
On 1/14/08, Johann Petrak johann.petrak@chello.at wrote:
For examples, templates are still not processed/shown correctly in my local copy -- instead the pages seem the show parts of the template source and are oddly formatted.
One thing that springs to mind is that you may not have all the necessary MediaWiki extensions installed in order to parse the wikitext you have. Compare [[Special:Version]] on your wiki and on enwiki to see what extensions you are missing; look under "parser hooks" for ones which affect the parser.
wikitech-l@lists.wikimedia.org