Content deleted Content added
singleText talk logic |
row talk logic |
||
Line 55:
text = text .. "." -- Finish first sentence
text = string.format("%s The former page's [%s history] now serves to [[WP:Copying within Wikipedia|provide attribution]] for that content in the latter page, and it must not be deleted as long as the latter page exists.",text,tostring(mw.uri.fullUrl(from,{action="history"}) or ""))
if (args["talk"] == 'yes' or (mergedFrom == 'yes' and args["talk"] ~= 'no')) then
local fromTalk = string.format("%s:%s", "Talk", from)
text = string.format("%s For the discussion at that ___location, see its [[%s|talk page]].", text, fromTalk)
Line 80:
local talk = args["talk".. i] or ""
if (talk == "yes" or
text= string.format("%s[[%s:%s|talk]], ", text, "Talk", from)
end
|