Module:Copied/sandbox: Difference between revisions

Content deleted Content added
m woops
Tag: Reverted
m Reverted edits by MJL (talk) to last version by Chlod
Line 1:
local MessageBox = require('Module:Message box')
 
local mSectionLink = require('Module:Section link/sandbox')
 
local p = {}
Line 7:
local from_oldid = args["from_oldid"] or args["from_oldid1"] or ""
local from = args["from"] or args["from1"] or ""
local fromlink = mSectionLink._alt(from)
local to = args["to"] or args["to1"] or ""
local date = args["date"] or args["date1"] or ""
Line 16 ⟶ 15:
text = string.format("%s [%s this version] of", text, tostring(mw.uri.fullUrl(from, {oldid=from_oldid} )))
end
text = string.format("%s [[%s]]",text,fromlinkfrom)
if (merge == "yes") or not (afd == "") then
text = string.format("%s was merged into",text)