模組:存檔至
外观
local p = {}
function p._main(args)
local targets = {}
local i = 1
while i <= 10 do
mw.log(i)
mw.log(args[i])
if args[i] ~= nil then
local page = mw.title.new( args[i] )
mw.logObject(page)
end
i = i + 1
end
return ''
end
function p.main(frame)
local args = {}
if frame.args.parent then
args = frame:getParent().args
else
args = frame.args
end
return p._main(args)
end
return p