Modulo:Bio: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
m categoria
m parametri addAvviso
Riga 37:
 
table.insert(errorTable, text)
if category and mw.title.getCurrentTitle().namespace == 0 then
table.insert(errorTable, string.format("[[Categoria:%s]]\n", cfg.categorie[category]))
end
Riga 147:
if not self:_checkParamValue(retArgs[validator.param], validator.valuetest, retArgs) then
if validator.errmsg then
addAvviso(cfg.warningParams.testo:gsub("$1", validator.errmsg), nil"wrong-params")
end
if mw.title.getCurrentTitle().namespace == 0 then
table.insert(errorTable, string.format("[[Categoria:%s]]\n", cfg.categorie["wrong-params"]))
end
end