Module:ExtractOldid

-- Module:ExtractOldid local p = {}

function p.getOldid(frame) local url = frame.args['evaluated-url'] if not url then return "URL not provided" end local oldid = url:match("oldid=(%d+)") if oldid then return oldid else return "oldid not found" end end

return p