Module:NUMBEROF: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 23:
local action = mw.ustring.lower(trimArg(args[1])) -- "ARTICLES, PAGES, EDITS, USERS, ACTIVEUSERS, ADMINS or FILES"
local arg2site = mw.ustring.lower(trimArg(args[2])) -- "en" or "en.wikipedia" or "en.wikiquite" etc..
local comma = trimArg(args[3]) -- If set to "N" use commas in output
local arg2splitsite2split = mw.text.split(arg2site, ".")
if tableLength(arg2splitsite2split) == 1 then
arg2site = arg2site .. ".wikipedia"
end
if 1 == 1 then
return arg2site
end