Module:Test

-- This module is to test the ability to expose our wiki articles in JSON format, like an API

local p = {} -- datatype: table

function p.get( frame ) if frame.args[1] == nil then return "Please provide an article title." end return "You requested the article '" .. frame.args[1] .. "' in JSON format." end

return p