https://bugzilla.wikimedia.org/show_bug.cgi?id=72729

--- Comment #4 from Daniel Kinzler <[email protected]> ---
If I understand correctly, the intended use case is this: you have a list of
local pages titles (e.g. from a prefix search), and want to list the; in the
listing, you want to show some extra info from Wikidata, like the description.
The suggestion is to allow API queries to include this extra information using
an API prop module.

This could be done, but I wonder whether it's worth the effort. You can get the
same info easily from Wikidata directly, with a single API call. For example,
to get the wikidata labels and descriptions, in English, associated with the
Pages Birch, Beech, and Beetle on enwiki, you can use the following query:

http://www.wikidata.org/w/api.php?action=wbgetentities&format=json&sites=enwiki&titles=Birch%7CBeech%7CBeetle&props=labels%7Cdescriptions&languages=en%7Cen-ca%7Cen-gb

Isn't this sufficient?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to