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
> [email protected]
> 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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to