مۆدیوول:User script table row/data

لە ئینسایکڵۆپیدیای ئازادی ویکیپیدیاوە
بەڵگەدارکردنی مۆدیوول[دروست بکە]
local source = mw.title.new('ھیچ لینکێک بەردەست نەکراوە بۆ نیشاندانی زۆرترین ڕێژەی بەکارھێنەرانی سکرێپت'):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