Module:Sandbox/Ahecht/sandbox
< Module:Sandbox | Ahecht
Jump to navigation
Jump to search
Revision as of 15:15, 27 July 2017 by blackwiki>Ahecht (test)
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