Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-20 Thread Bartosz Dziewoński
On 2020-11-19 17:14, Shrinivasan T wrote: How to add this info in the API documentation page? https://www.mediawiki.org/wiki/API:Usercontribs It's actually described on that page: ucdir In which direction to enumerate: newer List oldest first. Note: ucstart has to be before uce

Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-19 Thread Shrinivasan T
வியா., 19 நவ., 2020, முற்பகல் 12:29 அன்று, Bartosz Dziewoński எழுதியது: > > The contributions are listed in reverse chronological order (newest > first), so your 'ucstart' and 'ucend' parameters also need to be > reversed ('ucstart' is the newer timestamp, 'ucend' is the earlier). > This works: >

Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-18 Thread Bartosz Dziewoński
On 2020-11-18 12:56, John wrote: Thats not how those parameters work. You use either or, not both. You are either going forward or backwards thru the contribs based on which you use. You need to apply some logic on the application layer to filter the results to what you need. This is incorrec

Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-18 Thread Bartosz Dziewoński
The contributions are listed in reverse chronological order (newest first), so your 'ucstart' and 'ucend' parameters also need to be reversed ('ucstart' is the newer timestamp, 'ucend' is the earlier). This works: https://ta.wikisource.org/wiki/சிறப்பு:ApiSandbox#action=query&format=json&list=

Re: [Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-18 Thread John
Thats not how those parameters work. You use either or, not both. You are either going forward or backwards thru the contribs based on which you use. You need to apply some logic on the application layer to filter the results to what you need. On Wed, Nov 18, 2020 at 6:50 AM Shrinivasan T wrote:

[Wikitech-l] How to get a list of usercontribs for a given date range?

2020-11-18 Thread Shrinivasan T
Hello all, I want to get a usercontrib details of a wikisource user in given date range. Trying this https://ta.wikisource.org/wiki/Special:ApiSandbox#action=query&format=json&list=usercontribs&ucstart=2020-11-14T19%3A34%3A26.000Z&ucend=2020-11-17T19%3A34%3A26.000Z&ucuser=Fathima Shaila if I gi