Tacsipacsi added a comment.
I suppose the call could be exactly the same as for `getSitelink`, i.e. -- @param {string} itemId -- @param {string} [globalSiteId] function wikibase.getBadges( itemId, globalSiteId ) and the return value could be a Lua table (with numeric indices), containing zero or more badges. TASK DETAIL https://phabricator.wikimedia.org/T305378 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tacsipacsi Cc: TomT0m, Zebulon84, Tacsipacsi, Lydia_Pintscher, Aklapper, eranroz, thiemowmde, Tpt, Ladsgroup, hoo, aude, Jonas, putnik, Uzume, MisterSynergy, Vriullop, RexxS, Agabi10, RolandUnger, jberkel, Lea_Lacroix_WMDE, Pigsonthewing, Simon_Villeneuve, Thayts, ChristianKl, Manuel, LennardHofmann, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, lucamauri, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org