Editing Module:Check for unknown parameters
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 35: | Line 35: | ||
end | end | ||
function p. | function p.check (frame) | ||
local args = frame.args | |||
local pargs = frame:getParent().args | |||
local ignoreblank = isnotempty(args['ignoreblank']) | local ignoreblank = isnotempty(args['ignoreblank']) | ||
local showblankpos = isnotempty(args['showblankpositional']) | local showblankpos = isnotempty(args['showblankpositional']) | ||
Line 89: | Line 86: | ||
-- add results to the output tables | -- add results to the output tables | ||
if #values > 0 then | if #values > 0 then | ||
if | if frame:preprocess( "{{REVISIONID}}" ) == "" then | ||
unknown = preview | unknown = preview | ||
end | end | ||
Line 105: | Line 102: | ||
return table.concat(res) | return table.concat(res) | ||
end | end | ||
return p | return p |