Manual:BlockUsers.php

blockUsers.php is a maintenance script located in the maintenance directory that can be used to block a batch of users.

Usage
(This will block the users contained in the text file "userlist.txt")