Re: [Wikidata-tech] Tags in the edit history

2016-10-04 Thread Cristina Sarasua
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 
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  > wrote:
>
>> On Thu, Sep 15, 2016 at 10:12 PM, Cristina Sarasua <
>> csara...@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=usercon
>> tribs=tags=aude=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=Spec
>>> ial%3AContributions=user=User=
>>> filter==2016=-1
>>> [3] https://www.wikidata.org/w/api.php?action=query=use
>>> rcontribs=user
>>>
>>> --
>>> Cristina Sarasua
>>>
>>> Institute for Web Science and Technologies (WeST)
>>>
>>> Universität Koblenz-Landau
>>> Universitätsstraße 1
>>> 56070 Koblenz
>>> Germany
>>>
>>> e-mail: csara...@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
>>>
>>>
>>
>>
>> --
>> 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
>> Wikidata-tech@lists.wikimedia.org
>> 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: csara...@uni-koblenz.de
> 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: csara...@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


Re: [Wikidata-tech] Tags in the edit history

2016-09-16 Thread Cristina Sarasua
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 
wrote:

> On Thu, Sep 15, 2016 at 10:12 PM, Cristina Sarasua <
> csara...@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=
> usercontribs=tags=aude=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=Spec
>> ial%3AContributions=user=User=&
>> tagfilter==2016=-1
>> [3] https://www.wikidata.org/w/api.php?action=query=use
>> rcontribs=user
>>
>> --
>> Cristina Sarasua
>>
>> Institute for Web Science and Technologies (WeST)
>>
>> Universität Koblenz-Landau
>> Universitätsstraße 1
>> 56070 Koblenz
>> Germany
>>
>> e-mail: csara...@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
>>
>>
>
>
> --
> 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
> Wikidata-tech@lists.wikimedia.org
> 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: csara...@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


Re: [Wikidata-tech] Tags in the edit history

2016-09-15 Thread Katie Filbert
On Thu, Sep 15, 2016 at 10:12 PM, Cristina Sarasua 
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=usercontribs=tags=aude=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=
> Special%3AContributions=user=User&
> namespace===2016=-1
> [3] https://www.wikidata.org/w/api.php?action=query=
> usercontribs=user
>
> --
> Cristina Sarasua
>
> Institute for Web Science and Technologies (WeST)
>
> Universität Koblenz-Landau
> Universitätsstraße 1
> 56070 Koblenz
> Germany
>
> e-mail: csara...@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
>
>


-- 
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
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech