On Thu, Sep 15, 2016 at 10:12 PM, Cristina Sarasua csarasua@uni-koblenz.de wrote:
Hi,
I have a question regarding the tags [1] added to the edit history of Wikidata.
When I look at the contributions of a user at the wiki [2], I see the comment of the edit (e.g. " (Created claim: country (P17): Denmark (Q35), #petscan)") and a special tag that indicates that WiDaR-based software was used to edit (e.g. (Tag: Widar [1.4]), reCh).
However, when I look up the contributions of the same user that I have checked in the Wiki, this time via the API [3], I don't see the "Widar" tag in the comment.
Is there a way to identify these special tags (programmatically) in the edit history?
There is ucprop=tags which adds tags, if they exist for an edit, and uctag which can be used to filter the edits:
https://www.wikidata.org/w/api.php?action=query&list=usercontribs&uc...
Here, WiDaR is "OAuth CID: 378"
Cheers, Katie
Cristina
[1] https://www.wikidata.org/wiki/Special:Tags [2] https://www.wikidata.org/w/index.php?limit=50&title= Special%3AContributions&contribs=user&target=User& namespace=&tagfilter=&year=2016&month=-1 [3] https://www.wikidata.org/w/api.php?action=query&list= usercontribs&ucuser=user
-- Cristina Sarasua
Institute for Web Science and Technologies (WeST)
Universität Koblenz-Landau Universitätsstraße 1 56070 Koblenz Germany
e-mail: csarasua@uni-koblenz.de phone: +49 261 287 2772 fax: +49 261 287 100 2772 web site: http://west.uni-koblenz.de
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech