Wikipedia:Administrators' guide/Blocking

Blocks exist to protect the project from harm, and reduce likely future problems. Appropriate use of a block can help prevent imminent problematic conduct and disruption to Wikipedia.

When not to block
Do not block someone where you have, or may seem to have, a conflict of interest with regard to the editor in question or the topic in dispute – known as being "involved". This is generally construed very broadly by the community, to include current or past conflicts with an editor (or editors) and disputes on topics, regardless of the nature, age, or outcome of the dispute. However, issuing warnings, calm and reasonable discussion and explanation of those warnings, advice about communal norms, and suggestions on possible wordings and approaches, do not make an administrator 'involved'.

In cases which are straightforward, (e.g. blatant vandalism), the community has historically endorsed the obvious action of any administrator – even if involved – on the basis that any reasonable administrator would have probably come to the same conclusion. When in doubt, however, raise the matter at the relevant noticeboard and let other administrators take action, if appropriate.

Remember that even if you issue a block in a completely uninvolved, non-partisan manner and perfectly in-line with policy and past precedent, you are stopping another person from being able to contribute to the world's largest encyclopedia project, and they are unlikely to react to the block positively. If you have any doubts - don't block.

[[Image:Admin mop.PNG|25px| ]]When to block
One critical point to remember is that we block users to protect the encyclopedia from harm; blocks should not be punitive. Blocks are most often used for:
 * persistent vandalism;
 * 3RR violations;
 * persistent gross incivility;
 * persistent harassment;
 * persistent spamming;
 * edit warring or revert warring;
 * breaching the sock puppetry policy;
 * persistently violating other policies or guidelines;
 * persistently making personal attacks;
 * making personal, professional or legal threats (including outside the Wikipedia site);
 * persistently posting material contrary to the biographies of living persons policy;
 * accounts that appear to have been compromised, as an emergency measure.

Blocking may be used in other situations (not just the above), where particular situations are addressed by more specific policies dealing with particular issues.

Blocks sometimes are used to allow discussions (such as AfD discussions) to proceed without interruption. The block length is usually based on how long you think the block needs to be in place to protect the encyclopedia. 31 hours is the standard duration for most blocks. Edit warring blocks (including WP:3RR) are usually 24 hours (some administrators prefer 31 hours). Registered sockpuppet accounts receive indefinite blocks, however, IP sockpuppet accounts only receive temporary blocks. Discussion blocks might last long enough to conclude the discussion. If you use Twinkle to block, it will automatically supply the standard durations based on the preset chosen.

Blocks are most often used after a user continues to vandalize despite repeated warnings. Such blocks generally are imposed when a user continues to vandalize after a final warning (corresponding to a level 4 warning template) but this is a guideline, not a hard and fast rule. Template warnings are often used but are not required. Single purpose accounts or vandalism-only accounts may warrant blocking with fewer warnings. In cases of gross or extreme vandalism a warning is not needed at all, such as in the case of promotion of hate and racism, or uploading shock images. Some users will deserve only one warning, others more warnings. Decide on the severity of the behavior and the likelihood of salvaging a good user. No hard and fast rule will do; use your good judgment.

[[Image:Admin mop.PNG|25px| ]]When to unblock
You must not unblock any user who has been blocked as a CheckUser, Oversight, or Arbitration Committee action, as this can result in the removal of your admin rights, even for a first-time offense. You may want to consider unblocking a user in a number of circumstances. These can include:
 * The blocked user writing an appropriate unblock request
 * The block has been discussed on the Administrators' noticeboard or the Administrators' noticeboard for incidents and you believe there is a consensus to unblock
 * The user wants to take the standard offer

Administrators should not normally unblock users blocked in good faith by another administrator. If you plan on undoing another admin's block, ask them to consider unblocking first. The blocking administrator may have further information and history (e.g.,: action taken at WP:ANI or WP:AE) that is not immediately visible on an unblock request. If that is not possible (e.g.,: if the blocking admin has since retired) and there is good reason to unblock, notify the original blocking admin and consider posting a note at WP:AN to let other administrators review your intended actions. This will prevent wheel warring which would otherwise escalate into a dispute.

If you think the blocking administrator has a conflict of interest, you should still assume good faith that the block is correct, and discuss it at WP:AN.

[[Image:Admin mop.PNG|25px| ]]How to block
Blocking a user is accomplished by filling out the blocking form. For the purposes of this guide we will use this form provided by the MediaWiki software. However, in practice you may more often use semi-automated tools for blocking such as Twinkle, which can make the process considerably easier, and add an appropriate message to the user's talk page that explains why they have been blocked, and how to appeal.

The blocking form can seem complicated at first with all of its checkboxes and options; however, once you understand what these options do, it is easy to determine which are needed and which aren't. Below is a step by step guide on how to make blocks to different groups of users. Follow the instructions through and then block the users as the guide says.

Yes, it's fine for you to block User:ThisIsaTest, User:192.0.2.16, User:2001:DB8:10:0:0:0:0:1 and User:Keegagan !!

Note: '' After you are done, please make sure to unblock the users/IPs that you have test-blocked and removed the block messages from their talk page so that these steps may be repeated by the next Admin. ''

