Content deleted Content added
Avoid accidentally transcluding categories when linking pages for Merged-from Tag: Reverted |
Only apply wikilink escaping on automatically determined titles to avoid stacking colons onto manually escaped links |
||
(One intermediate revision by one other user not shown) | |||
Line 32:
end
if (to == "") then -- If no target given assume current page is the target
to = ":" .. mw.title.getCurrentTitle().subjectPageTitle.fullText
end
text = string.format("%s [[
local diff = args["diff"] or args["diff1"]
local to_diff = args["to_diff"] or args["to_diff1"]
Line 89:
local to = args["to".. i] or ""
if (to == "") then -- If no target given assume current page is the target
to = ":" .. mw.title.getCurrentTitle().subjectPageTitle.fullText
end
text = string.format("%s[%s history]) → [[
local diff = args["diff" .. i]
|