Re: [Wikitech-l] How to check that the page contents has change from API

2016-09-30 Thread Strainu
2016-09-30 10:26 GMT+03:00 Strainu : > 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. > > R

Re: [Wikitech-l] How to check that the page contents has change from API

2016-09-30 Thread Strainu
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. Regards, Strainu 2016-09-30 10:12 GMT+03:00 Daniel Kinzler : > You can check recentchanges for the page. Relevant chang

Re: [Wikitech-l] How to check that the page contents has change from API

2016-09-30 Thread Daniel Kinzler
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

[Wikitech-l] How to check that the page contents has change from API

2016-09-29 Thread 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 consumi