Hi,
I didn't check WikiPrep with enwiki dump yet but I have some problems with fawiki dump(wikipedia in farsi language):
Progam running and output:
Loaded 38311 titles
Loaded 42705 redirects
Loaded 0 templates!
and then crash!
---------------------------
Here is latest log records:
[22:20:57] Transforming page id=3037
Instantiating template=استانهای سوريه
Warning: link 'Template:استانهای سوريه' cannot be matched to an id
Template 'Template:استانهای سوريه' is not available for inclusion
Instantiating template=جغرافیا-خرد
Warning: link 'Template:جغرافیا-خرد' cannot be matched to an id
Template 'Template:جغرافیا-خرد' is not ava
---------------------------
I think WikiPrep can't detect "templates" in fawiki xml dump. I'm not familiar with Perl but I think I have to modify your code. Can you help me to know which sections necessary to modify for adapt it to other XML dump languages?
Thanks for your favor.