Jarekt added a comment. |
It is still not working right. I just set my preferred language to Polish and executed lua code with
- mw.message.new( "lang" ):plain()
- mw.message.getDefaultLanguage():getCode()
botch returned "en" instead of "pl". at the same time call to message "{{int:lang}}" without LUA returns correctly "pl"
TASK DETAIL
EMAIL PREFERENCES
To: hoo, Jarekt
Cc: gerritbot, Zppix, Jarekt, Geagea, Raymond, zhuyifei1999, aude, daniel, hoo, Zolo, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Mbch331
Cc: gerritbot, Zppix, Jarekt, Geagea, Raymond, zhuyifei1999, aude, daniel, hoo, Zolo, Aklapper, D3r1ck01, Izno, Wikidata-bugs, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs