Hi Thad!

Yup. The 'rawcontinue' is a boolean (present or not). That's correct.

Note that, that 'boolean' is related to the type of that parameter
'rawcontinue', and not to the type of a response section activated by
that parameter itself.

Having said I also see room for improvement in our dear API doc... ihih

Cheers!

-boz

On Thu, 2021-05-20 at 10:24 -0500, Thad Guidry wrote:
> Interestingly, using instead the rawcontinue does not give you a
> boolean (as described in the API help near the bottom), but the next
> gaicontinue filename
> 
> https://commons.wikimedia.org/w/api.php?action=query&generator=allimages&prop=duplicatefiles&gaifrom=3D%F0%AA%8E%A5-seal.svg&gailimit=1&format=json&rawcontinue=
> 
> {
>   "query-continue": {
>     "allimages": {
>       "gaicontinue": "3E-100.jpg"
>     }
>   },
>   "query": {
>     "pages": {
>       "4236541": {
>         "pageid": 4236541,
>         "ns": 6,
>         "title": "File:3E-003 PTKiGK Zabrze Naklo Slaskie 18062008
> 01.jpg"
>       }
>     }
>   }
> }
> Thad
> https://www.linkedin.com/in/thadguidry/
> https://calendly.com/thadguidry/
> _______________________________________________
> Mediawiki-api mailing list -- mediawiki-api@lists.wikimedia.org
> To unsubscribe send an email to 
> mediawiki-api-le...@lists.wikimedia.org
-- 
Valerio Bozz.


E-mail sent from Evolution from a random GNU/Linux distribution,
delivered from my Postfix mailserver.

Have fun with software freedom!
_______________________________________________
Mediawiki-api mailing list -- mediawiki-api@lists.wikimedia.org
To unsubscribe send an email to mediawiki-api-le...@lists.wikimedia.org

Reply via email to