Module:Copied/sandbox: Difference between revisions

Content deleted Content added
preserve old behaviour
test rm conditional on default 'to'
Line 25:
text = text .. " was copied or moved into"
end
if (merge == "yes") and (to == "") then
text = string.format("%s [[%s:%s]]",text,mw.title.getCurrentTitle().nsText,mw.title.getCurrentTitle().text) --If no merge target given assume current page is the target
else
text = string.format("%s [[%s]]",text,to)