Module:Sandbox/Nardog/14d

Revision as of 21:07, 8 April 2021 by imported>Nardog
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Sandbox/Nardog/14d/doc

local source = mw.title.new('Wikipedia:User scripts/Most imported scripts'):getContent()
local t = {}

for script, total, active in mw.ustring.gmatch(source, '\n%| %[%[([^%]]+)%]%] -\n%| (%d+) -\n%| (%d+)') do
	t[script] = { total = tonumber(total), active = tonumber(active) }
end

return t