Content deleted Content added
BrandonXLF (talk | contribs) Syncing sandbox code with main template (sync-template-sandbox.js) |
BrandonXLF (talk | contribs) fallback to next for to_diff and prev for to_oldid |
||
Line 32:
text = string.format("%s with [%s this edit]",text,diff)
elseif (to_oldid or to_diff) then
text = string.format("%s with [%s this edit]",text,tostring(mw.uri.fullUrl(to, {diff=to_diff
end
if not (date == "") then
Line 75:
text = string.format("%s ([%s diff])",text,diff)
elseif (args["to_oldid" .. i] or args["to_diff".. i]) then
local to_diff = args["to_diff".. i] or "
local to_oldid = args["to_oldid" .. i] or "prev"
text = string.format("%s ([%s diff])",text,tostring(mw.uri.fullUrl(to, {diff=to_diff, oldid = to_oldid} )))
end
|