Module:Sandbox/Ahecht/sandbox

From blackwiki
< Module:Sandbox‎ | Ahecht
Revision as of 15:15, 27 July 2017 by blackwiki>Ahecht (test)
Jump to navigation Jump to search

Documentation for this module may be created at Module:Sandbox/Ahecht/sandbox/doc

local p = {}

local function _main(args)
	return true
end

function p.main(frame)
	local output = '*Version: ' .. mw.site.currentVersion[edit] .. '\n*$wgScriptPath: ' .. mw.site.scriptPath() .. '\n*$wgServer: ' .. mw.site.server() .. '\n*$wgSitename: ' .. mw.site.siteName() .. '\n*$wgStylePath: ' .. mw.site.stylePath()
	return output
end

return p