Module:Phabricator sitemap

From Guild of Archivists
Revision as of 07:26, 30 October 2015 by Alahmnat (talk | contribs) (1 revision imported)
(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