Jump to content

Module:Check for unknown parameters: Difference between revisions

no edit summary
m>Frietjes
No edit summary
m>Frietjes
No edit summary
Line 16: Line 16:
for k, v in pairs(args) do
for k, v in pairs(args) do
if type(k) == 'number' then
if type(k) == 'number' then
v = mw.ustring.gsub(v, '^%s*(.-)%s*$', '%1')
knownargs[v] = 1
knownargs[v] = 1
else
else
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.