Admin mop.PNG blocks/unblocks
User:ThisIsaTest has been causing massive disruption since he created his account 5 minutes ago. He has sequentially received the four warnings uw-vandalism1, uw-vandalism2, uw-vandalism3, and uw-vandalism4 (which is more than adequate warning), yet he still continues his rampage. With his continued rampage after adequate warning, he needs to be blocked to stop any further disruption.


 * 1) View ThisIsaTest's talk page, verify that they have been adequately warned and that the warnings are recent.
 * 2) Click on ThisIsaTest's contributions.
 * 3) Verify that ThisIsaTest has continued to vandalize after being adequately warned.
 * 4) Directly under the title you should see "talk" among other links – click on block. This will bring you to ThisIsaTest's blocking form. (see diagram on the right)
 * 5) Scroll to the bottom of the blocking form page, you will see the blocking form that is to be filled in. The username of the user to be blocked should already be there.
 * 6) Click on the Expiry: drop down menu – as ThisIsaTest is a vandalism-only account, select indefinite.
 * 7) *directly underneath this drop down menu, you can specify your own length of block. You can type in just about anything here e.g. 1 week, 2 months, 71 hours etc., or enter a specific end date (useful if modifying an existing block) – use either the drop down menu, or type your own length in, not both.
 * 8) Click on the Reason: drop down menu – select Vandalism only account (you may use the other reasons in different situations as well as enter a custom reason in the D field).
 * 9) You then come to several check boxes:
 * 10) *Block account creation stops the user from creating a new account for 24 hours after the block is made – this typically should be left .
 * 11) *Block user from sending e-mail prevents the user from sending email – this should be left  unless the blocked user abuses the email function.
 * 12) *Prevent this user from editing their own talk page while blocked self-explanatory – this should be left unless the blocked user disruptively edits their talk page or posts unblock abuse.
 * 13) *Autoblock any IP addresses used blocks all IP addresses the editor may use in the future whilst blocked. Autoblocks last for 24 hours, except in the case of dynamic IP pools such as those used by residential ISPs – this typically should be left .
 * 14) *Watch this user's user and talk pages adds the blocked user's page to your watchlist – you may wish to tick this checkbox to be informed if the user adds an unblock rationale on their talk page.
 * 15) Now click Block.
 * 16) Leave {{subst:uw-voablock}} on ThisIsaTest's talk page to explain that he has been indefinitely blocked.

User:ThisIsaTest's block settings may need to be changed.

User:ThisIsaTest now says he is sorry – no, he says he is really sorry and has waited six months (per the standard offer) and you wish to unblock him:
 * 1) Once again go to ThisIsaTest's contributions – click on block. This will bring you to the block form again.
 * 2) You will see a message at the top that says: "ThisIsaTest is already blocked. Do you want to change the settings?" – enter the new settings in the fields below.
 * 3) Now click Re-block the user with these settings.
 * 4) Leave a message on ThisIsaTest's talk page explaining that the block settings have been changed.


 * 1) Click on ThisIsaTest's contributions.
 * 2) Directly underneath the title you should see "talk" (among other links) – click on unblock. This will bring you to the unblock form for ThisIsaTest.
 * 3) Under the reason field, give the reason you are unblocking User:ThisIsaTest.
 * 4) Click Unblock. You then see the message "You have unblocked ThisIsaTest".

For the purpose of these practice steps, please remove the {{subst:uw-voablock}} post from ThisIsaTest's talk page.

[[Image:Admin mop.PNG|25px| ]]IP blocks/unblocks
User:192.0.2.16 has been causing massive disruption today and has received warnings from uw-vandalism1 to uw-vandalism4, yet she still continues her rampage. The IP needs to be blocked to stop any further disruption.
 * 1) Click on 192.0.2.16's contributions.
 * 2) Directly underneath the title you should see "talk" among other links – click on block. This will bring you to 192.0.2.16's blocking form. [[Image:SensitiveIP-NAS.PNG|right|thumb|400px |If you block any IP in the ranges listed under "[[Template:Sensitive IP addresses|Sensitive IP addresses]]", you must notify the Wikimedia Foundation Communications Committee immediately (see contact instructions there or use the notifications page).]]
 * 3) Scroll to the bottom of the page, you will see the blocking form that is to be filled in. The IP of the user to be blocked should already be there.
 * 4) Click on the Expiry: drop down menu – as 192.0.2.16 has received no previous blocks, select a short amount of time: 31 hours.
 * 5) *directly underneath this drop down menu, you can specify your own length of block. You can type in just about anything here e.g. 1 week, 2 months, 71 hours etc. – use either the drop down menu, or type your own length in, not both.
 * 6) Click on the Reason: drop down menu – select Vandalism.
 * 7) You then come to several check boxes:
 * 8) *Block account creation stops users from this IP creating an account – this should be left .
 * 9) *Block user from sending e-mail prevents users from this IP from sending email – this should be left unless the user is abusing this function.
 * 10) *Prevent this user from editing their own talk page while blocked self-explanatory – this should be left unless the blocked user disruptively edits their talk page or posts unblock abuse.
 * 11) *Watch this user's user and talk pages adds the blocked user's page to your watchlist – you may wish to tick this checkbox to be informed if the user adds an unblock rationale on their talk page.
 * 12) *Prevent logged-in users from editing from this IP address blocks all users, registered and unregistered, from editing from the IP address. This may cause collateral damage so should be left .
 * 13) Now click Block.
 * 14) Leave {{subst:uw-ablock}} on the IP's talk page to explain that it has been blocked for a short period of time.

