Anonymous user
Module:Check for unknown parameters: Difference between revisions
Module:Check for unknown parameters (view source)
Revision as of 17:38, 23 March 2014
, 10 years agotest
(first stab at a generic arg checker) |
(test) |
||
Line 26:
-- loop over the parent args, and make sure they are on the list
for k,v in pairs(pargs) do
-- mw.ustring.gsub(unknown, '_VALUE_', tostring(k))
if (knownargs[k] == nil) then
table.insert(res,
end
end
|