Documentation for this module may be created at Module:Namespaces/doc
local p = {}
function p.list(frame)
local out = {}
for id, ns in pairs(mw.site.namespaces) do
if id >= 0 and ns.name and ns.name ~= '' and not ns.isTalk then
table.insert(out, "* " .. ns.name)
end
end
table.sort(out)
return table.concat(out, "\n")
end
return p