-- Utility functions for, which is a template that displays a link to open source software bug reports and feature requests on Wikipedia talk pages.
local p =
-- function p.getDomain(frame) local url = frame.args[1] local domain = string.gsub(url, "www%.", "") domain = string.match(domain, 'https?:%/%/(.-)%/.*$') return domainend
-- function p.getIssueNumber(frame) local url = frame.args[1] local issueNumber = string.match(url, '(%d+)/?$') if tonumber(issueNumber)
return p