-- username = frame.args[1] --local queryname = mw.uri.encode( name, QUERY ) local url = mw.uri.fullUrl("Main Page") local p = {} function p.test(username) return 'User name is ' ..mw.uri.encode( username, QUERY ).. '. Site is ' ..tostring(url)..'' end return p