Content deleted Content added
Trialpears (talk | contribs) test |
Trialpears (talk | contribs) more |
||
Line 35:
end
local function mergeRow()
local text
return text
end
local function afdMergeRow()
local text
return text
end
local function copiedRow()
local text
return text
end
local function list(args)
local i=1
local text = ""
while True do
if i==1 then
index = ""
else
index = i
end
if type == "" then
break;
elseif type:lower() == "afd merge" then
text = text .. afdMergeRow(args, index)
elseif type:lower() == "merge" then
text = text .. mergeRow(args, index)
else
text = text .. copiedRow(args, index)
end
i = i + 1
end
return text
end
local function multiText(args)
local collapse = args["collapse"] or ""
local text = "Text has been copied to or from this"
if mw.title.inNamespace(1) then text = text .. else text = text .. page end text = text .. "see the list below. The source pages now serve to [[WP:Copying within Wikipedia|provide attribution]] for the content in the destination pages and must not be deleted so long as the copies exist. For attribution and to access older versions of the copied text, please see the history links below." if collapse == 'yes' then
text = text .. '<table style="width:100%; background: transparent;" class="collapsible collapsed">\n<tr><th>Copied pages:</th></tr>\n<tr><td>'
end
text = text ..
if collapse == 'yes' then
text = text .. '</td></tr></table>'
|