2016-09-30 10:26 GMT+03:00 Strainu <strain...@gmail.com>:
> Thank you very much Daniel, this is exactly what I was looking for.
> Just to be sure, is that timestamp also updated when a template in the
> page is changed? I would expect so.

Sorry, just saw that you already answered this one in the original email.

>
> Regards,
>    Strainu
>
> 2016-09-30 10:12 GMT+03:00 Daniel Kinzler <daniel.kinz...@wikimedia.de>:
>> You can check recentchanges for the page. Relevant changes to wikidata items
>> used on a page are injected into the recentchanges stream, so they show up in
>> the watchlist of people watching the page on wikipedia. You may need to set
>> rctype=edit|external in your API query though.
>>
>> Note that this does not (yet) work for the page history, just recentchanges.
>>
>> You can also look at the "touched" timestamp as returned by the API:
>> <https://en.wikipedia.org/w/api.php?action=query&prop=info&titles=Main%20Page>
>>
>> This will be updated whenever the page is purged/rerendered, e.g. when a
>> template changed - or a wikidata item.
>>
>> HTH
>> Daniel
>>
>> Am 30.09.2016 um 01:59 schrieb Strainu:
>>> With the advent of Wikidata-based infoboxes, the page contents can
>>> change without the local text being changed, so without a new
>>> revision. Is there any way tho find out when this happens from the
>>> API? I know I can always do 2 API calls, one for the page and one for
>>> the item, but that's time consuming.
>>>
>>> Thanks,
>>>   Strainu
>>>
>>> _______________________________________________
>>> Wikitech-l mailing list
>>> Wikitech-l@lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>>
>>
>>
>> --
>> Daniel Kinzler
>> Senior Software Developer
>>
>> Wikimedia Deutschland
>> Gesellschaft zur Förderung Freien Wissens e.V.
>>
>> _______________________________________________
>> Wikitech-l mailing list
>> Wikitech-l@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l

_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to