Module:Sandbox/ProcrastinatingReader/Dbm: Difference between revisions

Content deleted Content added
dumpfunc
construct
Line 7:
local current = ''
for k,v in pairs(args) do
if tonumber(k) ~= nil and string.match(v, '[GgAaFfCcUuRrTtPp]%d%d?') then
current = v
tbl[vcurrent] = {}
else
local arg = tablemw.inserttext.split(tbl[current]v, {[k] '= v}')
tbl[current][arg[1]] = arg[2]
end
end
Line 24 ⟶ 25:
end
 
return mw.dumpObject(tostring(out)tbl)
end