Module:Check for unknown parameters: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
சி en:Module:Check_for_unknown_parameters இலிருந்து திருத்தங்கள் இறக்குமதி செய்யப்பட்டன
Added entry point for modules per talk page discussion. Report any errors on talk page.
வரிசை 35:
end
 
function p.check _check(frameargs, pargs)
if type(args) ~= "table" or type(pargs) ~= "table" then
local args = frame.args
-- TODO: error handling
local pargs = frame:getParent().args
return
end
 
local ignoreblank = isnotempty(args['ignoreblank'])
local showblankpos = isnotempty(args['showblankpositional'])
வரி 86 ⟶ 89:
-- add results to the output tables
if #values > 0 then
if framemw.getCurrentFrame():preprocess( "{{REVISIONID}}" ) == "" then
unknown = preview
end
வரி 102 ⟶ 105:
 
return table.concat(res)
end
 
function p.check(frame)
local args = frame.args
local pargs = frame:getParent().args
return p._check(args, pargs)
end
 
"https://tamilar.wiki/w/Module:Check_for_unknown_parameters" இலிருந்து மீள்விக்கப்பட்டது