Modulo:Bozza: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
+
parametro stato solo al di fuori del template Bozza; passo ts ultima revisione
Riga 111:
local submissions = getSubmissions({ current = {}, old = {} }, text)
local edited_by_reviewer = false
args[1] = lang:ucfirst(args[1] or args.stato or '')
 
if args[1]ns ~== 'S'118 then
if next(submissionsargs.current)sposta then
args[1] = 'S'
elseif next(submissions.current) then
args[1] = 'R'
elseif next(submissions.old) and args[1] ~= 'A'.motivo then
args[1] = 'A'
elseif next(submissions.old) then
args[1] = 'N'
else
args[1] = ''
end
else
args[1] = lang:ucfirst(args[1] or args.stato or '')
end
 
Line 160 ⟶ 167:
end
if i == 1 and not hide_last_submission then
args['ts ultima revisione'] = ts
submission = submission:gsub('%}%}$', '|mostra pulsante=x}}')
end