Hi all,
I'd like to generate a set of wikidata items via a generator, with the listing containing the various associated wikipedia language pages. I think this would essentially be like using wbgetentities with a generator. I guess it's not possible in a single query?
To explain: I can run this query:
https://ca.wikipedia.org/w/api.php?action=query&prop=langlinks%7Cpagepro...
which gives me the langlinks, as well as the wikidata item.
I'd now like run an equivalent query on wikidata, retrieving all language links. However, I cannot see a way in which a query like
https://www.wikidata.org/w/api.php?action=query&prop=...&generator=g...
can be made to include the language links? It's of course possible to get the ids with the above query, and then the language links with a second query:
https://www.wikidata.org/w/api.php?action=wbgetentities&props=sitelinks&.... ..
Is it possible in one query? I.e. something like
https://www.wikidata.org/w/api.php?action=wbgetentities&props=sitelinks&...
Many thanks! Bjoern
mediawiki-api@lists.wikimedia.org