Last modified: 2014-09-25 09:24:53 UTC
this is from the mw1.24-wmf17 branch of Wikibase, before the xml format broke. There is some weirdness here.... * extra <claim>property</claim> at the end of the <claims> list * also, it's somewhat odd that the claims (by property) grouping is called 'claim' but realize to change that and make it nicer might break bots and tools that use this format. <?xml version="1.0"?> <api> <claims> <claim id="P60"> <claim id="Q5$92b4c2a4-4650-8c70-629c-c844d942d7d8" type="statement" rank="normal"> <mainsnak snaktype="value" property="P60" datatype="time"> <datavalue type="time"> <value time="+00000002000-02-03T00:00:00Z" timezone="0" before="0" after="0" precision="11" calendarmodel="http://www.wikidata.org/entity/Q1985727" /> </datavalue> </mainsnak> <qualifiers /> <qualifiers-order /> </claim> <claim id="Q5$5f38a6db-4108-e2ad-e328-695b67d16a91" type="statement" rank="normal"> <mainsnak snaktype="value" property="P60" datatype="time"> <datavalue type="wikibase-entityid"> <value entity-type="item" numeric-id="170" /> </datavalue> </mainsnak> <qualifiers /> <qualifiers-order /> </claim> </claim> <claim id="P66"> <claim id="Q5$b4e39cb9-4e38-1a3a-456b-01db8456ff1a" type="statement" rank="normal"> <mainsnak snaktype="novalue" property="P66" /> <qualifiers /> <qualifiers-order /> </claim> </claim> <claim>property</claim> </claims> </api>
Change 160677 had a related patch set uploaded by Daniel Kinzler: Fix tag names generated in API XML output. https://gerrit.wikimedia.org/r/160677
Change 160677 merged by jenkins-bot: Fix tag names generated in API XML output. https://gerrit.wikimedia.org/r/160677
Change 161214 had a related patch set uploaded by Aude: Fix tag names generated in API XML output. https://gerrit.wikimedia.org/r/161214
Change 161214 merged by jenkins-bot: Fix tag names generated in API XML output. https://gerrit.wikimedia.org/r/161214