Modulo:Citazione/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m riporta alla versione corrente
Riga 15:
Caricamente delle tabelle di configurazione del modulo.
===============================================================================]]
local cfg = mw.loadData( 'Modulo:Citazione/Configurazione/sandbox');
 
--[[ ===============================================================================
Riga 1 385:
else
local frame_lingue = {return_error='true', usacodice='sì'}
iffor nillingua ==in mw.ustring.findgmatch( Language, ',', 1, true "%S+") thendo
frame_lingue[#frame_lingue+1] = lingua
-- for historical reasons, when there are no commas, a space have to be used as separator
-- TODO: verify that the whole string exists as single language
for lingua in mw.ustring.gmatch(Language, "%S+") do
frame_lingue[#frame_lingue+1] = lingua
end
else
-- CSV
for lingua in mw.text.gsplit( Language, ',', true ) do
lingua = mw.text.trim( lingua )
if '' ~= lingua then
frame_lingue[#frame_lingue+1] = lingua
end
end
end
if #frame_lingue > 1 or (#frame_lingue==1 and frame_lingue[1]:lower()~="it") then