Jump to content

Module:Tracked in

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Novem Linguae (talk | contribs) at 11:50, 26 November 2021 (debug). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

-- Draft. Will be used in {{Tracked in}} once this is finished.
-- {{#invoke:Tracked in|getDomain}}

local p = {} --p stands for package

function p.getDomain(url)
    return url
    --local domain = string.gsub(url, "www%.", "")
    --domain = domain:match('https?:%/%/(.*?)%/.*$')
    --return domain
end

function p.getIssueNumber(url)
    return "Hello world"
end

return p