Modulo:Bozza: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
+ |
+ |
||
Riga 19:
end
function p.
local text = getPageContent()
local pattern = '%{%{ *[Rr]ichiesta *revisione *bozza *%| *data *=[^%|%}]-%}%}'▼
if frame.args[1] == 'S' or frame.args[1] == 'A' then
if str:find('| *data *= *[^ %|%}]') and not str:find('%| *1? *=? *respinta *[%|%}]') then▼
end
▲ return 1
local declined = false
▲
if str:find('| *data *= *[^ %|%}]') then
return 'R'
end
declined = true
end
end
return declined and 'N' or ''
end
|