Page MenuHomePhabricator

interwiki dump format
Closed, ResolvedPublic

Description

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


Version: core
Severity: normal
OS: Windows 7

Attached:

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:44 AM
bzimport set Reference to bz72943.
bzimport added a subscriber: Unknown Object (????).

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?

(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

Xqt triaged this task as Low priority.Aug 9 2016, 3:20 AM
Xqt added a project: Regression.
Xqt added a project: good first task.

Seems -restore:all does not work for core, right?

Xqt updated the task description. (Show Details)

Change 483938 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [WIP]

https://gerrit.wikimedia.org/r/483938

Change 483939 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] use textfile for interwiki dumps

https://gerrit.wikimedia.org/r/483939

Change 483939 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] use textfile for interwiki dumps

https://gerrit.wikimedia.org/r/483939

Change 483939 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] use textfile for interwiki dumps

https://gerrit.wikimedia.org/r/483939