Standard XML MW format exists for long time and is supported by existing software.
IMHO both XML and Json dumps should be treated with the same priority


On Fri, Feb 27, 2015 at 10:19 AM, Markus Kroetzsch <> wrote:
On 26.02.2015 21:40, Martynas Jusevičius wrote:
Looks like someone hasn't learned the lesson:

No, this post is unrelated. The cause of the problem was correctly analysed by Stas.


On Thu, Feb 26, 2015 at 9:27 PM, Lukas Benedix
<> wrote:
I second this!

btw:  what is the status of the problem with the missing dumps with
history? (latest available from November 2014)


Am Do 26.02.2015 um 14:52 schrieb Markus Kroetzsch:

It's that time of the year again when I am sending a reminder that we
still have broken JSON in the dump files ;-). As usual, the problem is
that empty maps {} are serialized wrongly as empty lists []. I am not
sure if there is any open bug that tracks this, so I am sending an
email. There was one, but it was closed [1].

As you know (I had sent an email a while ago), there are some remaining
problems of this kind in the JSON dump, and also in the live exported
JSON, e.g.,
(uses [] as a value for snaks: this item has a reference with an empty
list of snaks, which is an error by itself)

However, the situation is considerably worse in the XML dumps, which
have seen less usage since we have JSON, but as it turns out are still
preferred by some users. Surprisingly (to me), the JSON content in the
XML dumps is still not the same as in the JSON dumps. A large part of
the records in the XML dump is broken because of the map-vs-list issue.

For example, the latest dump of current revisions [2] has countless
instances of the problem. The first is in the item Q3261 (empty list for
claims), but you can easily find more by grepping for things like


It seems that all empty maps are serialized wrongly in this dump
(aliases, descriptions, claims, ...). In contrast, the site's export
simply omits the key of empty maps entirely, see

The JSON in the JSON dumps is the same.




Wikidata-l mailing list

Wikidata-l mailing list

Wikidata-l mailing list

Kontokostas Dimitris