Documentation for this module may be created at Module:Page reports/sandbox/doc
--In development. See Template:Page reports.
local p = {};
function p.demo( frame )
local topic = frame.args[1]
local abcd = frame.args.abc
local jobtopic
local nr_of_pages
local datafile = 'Module:Page reports/data/' .. topic
local job = mw.loadData( datafile )
jobtopic = job.topic
nr_of_pages = job.page2_pages
return "hello world" .. ' ' .. abcd .. ' ' .. topic .. ' ' .. datafile .. ' == ' .. nr_of_pages .. ', ' .. jobtopic
end
return p