Module:Copied: Difference between revisions

Content deleted Content added
spaces
cats
Line 155:
end
 
local function categories()
local to_oldid = args["to_oldid"] or args["to_diff"] or args["diff"]
local from_oldid = args["from_oldid"]
local text = "[[Category:Wikipedia pages using copied template]]"
if (not from_oldid) or (not to_oldid) then
text = text .. [[Category:Wikipedia pages using copied template without oldid]]
end
return text
end
function p.main(frame)
local args = getArgs(frame)
return renderBanner(args) .. categories(args)
end