Addshore added a comment.

The use case is to process the dumps and filter out qitems which do not relate to articles, this is why we put NS0.

That sounds like you are referring to the namespace of the sitelinks of the entity?

On wikidata.org all "qitems" are in the main namespace, which is namespace 0.
The sitelinks held within those items can be on any number of different namespaces on the wikidata clients.

The JSON dump sample says there is ns field but in the final dump there is no such field.

This is the namespace of the item itself, not of the sitelinks.
Could you link to those docs? it could be that they are only meant for the API serialization.?


TASK DETAIL
https://phabricator.wikimedia.org/T191639

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Addshore
Cc: Addshore, Chicocvenancio, marcmiquel, Nandana, Lahi, Gq86, GoranSMilovanovic, Lunewa, QZanden, LawExplorer, _jensen, gnosygnu, Wikidata-bugs, aude, Svick, Mbch331, jeremyb
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to