Modul:Message box: Unterschied zwischen den Versionen
K
bug?
(unsicher, was das eigentlich macht ....) |
K (bug?) |
||
| Zeile 370: | Zeile 370: | ||
local paramsToCheck = cfg.templateErrorParamsToCheck or {} | local paramsToCheck = cfg.templateErrorParamsToCheck or {} | ||
local count = 0 | local count = 0 | ||
for i, param in ipairs(paramsToCheck) do | -- for i, param in ipairs(paramsToCheck) do | ||
-- if not args[param] then | |||
-- count = count + 1 | |||
-- end | |||
end | -- end | ||
if count > 0 then | if count > 0 then | ||
templateCat = templateErrorCategory | templateCat = templateErrorCategory | ||
templateSort = tostring(count) | templateSort = tostring(count) | ||
end | end | ||
if self.categoryNums and #self.categoryNums > 0 then | |||
templateCat = templateErrorCategory | |||
templateSort = 'C' | |||
end | |||
end | end | ||
self:addCat('template', templateCat, templateSort) | self:addCat('template', templateCat, templateSort) | ||