Re: [Wikitech-l] Language indices problem when importing wiktionary dump

2011-02-23 Thread Roan Kattouw
2011/2/23 Nathan Day :
> Hello,
>
> I have a problem with getting the language indices to work after importing
> the english wiktionary database dump to a locally running mediawiki
> instance.
>
> What I would like to see is the
> http://en.wiktionary.org/wiki/Index:Englishpage working at my
> localhost address. This page is not found.
>
> What I have imported is the regular "articles" dump file and the category
> and category links dump files. Are the indexes in a seperate dump file or is
> there a script to build them or something? What am I missing here? Any help
> would be much appreciated and I apologize is if I didn't include all the
> relevant information.
>
enwiktionary has custom namespaces that you need to define in your
LocalSettings.php . To get the complete set:

$wgExtraNamespaces = array(
100 => 'Appendix',
101 => 'Appendix_talk',
102 => 'Concordance',
103 => 'Concordance_talk',
104 => 'Index',
105 => 'Index_talk',
106 => 'Rhymes',
107 => 'Rhymes_talk',
108 => 'Transwiki',
109 => 'Transwiki_talk',
110 => 'Wikisaurus',
111 => 'Wikisaurus_talk',
114 => 'Citations',
115 => 'Citations_talk',
116 => 'Sign_gloss',
117 => 'Sign_gloss_talk',
);

Roan Kattouw (Catrope)

___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


[Wikitech-l] Language indices problem when importing wiktionary dump

2011-02-23 Thread Nathan Day
Hello,

I have a problem with getting the language indices to work after importing
the english wiktionary database dump to a locally running mediawiki
instance.

What I would like to see is the
http://en.wiktionary.org/wiki/Index:Englishpage working at my
localhost address. This page is not found.

What I have imported is the regular "articles" dump file and the category
and category links dump files. Are the indexes in a seperate dump file or is
there a script to build them or something? What am I missing here? Any help
would be much appreciated and I apologize is if I didn't include all the
relevant information.

Best Regards,
Nathan Day
___
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l