User:192.0.2.16 now says she is sorry and you wish to unblock her:


 * 1) Click on 192.0.2.16's contributions.
 * 2) Directly underneath the title you should see "talk" (among other links) – click on unblock. This will bring you to the unblock form for 192.0.2.16.
 * 3) Under the reason field, give the reason you are unblocking 192.0.2.16.
 * 4) Click Unblock. You will then see "You have unblocked 192.0.2.16".

For the purpose of these practice steps, please remove the {{subst:uw-ablock}} from 192.0.2.16's talk page.

[[Image:Admin mop.PNG|25px| ]]Blocking a range of IPs
Sometimes disruption persists from a small range of IPs, where blocking each individually is ineffective. In such cases it may be feasible to perform a range block. This however should be avoided if at all possible, as it will cause collateral damage. It is suggested you discuss range blocks before making them, and if you aren't familiar with the Internet protocol suite and CIDR ranges, you shouldn't be making them.

Things to do before considering a range block:
 * Ensure page protection is not a viable alternative, for instance, if only one or two pages are affected.
 * Check the contributions from the range and ensure there are not good-faith editors that will be blocked from editing.

Tools for computing the range of IPs:
 * 's range calculator
 * blockcalc on tool labs

Tools to check range contributions:
 * Range calc gadget (recommended). Go to your gadgets and enable "Allow /16, /24 and /27 – /32 CIDR ranges on Special:Contributions". From here you can go to Special:Contribs and enter the CIDR range in just as you would any user or IP. If you have WP:POPUPS turned on, you can hover over the "diff" links to verify you won't be blocking any constructive users
 * xtools
 * 's rangecontrib tool

Blocking ranges works much the same way as you would block any IP, except you provide the CIDR range. If you feel a range block is warranted but are uncomfortable doing it yourself, you may wish to contact one of the admins in Category:Wikipedia administrators willing to make range blocks.

[[Image:Admin mop.PNG|25px| ]]Username blocks/unblocks
User:Keegagan is an inappropriate username due to it being too similar to an existing user. Assume that this is a clearly inappropriate username of the kind that can be blocked on sight by any administrator. To block,
 * 1) Click on Keegagan's contributions.
 * 2) Directly underneath the title you should see "talk" among other links – click on block. This will bring you to Keegagan's blocking form.
 * 3) Scroll to the bottom of the page, you will see the blocking form that is to be filled in. The username of the user to be blocked should already be there.
 * 4) Click on the Expiry: drop down menu – as Keegagan's username is inappropriate, select indefinite.
 * 5) * directly underneath this drop down menu, you can specify your own length of block. You can type in just about anything here e.g. 1 week, 2 months, 71 hours etc. – use either the drop down menu, or type your own length in, not both.
 * 6) Click on the Reason: drop down menu – select   
 * 7) You then come to several check boxes:
 * 8) * Block account creation stops the user from creating a new account for 24 hours after the block is made – this tick should be .
 * 9) * Block user from sending e-mail prevents the user from sending email – this should be .
 * 10) * Prevent this user from editing their own talk page while blocked self-explanatory – this should be .
 * 11) * Autoblock any IP addresses used blocks all IP addresses the editor may use in the future whilst blocked – this should be .
 * 12) * Watch this user's user and talk pages adds the blocked user's page to your watchlist.
 * 13) Now click Block.
 * 14) Leave {{subst:uw-uhblock-double}} on Keegagan's talk page to explain that he has been indefinitely blocked.

User:Keegagan now says Keegagan is a family name and you wish to unblock him:
 * 1) Click on Keegagan's contributions.
 * 2) Directly underneath the title you should see "talk" (among other links) – click on block. This will bring you to the unblock form for Keegagan.
 * 3) Under the reason field, give the reason you are unblocking Keegagan.
 * 4) Click Unblock You then see the message "You have unblocked Keegagan".

For the purpose of these practice steps, please remove the {{subst:uw-uhblock-double}} post from Keegagan's talk page.

[[Image:Admin mop.PNG|25px]]Partial blocks
Partial blocks can prevent a user from:
 * Editing specific pages or all pages within a specific namespace.
 * Emailing other users or creating other accounts, while still being allowed to edit normally

To partially block a user, the following additional fields are used on the blocking form:
 * To allow the user to continue to edit pages normally while blocking other actions:
 * Uncheck the Editing checkbox.
 * Check the other actions to block where appropriate.
 * To prevent the user from editing specific pages or within a namespace:
 * Select the Partial radio button below the Editing checkbox.
 * Enter the specific pages in the Pages box.
 * Enter the specific namespaces in the Namespaces box.