How to batch remove spamming users and pages they created on MediaWiki?

Posted by Problemania on Pro Webmasters See other posts from Pro Webmasters or by Problemania
Published on 2014-08-22T00:50:10Z Indexed on 2014/08/22 4:27 UTC
Read the original article Hit count: 202

Filed under:
|
|

I'm trying to clean up a MediaWiki instance which has been subjected to spamming and vandalism for a period of time. The current status is that there are a large number of users which only created spam pages but typically not altered legitimate pages. And there is only < 10 users which I know are legitimate users and created a small number of legitimate pages. Abstractly, my idea of fixing the messy situation is to find the complete list of users that are not in that small set of legitimate users, and use RenameUser extension to rename them all to a Spammer user, and use Nuke extension to mass delete all pages it created. Any practical advice on how to proceed? Since there are hundreds of spammer users, how do I effectively rename them? It seems Renameuser extension does not support automated batch renaming of users by allowing users to be renamed with a list or file.

© Pro Webmasters or respective owner

Related posts about spam

Related posts about mediawiki