Module:Sandbox/K6ka/RemoveLink

local getArgs = require('Module:Arguments').getArgs local p = {}

function p.getTargetFromText(frame) local text = frame.args[1] return string.match(frame, "^%[%[") end

function p.wrapInLink(frame) local args = getArgs(frame) local text = args[1] if(string.match(text, "^%[%[") ~= nil) then return text end

return text end

return p