Content deleted Content added
Trialpears (talk | contribs) more |
Trialpears (talk | contribs) some progress |
||
Line 3:
local p = {}
local function singleText(args)
local from_oldid = args["from_oldid"] or args["from_oldid1"] or ""
local from = args["from"] or args["from1"] or ""
local to_diff = args["to_diff"] or args["to_diff1"] ""
local diff = args["diff"] or args["diff1"] or ""
local to_oldid = args["to_oldid"] or args["to_oldid1"] or ""
local to = args["to"] or args["to1"] or ""
local date = args["date"] or args["date1"] or ""
local afd = args["afd"] or args["afd1"] or ""
local merge = args["merge"] or args["merge1"] or ""
local text = "Text and/or other creative content from "
if not (from_oldid == "") then
Line 16 ⟶ 17:
end
text = text .. "[[" .. from .."]]"
else
text = text .. " was copied or moved into "
end ▼
if (merge == "yes") and to == "" then
text = text .. mw.title.getCurrentTitle().nsText .. ":" .. mw.title.getCurrentTitle().text
else
end ▼
text = text .. "]] "
if not (diff == "") then
text = text .. "with [" .. diff .. " this edit]"
Line 35 ⟶ 46:
end
local function
local text▼
▲end
▲end
local text
return text
Line 51 ⟶ 52:
local function list(args)
local text = ""
local from = args["from"] or args["from1"] or ""
while True do▼
if i==1 then ▼
text = text .. row(args,0)
index = ""▼
text = text .. row(args,1)
▲ if type == "" then
text = text ..
▲ text = text .. mergeRow(args, index)
else
▲ text = text .. copiedRow(args, index)
end
end
return text
|