tstarling added a comment.
I edited the task description because the class name was incorrect. In production this is implemented in `Wikibase\Client\Api\Description`. I would like to know what is calling this API and whether it would be sufficient to add a variant parameter to the module. If a script calls the API from within a page context, I think the variant of the response should match the variant of the context page, which is not necessarily the same as the Accept-Language header. I would consider Accept-Language to be just for the UI, not for the API, unless there is a very good reason for doing otherwise. TASK DETAIL https://phabricator.wikimedia.org/T260179 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: tstarling Cc: tstarling, Aklapper, Cosine02, cooltey, Invadibot, LaMagiaaa, RuiyuShen, maantietaja, Naike, Akuckartz, eprodromou, Joye_Zhang, WDoranWMF, VulpesVulpes825, Sunny00217, 94rain, DannyS712, Nandana, Hamishcn, Amorymeltzer, Lahi, Gq86, BJ6123C7BTD, GoranSMilovanovic, lisong, Allthingsgo, QZanden, LawExplorer, Sethakill, dg711, _jensen, rosalieper, Agabi10, Taiwania_Justo, Scott_WUaS, Pchelolo, Fuzheado, Cwek, Wikidata-bugs, aude, jayvdb, zhuyifei1999, Shizhao, Mbch331, Liuxinyu970226
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
