Hi guys,

I'm wondering how to add references that have multiple parts. Take for example https://www.wikidata.org/wiki/Q76 (Barack Obama). The third reference of date of birth has two parts:
* "stated in" -> "Integrated Authority File"
* "date retrieved" -> "9 April 2014"

Currently a reference in our implementation is a special claim [1]. I'm pretty sure the left hand side of a claim is always one property (for example "date of birth"), with references this can be multiple (for example "stated in" and "date retrieved"). Am I missing something or should we change our implementation?

Maarten

[1] https://git.wikimedia.org/blob/pywikibot%2Fcore.git/5b04107f5f4151a82293389a1eb76af593dfe42c/pywikibot%2Fpage.py#L3506


_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to