Module:User contrib/sandbox: Difference between revisions

Content deleted Content added
No edit summary
added url parameter
Line 105:
local user_args = {}
if not args['url'] then
local language = ''
local language = ''
if args['lang'] then
language = 'the '.. args['lang'] ..' '
end
local project = args['project'] or 'Wikipedia'
local project_site = args['projsite'] or 'en.wikipedia.org'
local user = 'user'
local username = args[2] or mw.title.getCurrentTitle().baseText
local url = 'https://xtools.wmflabs.org/ec/'.. project_site .. '?username=' ..urlencode(username)
else
local url = args['url']
end
local deleted, reverted, articles, automated, distinct, unique, images, insane = '','','','', '', '', '', ''