Re: [Wikidata] Any way to get non-English descriptions in "wbsearchentities" API?

2020-10-16 Thread Dmitry Brant
The "uselang" parameter applies to the base (main) module, and
automatically gets used by other modules that are part of the API call:
https://www.wikidata.org/w/api.php?action=help=main



On Fri, Oct 16, 2020 at 10:01 AM Yaron Koren  wrote:

> Hi Dmitry,
>
> Great, thank you!
>
> It looks like "uselang" still needs to be added to the documentation for
> this API action:
>
> https://www.wikidata.org/w/api.php?action=help=wbsearchentities
>
> On Fri, Oct 16, 2020 at 9:46 AM Dmitry Brant  wrote:
>
>> Yep, just add the "uselang" parameter:
>>
>>
>> https://www.wikidata.org/w/api.php?action=wbsearchentities=fr=item=m=fr
>>
>>
>>
>> On Fri, Oct 16, 2020 at 9:37 AM Yaron Koren  wrote:
>>
>>> Hi,
>>>
>>> When you call the "wbsearchentities" API, the main label and description
>>> returned for each item are always hardcoded in English. (Which is strange.)
>>> Thankfully, it also returns the label for each item in the specified
>>> language - here is an example:
>>>
>>>
>>> https://www.wikidata.org/w/api.php?action=wbsearchentities=fr=item=m
>>>
>>> However, it doesn't seem like there's any way to get the *description*
>>> of each item in the specified language. Is there?
>>>
>>> -Yaron
>>>
>>> --
>>> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>> ___
>>> Wikidata mailing list
>>> Wikidata@lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/wikidata
>>>
>>
>>
>> --
>> Dmitry Brant
>> Senior Software Engineer (Android)
>> Wikimedia Foundation
>> https://www.mediawiki.org/wiki/Wikimedia_mobile_engineering
>>
>> _______
>> Wikidata mailing list
>> Wikidata@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikidata
>>
>
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>


-- 
Dmitry Brant
Senior Software Engineer (Android)
Wikimedia Foundation
https://www.mediawiki.org/wiki/Wikimedia_mobile_engineering
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Any way to get non-English descriptions in "wbsearchentities" API?

2020-10-16 Thread Dmitry Brant
Yep, just add the "uselang" parameter:

https://www.wikidata.org/w/api.php?action=wbsearchentities=fr=item=m=fr



On Fri, Oct 16, 2020 at 9:37 AM Yaron Koren  wrote:

> Hi,
>
> When you call the "wbsearchentities" API, the main label and description
> returned for each item are always hardcoded in English. (Which is strange.)
> Thankfully, it also returns the label for each item in the specified
> language - here is an example:
>
>
> https://www.wikidata.org/w/api.php?action=wbsearchentities=fr=item=m
>
> However, it doesn't seem like there's any way to get the *description* of
> each item in the specified language. Is there?
>
> -Yaron
>
> --
> WikiWorks · MediaWiki Consulting · http://wikiworks.com
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>


-- 
Dmitry Brant
Senior Software Engineer (Android)
Wikimedia Foundation
https://www.mediawiki.org/wiki/Wikimedia_mobile_engineering
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


[Wikidata] Revert notifications?

2017-01-06 Thread Dmitry Brant
Hi all,

I seem to have stopped being able to receive "revert" notifications (via
Echo) on Wikidata. (i.e. if I make a change to an item's description, and
someone reverts it, I no longer get a notification. This is for testing of
our Android app that will soon allow editing of descriptions.)

Do you know if something has changed within the last day or so that affects
this behavior? I was able to get these notifications prior to yesterday.
(Or am I not doing something correctly?)


Best,

-- 
Dmitry Brant
Senior Software Engineer / Product Owner (Android)
Wikimedia Foundation
https://www.mediawiki.org/wiki/Wikimedia_mobile_engineering
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata