Jarekt added a comment.

My take on the problem:

There are 2 ways of specifying preferred language of interface and templates on Commons:

  1. You use ?uselang=ar switch on URL of the given page
  2. You provide language through your preferences

The first take precedent over the second one. I assume that links like file page as seen from he.wiki follows mechanism similar to calling the file with uselang=he.

It seems like mw.wikibase.label() function handles calls from pages with ?uselang= differently than interface or commons templates taking precedent of language provided through your preferences over ?uselang= switch.


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

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

To: Jarekt
Cc: Raymond, Geagea, Jarekt, Aklapper, Zppix, zhuyifei1999, D3r1ck01, Izno, Wikidata-bugs, aude, Dinoguy1000, jayvdb, MrStradivarius, Anomie, Jackmcbarn, Mbch331
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to