Thread:Extension talk:User Merge and Delete/Mass merging?/reply (6)

Thanks Viswaprabha! Here is below a Python script to concatenate the pieces above and produce the html page to use with DownThemAll! '''By the way, in my case the URL string that worked uses 'Special:UserMerge&olduser=', with an & in that part instead of the ? in your example. '''
 * 1) Concatenate a list of users to produce URLs which delete them using UserMerge Extension for MediaWiki
 * 2) Usage:  python concatenate_UserMerge_MediaWiki.py userslist.txt > userURLlist.html

import sys

input = open(sys.argv[1]) count = input.readlines g = len(count) input.close

print " "

input = open(sys.argv[1])

for k in range(g): line = input.readline print "User URL Link"

input.close

print " "