Jump to content

Module:Sandbox/Lucas Thoms

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Northern Muriqui (talk | contribs) at 01:28, 31 August 2014 (Post-processing: done. Next: actual API.). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local p = {}
function p.count(frame)
	local username = frame.args[1] --for now api output should be passed
	local query = mw.uri.encode(username, QUERY)
	local result = username --for now, will eventually be changed to real result
	local decode = string.match(result, 't..(%d+)')
	return decode
end
return p