MassBlock provides a link to a modal (without changing location) which allows the user to list users to be blocked. As with conventional blocking, it requires administrator rights (or equivalent) to use.
For personal use, add the code snippet below to your global.js page (for use on all wikis) or your common.js page on your wiki (for use on a single wiki). Note that personal JS must be enabled for your account.
Note: In this example, pay close attention to the placement of commas and other punctuation. For people who aren't familiar with programming (and even those who are!), a common mistake when writing code is to accidentally delete, forget, or misplace critical symbols like commas or quotation marks. This can cause a syntax error that breaks the code. Carefully follow the convention shown here when using importArticles.
By default, the script will block one user per second. If you'd like to modify that, add the config massBlockDelay before importing the script with your own number (in milliseconds) instead.
The option to use the Mass Block script will appear in your toolbox on the left.
The option to use the Mass Block script will appear under your "My Tools" list (the toolbar at the bottom of your screen).
Please note you must not have the toolbar at the bottom hidden or the script will not function. If you do not see the "My Tools" (or other language equivalent), try clicking Customize and then "reset defaults" to not hide the "My Tools".