Module:Phabricator sitemap

From Guild of Archivists
Revision as of 10:59, 1 August 2015 by Alahmnat (talk | contribs) (Test)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation for this module may be created at Module:Phabricator sitemap/doc

local p = {}

function p.tasks( frame )
    local links = {}
    local i = 1
    repeat
        links[i] = "*[[phab:T" .. tostring(i) .. "]]"
        i = i + 1
    until i >= 100000
    return table.concat( links, "\n" )
end

return p