peterjc / mediawiki_to_git_md

Convert a MediaWiki export XML file into MarkDown as a series of git commits
MIT License
54 stars 17 forks source link

Errors when converting dump with different localization than english #27

Open w4tsn opened 6 years ago

w4tsn commented 6 years ago

Within german instances of mediawiki it may appear, that some tags that are hard-coded and not localized are causing errors and eventually lead to breaking the process.

E.g. 'Kategorie' and 'Category'.

I worked around this issue by search-replacing these throughout the dump. Not beautiful but works.

peterjc commented 6 years ago

Do you know where MediaWiki documents these alternatives (and how to detect which language settings are being used in the XML file)?

w4tsn commented 6 years ago

I don't know it right now, but I'll have a look into this.