Jump to content

Module:ExtensionJson/testcases

From mediawiki.org
local datalist = require("Module:ExtensionJson")
local p = {}

function p.showall(frame)
    local item={}
    local n=0

    for k,v in pairs(datalist) do
        n=n+1
        item[n]='# [[Extension:' .. k .. ']]\n'
    end
    table.sort(item)
    items=table.concat(item)
    return items
end
    
return p