Module:Copied/sandbox: Difference between revisions

Content deleted Content added
row talk logic
mergedFrom text
Line 12:
local merge = args["merge"] or args["merge1"] or ""
local mergedFrom = args["mergedFrom"] or ""
local text
local text = "Text and/or other creative content from"
if (mergedFrom == 'yes') then
text = "Text from"
else
local text = "Text and/or other creative content from"
end
if not (from_oldid == "") then
text = string.format("%s [%s this version] of", text, tostring(mw.uri.fullUrl(from, {oldid=from_oldid} )))