Hi John,
I have not decided yet whether to do any paging logic in my app (if thats what you are asking).
But I want to get the whole list of images from all the pages in the query and then I need to do some filtration.
-Sherry
Send Mediawiki-api mailing list submissions to
mediawiki-api@lists.wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
or, via email, send a message with subject or body 'help' to
mediawiki-api-request@lists.wikimedia.org
You can reach the person managing the list at
mediawiki-api-owner@lists.wikimedia.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Mediawiki-api digest..."
Today's Topics:
1. Wrong result (sherry.ummen@gmail.com)
2. Re: Wrong result (John)
----------------------------------------------------------------------
Message: 1
Date: Sun, 01 May 2016 20:38:10 +0000
From: "sherry.ummen@gmail.com" <sherry.ummen@gmail.com>
To: "mediawiki-api@lists.wikimedia.org"
<mediawiki-api@lists.wikimedia.org>
Subject: [Mediawiki-api] Wrong result
Message-ID:
<CABKw4GEpYpT4dw=GdeCw5G=SNN7vn2eeGhgtQr48MiCLBvQ2Vg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
hello,
if i run following query :
https://en.wikipedia.org/w/api.php?action=query&prop=images&pageids=45298209|22451814|17926903|6084709|4037814|302483|4740439|3894101|4157638|1845819|25337925|2604407|49063439|6258715|4259530|48523312|6332908|30044006|35970623|2101648|49073305|4680959|36834129|313451|15135925|13549495|16569477|937103|45225441|48653192|18414867|972204|17530427|26563621|15192218|45235494|33513019|21843422|22848121|23809496|9094714|48320541|3291857|26743149|8130141|24251238|12777317|36522192|7889859|35052699&format=json
I do not get images for all the pageids. I am not sure what is worn in this
query.
If I use single pageid then I get expected result.
Please suggest or help!
-Sherry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/mediawiki-api/attachments/20160501/91fc4568/attachment-0001.html>
------------------------------
Message: 2
Date: Sun, 1 May 2016 17:35:01 -0400
From: John <phoenixoverride@gmail.com>
To: "MediaWiki API announcements & discussion"
<mediawiki-api@lists.wikimedia.org>
Subject: Re: [Mediawiki-api] Wrong result
Message-ID:
<CAP-JHp=giwUuQT-TGeL29+e3J=oZ+JF1dovicV0uDG29aO-KKg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Are you paging thru all the results or just the single result page?
On Sunday, May 1, 2016, sherry.ummen@gmail.com <sherry.ummen@gmail.com>
wrote:
> hello,
>
> if i run following query :
>
>
> https://en.wikipedia.org/w/api.php?action=query&prop=images&pageids=45298209|22451814|17926903|6084709|4037814|302483|4740439|3894101|4157638|1845819|25337925|2604407|49063439|6258715|4259530|48523312|6332908|30044006|35970623|2101648|49073305|4680959|36834129|313451|15135925|13549495|16569477|937103|45225441|48653192|18414867|972204|17530427|26563621|15192218|45235494|33513019|21843422|22848121|23809496|9094714|48320541|3291857|26743149|8130141|24251238|12777317|36522192|7889859|35052699&format=json
>
> I do not get images for all the pageids. I am not sure what is worn in
> this query.
>
> If I use single pageid then I get expected result.
>
> Please suggest or help!
>
> -Sherry
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/mediawiki-api/attachments/20160501/c8451e51/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
------------------------------
End of Mediawiki-api Digest, Vol 107, Issue 1
*********************************************