Module:Fallback: Difference between revisions

riga 53
m (1 revision imported: importazione Module:Fallback per sparql)
(riga 53)
Tag: Reverted
Line 51: Line 51:
lang = frame:preprocess( "{{int:lang}}" )
lang = frame:preprocess( "{{int:lang}}" )
end
end
if lang == '' then lang = 'it' end -- Stefano Bargioni 2023-07-18
local str, language = p._langSwitch(args, lang)
local str, language = p._langSwitch(args, lang)
return str -- get the first value of the langSwitch, (the text) not the second (the language)
return str -- get the first value of the langSwitch, (the text) not the second (the language)
Bureaucrats, emailconfirmed, Administrators
3,078

edits