dbarratt added a comment.

I thought of some more features and I thought I'd document them here:

  • Filter the sitelinks by site (i.e. Wikipedia). Also being able to filter them by language would be awesome. For instance, I'm trying to use this to get the summary of the article in the user's language. It would be incredible if you could perform actions against the REST API within the query, but at that point, we might as well just add GraphQL to MediaWiki and allow Wikidata's GraphQL endpoint to call MediaWiki's. :)
  • Some sort of ability to specify a "fallback" language. For media, Property:P364 could be used. But perhaps more just the general ability to specify a fallback language by a property id? For instance, if a label is not available in a film, I'd prefer for it to show in it's original language (whatever that might be). I kinda wish that GraphQL had some sort of way to use values in a one query in another, but as far as I can tell you can't do that. :/
  • The Commons Media data type could allow a function for generating a thumbnail url (if the image is a bitmap).
  • Ordering the property values by a qualifier (for instance, being able to order by Property:P1545 or Property:P1352.

It's really awesome so far though!


TASK DETAIL
https://phabricator.wikimedia.org/T173214

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: dbarratt
Cc: Smalyshev, Lydia_Pintscher, Addshore, larsgw, Saerdnaer, simon04, bearND, Siznax, Tpt, Jonas, Ricordisamoa, hoo, Lucas_Werkmeister_WMDE, Aklapper, dbarratt, PokestarFan, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Wikidata-bugs, aude, He7d3r, Jdforrester-WMF, Mbch331, Jay8g, Tgr
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to