Skip to content

Instantly share code, notes, and snippets.

@mbr0wn
Last active August 4, 2017 17:03
Show Gist options
  • Save mbr0wn/ee673221994c285bee1cda64b0240214 to your computer and use it in GitHub Desktop.
Save mbr0wn/ee673221994c285bee1cda64b0240214 to your computer and use it in GitHub Desktop.
Mass-deleting users on mediawiki

Haven't gotten very far with this. Best approach so far was call a script to open:

https://$URL/index.php/Special:UserMerge?wpolduser=$user&wpnewuser=Anonymous&wpdelete=1

...where $user is the old username. Needs to be escaped, obv.

I called this through firefox, so I inherit the session cookie.

@mbr0wn
Copy link
Author

mbr0wn commented Aug 4, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment