On Thu, Sep 15, 2016 at 10:12 PM, Cristina Sarasua <[email protected]> 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&ucprop=tags&ucuser=aude&uctag=OAuth%20CID:%20378 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: [email protected] > phone: +49 261 287 2772 > fax: +49 261 287 100 2772 > web site: http://west.uni-koblenz.de > > _______________________________________________ > Wikidata-tech mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikidata-tech > > -- Katie Filbert Wikidata Developer Wikimedia Germany e.V. | Tempelhofer Ufer 23-24, 10963 Berlin Phone (030) 219 158 26-0 http://wikimedia.de Wikimedia Germany - Society for the Promotion of free knowledge eV Entered in the register of Amtsgericht Berlin-Charlottenburg under the number 23 855 as recognized as charitable by the Inland Revenue for corporations I Berlin, tax number 27/681/51985.
_______________________________________________ Wikidata-tech mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
