Page MenuHomePhabricator

Wikibase canonical JSON format is missing "modified" in Wikidata JSON dumps
Closed, ResolvedPublic

Description

So according to documentation here I should expect that JSON format of Wikidata JSON dumps contains also a modified field with a timestamp of the current revision. I can see a lastrevid field, but no modified. Is this an issue with the documentation or something else? I was looking at, for example, this file.

Event Timeline

Addshore subscribed.

This is particular to the web JSON output and is current not expected to appear in dumps.
Adding it there would have to be a feature request etc.

Change 793934 had a related patch set uploaded (by Mitar; author: Mitar):

[mediawiki/extensions/Wikibase@master] Make sure both API and dump include same page metadata fields

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

Change 793934 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Make sure both API and dump include same page metadata fields.

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

Change 802921 had a related patch set uploaded (by Mitar; author: Mitar):

[operations/puppet@production] Add page metadata to Wikibase JSON dumps

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

Change 802921 merged by Jbond:

[operations/puppet@production] Add page metadata to Wikibase JSON dumps

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

I checked wikidata-20220620-all.json.bz2 and it contains now modified field (alongside other fields which are present in API).

Mitar claimed this task.