Sigh. It's even more complicated than that. It looks like the "name" entry
doesn't always match the name you passed in the API call, but is subject to
case mapping, trailing whitespace stripping, and maybe a few other things?
$ curl -s
'https://en.wikipedia.org/w/api.php?action=query&format=j
Ugh. That's not even true. It looks like all the invalid entries are emitted
first, then the valid ones. And duplicates are deduplicated.
So, we're down to you give it a bunch of names, and it gives you back a a bunch
of data which may not have the same number of entries as your input list, t
On Sun, Sep 5, 2021 at 1:18 PM Roy Smith wrote:
>
> Sigh. It's even more complicated than that. It looks like the "name" entry
> doesn't always match the name you passed in the API call, but is subject to
> case mapping, trailing whitespace stripping, and maybe a few other things?
MediaWiki n