Module:Test

local cargo = mw.ext.cargo

return { go = function(frame)

local result = mw.ext.cargo.query('Exclusive', 'pagename, desktop, console, oldgen, mobile, 3ds, japanese', {			where = "pagename='soul of blight'",			orderBy = "cached DESC",			limit = 5000,		}) local str = '' local i = 1 for _, row in ipairs(result) do str = str .. i .. '. ' .. row['pagename'] .. ' '			i = i+1 end

return str end, go1 = function(frame)

local result = mw.ext.cargo.query('Exclusive', 'pagename, desktop, console, oldgen, mobile, 3ds, japanese', {			where = "pagename='soul of blight'",			orderBy = "cached DESC",			groupBy = 'pagename',			limit = 5000,		}) local str = '' local i = 1 for _, row in ipairs(result) do str = str .. i .. '. ' .. row['pagename'] .. ' '			i = i+1 end

return str end, }