Hello,
I’m currently converting `action=ask&query=[[Category:Event]][[OnDate::<2017/05/03]] + etc` to use `action=askargs`.
So far I stripped away the double square brackets around Category:Event, and it gives back results.
`action=ask&conditions=Category:Event&printouts= NameOfEvent`
If I try to filter Category:Event by today’s date as above though, I get an error back, in all the following combination:
* `action=ask&conditions=Category:Event[[OnDate::<2017/ 05/03]]&printouts=NameOfEvent`
* `action=ask&conditions=Category:EventOnDate::<2017/ 05/03&printouts=NameOfEvent`
* `action=ask&conditions=Category:Event|OnDate::<2017/ 05/03&printouts=NameOfEvent`
* `action=ask&conditions=Category:Event&OnDate::<2017/ 05/03&printouts=NameOfEvent`
Is it possible to use any similar syntax and filter upfront pages based on properties?
The only reason why I am try to switch to askargs, is that, unlike ask, it has a query-continue-offset.
Thanks,
André
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api