Module:User contrib/sandbox: Difference between revisions

Content deleted Content added
Create sandbox version of Module:User contrib
 
No edit summary
Line 113:
local url = 'https://xtools.wmflabs.org/ec/'.. project_site .. '?username=' ..urlencode(username)
local deleted, deletededitreverted, articles, automated, distinct, unique, images, insane = '','','','', '', '', '', ''
if args['deleted'] then deleted = ', over <b>' ..formatNumber(args['deleted'])..'</b> of which were to pages that are now deleted' end
if args['deletededit'] then deletededitreverted = ', over <b>' ..formatNumber(args['deletededit'])..'</b> of which were subsequently reverted' end
if args['articles'] then articles = ', over <b>' ..formatNumber(args['articles'])..'</b> of which were to articles' end
if args['automated'] then automated = ', over <b>' ..formatNumber(args['automated'])..'</b> of which were automated' end
if args['distinct'] then distinct = ', on over <b>' ..formatNumber(args['distinct'])..'</b> distinct pages' end
if args['unique'] then unique = ', on over <b>' ..formatNumber(args['unique'])..'</b> unique pages' end
if args['images'] then images = ', including over <b>' ..formatNumber(args['images'])..'</b> uploaded images' end
if args['insane'] then insane = ' and, as a result, may be slightly insane' end
if args['bot'] then user = 'bot' end
user_args['id-s'] = 12
Line 138:
.. automated
.. deleted
.. deletededit reverted
.. articles
.. distinct
Line 155:
.. automated
.. deleted
.. deletededitreverted
.. articles
.. distinct