alaa_wmde added a comment.
> (There is also a TermIndex interface, but that includes search functions too, and I don’t think we’re interested in supporting those yet.) I thought originally that that would be included under this checkpoint (separate tasks). > we need to refine that interface somehow (or introduce a second one more suitable for batching) yeah we can go with this for batching .. the new interface (or the existing enhanced one) would probably need to allow receiving an array of arrays terms ids .. then replacing term ids (leaf nodes) with the resolved representation (such as [ lang => 'en', type => 'label', text => 'foo' ] ) preserving top-level keys in the input array, which by turn would be the entity ids. TASK DETAIL https://phabricator.wikimedia.org/T219303 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: alaa_wmde Cc: Lucas_Werkmeister_WMDE, Aklapper, alaa_wmde, darthmon_wmde, Premeditated, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
