Modulo:Tracce/sandbox: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
mNessun oggetto della modifica
controllo per numeri troppo elevati
Riga 134:
local num = string.match(k, '%D([0-9]+)$')
if num and (num == '0' or num:sub(1,1) ~= '0') then
localif titolo =not args['Titolo' .. num] then
if not titolo then
categories[#categories+1] = missing_title
-- se il numero viene modificato da tonumber, è troppo alto
elseif k == 'Titolo' .. num and args['Titolo' .. tonumber(num)] then
table.insert(nums, tonumber(num))
end