Content deleted Content added
reset |
try this |
||
Line 824:
---------------------------
local parent_args = args_module.getArgs(frame, {parentOnly = true})
local parameters = {}
for parameter in banner_name:getContent():gmatch('{{{([^|}]+)') do
table.insert(parameters, parameter)
end
if check_for_unknown(parameters, parent_args) then-- there are some unknown parameters
if not mw.title.new(unknown_category).exists then
▲ unknown_category = cfg.unknown_parameters.default
unknown_category = cfg.unknown_parameters.default
end
parameters.unknown = unknown_category and '[[' .. unknown_category .. '|_VALUE_]]' or ''▼
return check_for_unknown(parameters, parent_args)
end
▲parameters.unknown = unknown_category and '[[' .. unknown_category .. '|_VALUE_]]' or ''
▲return require('Module:Check for unknown parameters')._check(parameters, parent_args)
end
|