Addshore added a comment. |
In T173842#3658746, @Mholloway wrote:For the mobileview API, this is the method I think we'd need to update for variant support: https://github.com/wikimedia/mediawiki-extensions-MobileFrontend/blob/27599dfbdaecf1ca0a12164e648a14facefd00d2/includes/MobileFrontend.body.php#L189-L209
Yup, it looks like this needs to be updated to also account for the user language variant, currently it just uses the site content language.
This description is used in onOutputPageParserOutput (not sure if the stuff there is cached), might require a cache split based on user content language variant (not sure if it is already split on that)?
Should be a pretty smallish patch to #mobilefrontend
TASK DETAIL
EMAIL PREFERENCES
To: cooltey, Addshore
Cc: Addshore, CXuesong, fantasticfears, cscott, gerritbot, Liuxinyu970226, cooltey, Dbrant, Mholloway, bearND, Tbayer, Aklapper, RHo, Charlotte, Lahi, Gq86, Hello903hello, Sharvaniharan, BJ6123C7BTD, Maggouri, Jcasariego, GoranSMilovanovic, lisong, RazeSoldier, QZanden, LawExplorer, Taiwania_Justo, LNDDYL, Fuzheado, Cwek, Wikidata-bugs, aude, zhuyifei1999, Shizhao, Mbch331
Cc: Addshore, CXuesong, fantasticfears, cscott, gerritbot, Liuxinyu970226, cooltey, Dbrant, Mholloway, bearND, Tbayer, Aklapper, RHo, Charlotte, Lahi, Gq86, Hello903hello, Sharvaniharan, BJ6123C7BTD, Maggouri, Jcasariego, GoranSMilovanovic, lisong, RazeSoldier, QZanden, LawExplorer, Taiwania_Justo, LNDDYL, Fuzheado, Cwek, Wikidata-bugs, aude, zhuyifei1999, Shizhao, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs