Module:RecursiveSelectiveList
Documentation for this module may be created at Module:RecursiveSelectiveList/doc
local p = {}
local mw = require('mw')
function p.main(frame)
-- Hardcode a test page
local pageName = "Jonathan Reed"
local pageContent = mw.title.new(pageName):getContent()
if not pageContent then
return "Error: The page '" .. pageName .. "' does not exist or has no content."
end
return pageContent
end
return p