Page MenuHomePhabricator

Provide mw.wikibase.getLang
Closed, DuplicatePublic


On all sorts of nice functions are offered, but a simple function to get the user language seems to be missing. Should be quite straightforward to implement mw.wikibase.getLang . Currently things like "args.lang = frame:callParserFunction( "int", "lang" ) -- get user's chosen language" are being used to achieve this result.