Get language from dump siteinfo/dbname, rather than guessing
Closed this issue · 1 comments
nicolas-raoul commented
From #8:
it makes sense to detect language from dump itself - check "siteinfo/dbname" node:
<siteinfo>
<sitename>Wikivoyage</sitename>
<dbname>enwikivoyage</dbname>
...
baturin commented
Implemented language detection from dump.