Content deleted Content added
Trialpears (talk | contribs) You should assume prev not current |
Trialpears (talk | contribs) better? |
||
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 or "prev", oldid = to_oldid or ""} )))
end
Line 70 ⟶ 72:
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 (args["to_oldid" .. i] or args["to_diff".. i]) then
local to_diff = args["to_diff".. i] or "prev"
text = string.format("%s ([%s diff])",text,tostring(mw.uri.fullUrl(to, {diff=to_diff or "prev", oldid = to_oldid or ""} )))▼
local to_oldid = args["to_oldid" .. i] or ""
▲ text = string.format("%s ([%s diff])",text,tostring(mw.uri.fullUrl(to, {diff=to_diff
end
local date = args["date" .. i]
|