Module:Sandbox/Ahecht/sandbox
Appearance
< Module:Sandbox | Ahecht
![]() | This is the module sandbox page for Module:Sandbox/Ahecht (diff). |
{{Module rating }}
Usage
{{#invoke:Sandbox/Ahecht/sandbox|main}}
Output
- Version: 1.45.0-wmf.3 (bd73486)
- $wgScriptPath: /w
- $wgServer: //en.wikipedia.org
- $wgSitename: Wikipedia
- $wgStylePath: /w/skins
- mw.site.stats:
- articles: 7003297
- admins: 839
- edits: 1289033582
- users: 49229574
- files: 937777
- pages: 63269748
- activeUsers: 116704
See also
- Sandbox/Ahecht
- Sandbox/Ahecht/Catalog lookup link
- Sandbox/Ahecht/Cite DNV
- Sandbox/Ahecht/Gridiron color
- Sandbox/Ahecht/benchmark
- Sandbox/Ahecht/cite
- Sandbox/Ahecht/doc
- Sandbox/Ahecht/flag
- Sandbox/Ahecht/flag/doc
- Sandbox/Ahecht/flag/redirects
- Sandbox/Ahecht/flag/redirects/doc
- Sandbox/Ahecht/interwiki
- Sandbox/Ahecht/interwiki/doc
- Sandbox/Ahecht/min
- Sandbox/Ahecht/modsandbox
- Sandbox/Ahecht/navboxtolua
- Sandbox/Ahecht/navboxtolua/doc
- Sandbox/Ahecht/sandbox
- Sandbox/Ahecht/sandbox2
- Sandbox/Ahecht/sandbox2/doc
- Sandbox/Ahecht/trim date
- Sandbox/Ahecht/url-access
- Sandbox/Ahecht/wikibase
local p = {}
local function _main(args)
return true
end
function p.main(frame)
local nameSpaces = ''
local siteStats = ''
for k,v in pairs(mw.site.stats) do if type(v) ~= 'function' then siteStats = siteStats .. '\n**' .. k .. ': ' .. v end end
local output = '*Version: ' .. mw.site.currentVersion .. '\n*$wgScriptPath: ' .. mw.site.scriptPath .. '\n*$wgServer: ' .. mw.site.server .. '\n*$wgSitename: ' .. mw.site.siteName .. '\n*$wgStylePath: ' .. mw.site.stylePath .. '\n*mw.site.stats: ' .. siteStats
return output
end
return p