trim colons in findNamespaceId by default
change format of _formatPageTables
Zeile 60: Zeile 60:
end
end


function p._formatPageTables(pages)
function p._formatPageTables(...)
-- Takes a list of page/display tables and returns it as a list of
-- Takes a list of page/display tables and returns it as a list of
-- formatted links. Nil values are not allowed.
-- formatted links. Nil values are not allowed.
checkType('_formatPageTables', 1, pages, 'table')
local pages = {...}
local links = {}
local links = {}
for i, t in ipairs(pages) do
for i, t in ipairs(pages) do