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