Jarekt added a comment.
@matej_suchanek Sorry for nit-picking but that second sentence is in documentation of ` mw.wikibase.getLabel` function, and I did not noticed it when I was reading documentation of `mw.wikibase.getLabelWithLang`. There is a link to the other function, so it should not have been hard to find. So if `mw.wikibase.getLabelWithLang` function returns " Wiki's language (on monolingual wikis) or the user's language (on multilingual Wikis)", we would have to decide on behavior of our hypothetical new `mw.language.getUserLanguage()` function on monolingual wikis. I do not have strong opinions one way or the other. In one hand If I am looking at a page in some wiki, where I do not know the language, it is nice if some parts show up in languages I know, but on the other hand other wiki's templates might not be handling such cases correctly. TASK DETAIL https://phabricator.wikimedia.org/T68051 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jarekt Cc: matej_suchanek, Want, Perhelion, IKhitron, Iniquity, Dvorapa, daniel, Ricordisamoa, Capankajsmilyo, zhuyifei1999, Jackmcbarn, Liuxinyu970226, Rama, Jarekt, Multichill, Aklapper, Rical, Nemo_bis, Anomie, He7d3r, tstarling, wikibugs-l-list, vvv, darthmon_wmde, Nandana, Lahi, Gq86, Af420, GoranSMilovanovic, QZanden, LawExplorer, SundanceRaphael, _jensen, rosalieper, Scott_WUaS, MuhammadShuaib, LNDDYL, Psychoslave, Wikidata-bugs, aude, Dinoguy1000, jayvdb, MrStradivarius, Arrbee, KartikMistry, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
