Module:Copied/sandbox: Difference between revisions

Content deleted Content added
Don't you love it when features are documented but not implemented?
 
bug fix
Line 71:
local diff = args["diff" .. i]
local to_oldid = args["to_oldid" .. i]
local to_diff = args["to_diff".. i] or ""
if (diff) then
text = string.format("%s ([%s diff])",text,diff)
elseif (to_oldid or to_diff) then
local to_diff = args["to_diff".. i] or ""
text = string.format("%s ([%s diff])",text,tostring(mw.uri.fullUrl(to, {diff=to_diff or "", oldid = to_oldid or ""} )))
end