Module:Copied: Difference between revisions

Content deleted Content added
test
test
Line 15:
local merge = args["merge"] or args["merge1"] or ""
local text = "Text and/or other creative content from"
if not (from_oldid == "") then
text = string.format("%s [%s this version] of", text, tostring(mw.uri.fullUrl(from, {oldid=from_oldid} )))
end
Line 31:
if not (diff == "") then
text = string.format("%s with [%s this edit] DIFF",text,diff)
elseif not (to_oldid == "") then
text = string.format("%s with [%s this edit]",text,tostring(mw.uri.fullUrl(to, {diff=to_diff, oldid = to_oldid} )))
end
if not (date == "") then
text = string.format("%s on %s",text,date)
end
if not (afd == "") then
if (mw.ustring.match(afd, "Wikipedia:", 1 )) then --If no venue is given add AfD prefix
text = string.format("%s after being [[%s|nominated for deletion]]",text,afd)