RexxS added a comment.
We started using Scribunto to read Wikidata items in exactly that way - just loading the entire entity as an object and working from that. There are two downsides that became apparent: First, the resources consumed made this an "expensive" call unless it was done from the page that was already linked to the Wikidata item. Second, because all of the Wikidata object was loaded, including descriptions, aliases, labels, etc. in every language, any change to any of those in any language threw up an entry in the watchlist for anybody watching the Wikipedia article where that item was loaded. That swamped watchlists with irrelevant entries and caused many Wikipedia editors to turn off monitoring of Wikidata changes. Unless anyone can think of a good reason not to, having calls that return single items from a large entity is far more efficient and can make watchlisting feasible. We should definitely be planning to achieve that functionality, even if we begin by loading the entire entity in order to get started. TASK DETAIL https://phabricator.wikimedia.org/T212843 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: RexxS Cc: TomT0m, Yurik, Vesihiisi, ArthurPSmith, Iniquity, Tobias1984, Theklan, Fnielsen, RexxS, Pamputt, Mike_Peel, MarcoSwart, Geertivp, Liuxinyu970226, Addshore, Jdforrester-WMF, deryckchan, Lydia_Pintscher, Lea_Lacroix_WMDE, darthmon_wmde, DannyS712, Nandana, Mringgaard, Lahi, Gq86, Cinemantique, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, jberkel, Psychoslave, Wikidata-bugs, aude, GPHemsley, Shizhao, Nemo_bis, Darkdadaah, Mbch331, Ltrlg, Krenair
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs