Hi.
Can someone point out an API query that uses "results" in self.data["query"][self.resultkey]
Mpaa
This looks like QueryGenerator related? So the PageGenerator sets the key to "pages". See also: https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/data/api.p... On 19 Nov 2014 23:39, "Mpaa" mpaa.wiki@gmail.com wrote:
Hi.
Can someone point out an API query that uses "results" in self.data["query"][self.resultkey]
Mpaa
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
I would like to have a real example where this line and the following are used: - https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/data/api.p...
On Wed, Nov 19, 2014 at 11:50 PM, Fabian Neundorf CommodoreFabianus@gmx.de wrote:
This looks like QueryGenerator related? So the PageGenerator sets the key to "pages". See also: https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/data/api.p... On 19 Nov 2014 23:39, "Mpaa" mpaa.wiki@gmail.com wrote:
Hi.
Can someone point out an API query that uses "results" in self.data["query"][self.resultkey]
Mpaa
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
On Thu, Nov 20, 2014 at 6:13 AM, Mpaa mpaa.wiki@gmail.com wrote:
I would like to have a real example where this line and the following are used:
https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/data/api.p...
That is used for list=querypage.
https://en.wikipedia.org/w/api.php?action=query&list=querypage&qppag...
Here is the changeset which added it
https://github.com/wikimedia/pywikibot-core/commit/d568b159e81ec5caba29d649e...
thanks
On Fri, Nov 21, 2014 at 2:15 AM, John Mark Vandenberg jayvdb@gmail.com wrote:
On Thu, Nov 20, 2014 at 6:13 AM, Mpaa mpaa.wiki@gmail.com wrote:
I would like to have a real example where this line and the following are used:
https://github.com/wikimedia/pywikibot-core/blob/master/pywikibot/data/api.p...
That is used for list=querypage.
https://en.wikipedia.org/w/api.php?action=query&list=querypage&qppag...
Here is the changeset which added it
https://github.com/wikimedia/pywikibot-core/commit/d568b159e81ec5caba29d649e...
-- John Vandenberg
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org