Module:Sandbox/Aidan9382/Link once: Difference between revisions

Content deleted Content added
better redirect following logic and avoid checking titles multiple times if possible
if given nothing, give nothing back
Line 88:
local function main(frame) -- Template entry point
local args = require('Module:Arguments').getArgs(frame)
return linkOnce(args[1] or "", {
follow_redirects = yesno(args.follow_redirects) or false,
})