Module:Copied: Difference between revisions

Content deleted Content added
test
test
Line 29:
text = string.format("%s [[%s]]",text,to)
end
if not (diff == "") then
text = string.format("%s with [%s this edit] DIFF",text,diff)
elseif (to_oldid) then
Line 46:
text = string.format("%s.",text) -- Finish first sentance
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 so long as the latter page exists.",text,tostring(mw.uri.fullUrl(from,{action="history"}) or ""))
text= text ..tostring(mw.uri.fullUrl(to,{diff=to_diff, oldid=to_oldid} ))
return text
end
Line 161 ⟶ 160:
local text = "[[Category:Wikipedia pages using copied template]]"
if ((not from_oldid) or (not to_oldid)) then
text = text string.. format("%s[[Category:Wikipedia pages using copied template without oldid]]",text)
end
return text