Module:Transclusion count: Difference between revisions

Jump to navigation Jump to search
Correction to tabulate function
m (1 revision imported)
(Correction to tabulate function)
Line 47: Line 47:
local data = mw.loadData('Module:Transclusion count/data/' .. ((i == 91) and 'other' or string.char(i)))
local data = mw.loadData('Module:Transclusion count/data/' .. ((i == 91) and 'other' or string.char(i)))
for name, count in pairs(data) do
for name, count in pairs(data) do
if not name:find(':') then
table.insert(list, {mw.title.new(name, "Template").fullText, count})
name = 'Template:' .. name
end
table.insert(list, {name, count})
end
end
end
end
Anonymous user

Navigation menu