Content deleted Content added
sync to live module |
fix for Template talk: |
||
Line 31:
text = text .. " was copied or moved into"
end
if (to == "") then -- If no target given assume current page is the target
text = string.format("%s [[%s]]",text,to)▼
▲ end
local diff = args["diff"] or args["diff1"]
local to_diff = args["to_diff"] or args["to_diff1"]
Line 61 ⟶ 56:
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 =
text = string.format("%s For the discussion at that ___location, see its [[%s|talk page]].", text, fromTalk)
end
Line 86 ⟶ 81:
local talk = args["talk".. i] or ""
if (talk == "yes" or (args["mergedFrom"] == 'yes' and talk ~= "no")) then
local fromTalk = mw.title.new(from).talkPageTitle.fullText
end
local to = args["to".. i] or ""
if (to == "") then -- If no target given assume current page is the target
▲ end
text = string.format("%s[%s history]) → [[%s]]",text,tostring(mw.uri.fullUrl(from, {action = "history"} )), to)
|