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
-- if not args[param] then
count = count + 1
-- count = count + 1
end
-- 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
if self.categoryNums and #self.categoryNums > 0 then
-- templateCat = templateErrorCategory
templateCat = templateErrorCategory
-- templateSort = 'C'
templateSort = 'C'
-- end
end
end
end
self:addCat('template', templateCat, templateSort)
self:addCat('template', templateCat, templateSort)
Anonymer Benutzer