Mholloway added a comment.

  @cooltey Just to be clear, am I correct that the remaining issue here is that 
the service should NOT fall back to using the description from another variant 
if the preferred variant is unavailable?  Using your example title, I see that 
the description on 
https://zh.wikipedia.org/api/rest_v1/page/mobile-html/%E4%B8%89%E7%81%A3%E9%84%89_(%E5%8F%B0%E7%81%A3)
 uses the correct variant when `Accept-Language: zh-hant` is sent.  But when 
`Accept-Language: zh-hans` is sent or no language variant is specified, the 
generic "Chinese" description is shown, which (IIUC) is incorrect.
  
  If what you're asking is to fix ApiQueryDescription 
<https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/Wikibase/+/refs/heads/master/client/includes/Api/Description.php>
 (?action=query&prop=description) to handle language variants generally, then 
that's a separate task, and one probably best performed by someone with 
in-depth knowledge of Wikibase concepts and architecture (hint: probably 
someone from WMDE and not WMF Product Infrastructure).  But I wouldn't agree 
with the prioritization in that case, because descriptions in the correct 
variant are already available by other means.

TASK DETAIL
  https://phabricator.wikimedia.org/T173842

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Mholloway
Cc: LGoto, Charlotte, JoeWalsh, shinjiman, Yuriy_kosygin, Addshore, CXuesong, 
fantasticfears, cscott, gerritbot, Liuxinyu970226, cooltey, Dbrant, Mholloway, 
bearND, Tbayer, Aklapper, RHo, Confetti68, Akuckartz, Joye_Zhang, 
darthmon_wmde, VulpesVulpes825, Sunny00217, 94rain, Nandana, Hamishcn, Lahi, 
Gq86, Sharvaniharan, BJ6123C7BTD, schoenbaechler, Maggouri, Jcasariego, 
GoranSMilovanovic, lisong, Allthingsgo, QZanden, LawExplorer, _jensen, 
rosalieper, Taiwania_Justo, Scott_WUaS, LNDDYL, Fuzheado, Cwek, Wikidata-bugs, 
aude, zhuyifei1999, Shizhao, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to