Hi, could anyone please confirm if the special tags ( https://www.wikidata.org/wiki/Special:Tags) are supposed to be shown in the edit history dumps (https://dumps.wikimedia.org/wikidatawiki/) too, and in which XML element or attribute?
Thanks. Cristina On Fri, Sep 16, 2016 at 9:18 AM, Cristina Sarasua <[email protected]> wrote: > Thanks Katie. > > And in the dumped edit history, which is the element in RevisionType [1] > that should contain the tags? I guess it's not the comment, then. > > Cristina > > > [1] Edit history Schema: https://www.mediawiki.org/xml/export-0.8.xsd > > > > On Fri, Sep 16, 2016 at 5:03 AM, Katie Filbert <[email protected] > > wrote: > >> 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=usercon >> tribs&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=Spec >>> ial%3AContributions&contribs=user&target=User&namespace=&tag >>> filter=&year=2016&month=-1 >>> [3] https://www.wikidata.org/w/api.php?action=query&list=use >>> rcontribs&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 >> >> > > > -- > 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 > -- 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
