Pintoch added a subscriber: Mvolz. Pintoch added a comment.
> As a tool developer, it would be very useful to access the language fallback graph from an API. I would use the resulting graph in https://tools.wmflabs.org/openrefine-wikidata/ . This tool is basically a wrapper over the Wikibase API (and a bit of SPARQL) to comply with OpenRefine's reconciliation API. The tool can be configured to work in any language and would benefit from knowing about the language fallback graph to retrieve labels, descriptions and aliases. The current code that does that is here: https://github.com/wetneb/openrefine-wikibase/blob/master/wdreconcile/language.py (it's a crude approximation, where every language falls back on English). I will let @Mvolz comment about her own use case. Concerning performance, of course this would be only retrieved quite rarely and cached on my side. So maybe a web API is overkill for that - but it would ideally be good to be able to download that structured graph from somewhere. It does not have to be served by the MediaWiki instance itself. TASK DETAIL https://phabricator.wikimedia.org/T217239 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pintoch Cc: Mvolz, Anomie, Lucas_Werkmeister_WMDE, Pintoch, Aklapper, Nandana, Lahi, Gq86, Baloch007, GoranSMilovanovic, QZanden, LawExplorer, Sethakill, dg711, _jensen, MuhammadShuaib, LNDDYL, Psychoslave, Wikidata-bugs, aude, jayvdb, Arrbee, KartikMistry, Mbch331, Jay8g, Legoktm
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs