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

Content deleted Content added
better comments
turn on title resolving by default
Line 58:
%[%[.-%]%] wouldn't work for the exact same testcase for other reasons
--]=]
local options = options or {follow_redirects=true}
local newText = {}
local scannerPosition = 1
Line 128:
local args = require('Module:Arguments').getArgs(frame)
return linkOnce(args[1] or "", {
follow_redirects = yesno(args.follow_redirects) or falsetrue,
})
end