https://bugzilla.wikimedia.org/show_bug.cgi?id=72943
Bug ID: 72943 Summary: interwiki dump format Product: Pywikibot Version: core (2.0) Hardware: All OS: Windows 7 Status: NEW Severity: normal Priority: Unprioritized Component: interwiki.py Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jan.dudik@gmail.com Web browser: --- Mobile Platform: ---
Created attachment 17010 --> https://bugzilla.wikimedia.org/attachment.cgi?id=17010&action=edit try to remove or add one line
intwerwiki dump format in core is weird - I am not able to edit it, because it opens in hexa mode. Compat format was simple .txt
https://bugzilla.wikimedia.org/show_bug.cgi?id=72943
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com
--- Comment #1 from John Mark Vandenberg jayvdb@gmail.com --- Try adding to your user-config
pickle_protocol = 0
is that format acceptable, if we provide a bit of documentation for the format of each entry?
https://bugzilla.wikimedia.org/show_bug.cgi?id=72943
--- Comment #2 from JAn Dudík jan.dudik@gmail.com --- (In reply to John Mark Vandenberg from comment #1)
Try adding to your user-config
pickle_protocol = 0
is that format acceptable, if we provide a bit of documentation for the format of each entry?
It's better, but some unicode characters (žščř...) are escaped and there are some additional characters on the beginnig of lines:
(lp0 VKategorie:Italská adjektiva p1 aVKategorie:Italská p\u0159íslovce ... p5 aVKategorie:Ital\u0161tina ... p11 aVKategorie:Japonské p\u0159edpony p12 aVKategorie:Japonské p\u0159ípony p13 aVKategorie:Japonské \u010dástice p14 aVKategorie:Japonské \u010díslovky ...
Instead of
Kategorie:Italská adjektiva Kategorie:Italská příslovce Kategorie:Italština Kategorie:Japonské předpony Kategorie:Japonské přípony Kategorie:Japonské částice Kategorie:Japonské číslovky
pywikipedia-bugs@lists.wikimedia.org