Module:Copied/sandbox: Difference between revisions

Content deleted Content added
omit talk ns
Line 72:
local to = args["to".. i] or ""
if (to == "") then -- If no target given assume current page is the target
toif = string.format("%s:%s",mw.title.getCurrentTitle().nsText,mw.title.getCurrentTitle().text) --If== no target given assume current page is the"Talk") targetthen
-- text to = string.format("%s",mw.title.getCurrentTitle().text,to)
-- else
-- text = string.format("%s",text,to)
to = string.format("%s:%s",mw.title.getCurrentTitle().nsText,mw.title.getCurrentTitle().text)
end
end
text = string.format("%s[%s history]) → [[%s]]",text,tostring(mw.uri.fullUrl(from, {action = "history"} )), to)