Page MenuHomePhabricator

Create maintenance script to block a list of users
Closed, ResolvedPublic

Description

It'd be useful if there was a MW maintenance script that you could block a (stdin/text file) list of users with

Event Timeline

FWIW, there's an on-wiki gadget for that. It may (or may not) be useful to implement it as a special page, instead of a maintenance script.

FWIW, there's an on-wiki gadget for that. It may (or may not) be useful to implement it as a special page, instead of a maintenance script.

As is the Wikimedia Way, there are many of them ;)

I would suspect there's probably scope to do multiple solutions. In some cases, a GUI is nice, in other cases, a simple maintenance script is nice

While the gadget solves some problems.. It doesn't solve the list building aspect, unfortunately...

It would be nice to have some sort of "mass block" or multi block interface on Special:Block

Then looking to populate that from places like user lists (select many, click to block)

Change 575374 had a related patch set uploaded (by Reedy; owner: Reedy):
[mediawiki/core@master] Add a maintenance script to block a list of users

https://gerrit.wikimedia.org/r/575374

FWIW, there's an on-wiki gadget for that. It may (or may not) be useful to implement it as a special page, instead of a maintenance script.

As is the Wikimedia Way, there are many of them ;)

No doubt about that.

I would suspect there's probably scope to do multiple solutions. In some cases, a GUI is nice, in other cases, a simple maintenance script is nice

Agreed... For instance because blocks can be customized in tons of ways (which is easy with a GUI); but sometimes, you just need a quick tool to issue "obvious" blocks.

It would be nice to have some sort of "mass block" or multi block interface on Special:Block

I'm for the "mass block" option as a standalone special page.

Change 575374 merged by jenkins-bot:
[mediawiki/core@master] Add a maintenance script to block a list of users

https://gerrit.wikimedia.org/r/575374

Reedy claimed this task.