571
edits
No edit summary |
(prova modifica priorità lingue (prima lingua dell'interfaccia)) |
||
Line 1: | Line 1: | ||
--[[ | --[[ | ||
__ __ _ _ __ ___ _ _ _ _ _ _ _ | |||
| \/ | ___ __| |_ _| | ___ \ \ / (_) | _(_) __| | __ _| |_ __ _ | | __ _| |__ ___| | | | \/ | ___ __| |_ _| | ___ \ \ / (_) | _(_) __| | __ _| |_ __ _ | | __ _| |__ ___| | | ||
| |\/| |/ _ \ / _` | | | | |/ _ (_) \ /\ / /| | |/ / |/ _` |/ _` | __/ _` | | |/ _` | '_ \ / _ \ | | | |\/| |/ _ \ / _` | | | | |/ _ (_) \ /\ / /| | |/ / |/ _` |/ _` | __/ _` | | |/ _` | '_ \ / _ \ | | ||
Line 268: | Line 268: | ||
if not lang then | if not lang then | ||
lang = mw.getCurrentFrame():callParserFunction("int","lang") -- get user's chosen language | |||
label = nil | |||
end | end | ||
if not lang then -- if still no language | if not lang then -- if still no language | ||
lang | label, lang = mw.wikibase.getLabelWithLang(item) | ||
end | end | ||
edits