baturin/wikivoyage-listings

Get language from dump siteinfo/dbname, rather than guessing

Closed this issue · 1 comments

From #8:

it makes sense to detect language from dump itself - check "siteinfo/dbname" node:

<siteinfo>
  <sitename>Wikivoyage</sitename>
  <dbname>enwikivoyage</dbname>
...

Implemented language detection from dump.