Wikipedia:Administrators' guide/Protecting

Administrators protect pages and images to prevent vandalism and assist in resolving content disputes, for example. The key principle to remember here is that Wikipedia is the encyclopedia that "anyone can edit". Protecting pages defeats that goal and so page protection should be avoided when possible and kept as short as possible.

In general, the length of time used to protect a page is based on how long you think it will take for the contributor(s) to cool down and resume proper contributions. A 24 hour page protection is typical. If problems resume, the protection might be increased to 36 hours for example. The page protection history might help you figure out how long to protect the page by what has worked in the past for that page.

Protecting etiquette is very lax. Generally, you do not need to consult with the original page protecting admin and there usually is no reason to notify them after you modify a page protection. A log of protections and unprotections is available at Special:Log/protect.

Below are more detailed instructions for protecting and unprotecting pages. For this guide we will use the protection form provided by the MediaWiki software. However in practice you may more often use semi-automated tools to protect pages – namely Twinkle – which can make the process considerably easier.

[[Image:Admin mop.PNG|25px| ]]Protecting a page

 * A list of semi-protected articles is at [//en.wikipedia.org/w/index.php?title=Special%3AProtectedPages&namespace=0&type=edit&level=autoconfirmed&sizetype=min&size= Protected pages].


 * 1) Go to the article you wish to protect; in this case, we will use Administrators' guide/Protecting/Protect.
 * 2) At the top of the page, click Protect.
 * 3) On the next page, you will see several confirm protection option boxes: Edit, Move, and Pending changes. The edit option box allows different levels of protection for textual additions to the page.
 * 4) By default, only the Edit option box is available. Most page protection (semi, template, or full) only requires this box but if you require move or pending pages protection, the 'Unlock further protect options' box can be checked to unlock them.
 * 5) We will semi protect the page from editing. In the edit box, you will see that the default "Allow all users" is checked. To semi-protect, check the box for Allow only autoconfirmed users. (To test fully protecting the page, select the Allow only administrators option.)
 * 6) At the bottom of the edit box there is a dropdown menu titled expires. The default setting is "infinite" (indefinite). However, page protection is not usually indefinite but for a fixed length of time. For this test case, we will protect for 1 day. Choose "1 day" from the dropdown menu.
 * 7) Scroll down to the bottom until you see Reason: to enter a reason for protecting the page. There are pre-phrased reasons for edit protection in the dropdown box. Choose one, or enter a reason in your own words in Other/additional reason. Enter "Page protection test/Vandalism" or select a reason from the pull down menu. Note: Checking the "cascading protection" box protects a page, and extends that protection automatically to any page that is transcluded onto the protected page. Is available only for fully protected pages; it is disabled for semi-protected pages because it causes issues as noted at Phabricator.
 * 8) Press the Confirm button. The page now is protected, but you now need to inform editors that the page is protected and to categorize the page in, for example, Category:Wikipedia semi-protected pages. This can be done with a single template from the protection template series.
 * 9) Add pp-protected to [//en.wikipedia.org/w/index.php?title=Wikipedia:New_admin_school/Protecting/Protect&action=edit the top of the page] to show that Wikipedia:Administrators' guide/Protecting/Protect has been semi-protected.
 * 10) Enter an edit summary, such as "Added template"
 * 11) Press the "Save page" button
 * 12) At this point, you have semi-protected the page.

The above is how to manually protect pages, but it is highly recommended you take advantage of Twinkle's protect module, which is accessible via the "PP" link. This will make the task of protecting and tagging pages considerably easier. In addition, it offers batch protection, where you can protect numerous pages at once. The batch protect looks for all links on a page, and you can selectively choose which of those pages to protect. An example might be protecting a page and all of its subpages, such as those in your userspace, in which case you would use Special:PrefixIndex to generate the list of links.

[[Image:Admin mop.PNG|25px| ]]Unprotecting a page

 * 1) Go to the article you wish to unprotect; in this case, we will use the page you just protected, Administrators' guide/Protecting/Protect.
 * 2) At the top of the page, click the Change protection link.
 * 3) On the next page, you will see several confirm protection option boxes: Edit, Move, and Pending changes.
 * 4) In the edit box, select Allow all users.
 * 5) Next to Expires, you will see the existing expiry time. You do not need to change this.
 * 6) Next to Reason, type the reason you are unprotecting the article, e.g. "Page protection test end".
 * 7) Press the Confirm button.
 * 8) At this point, you will have removed the actual protection from "Wikipedia:Administrators' guide/Protecting/Protect". However, you still need to remove the protection template from the page.
 * 9) Remove the pp-protected template from the top of the [//en.wikipedia.org/w/index.php?title=Wikipedia:New_admin_school/Protecting/Protect&action=edit Wikipedia:Administrators' guide/Protecting/Protect page].
 * 10) Enter an edit summary, such as "Removed template"
 * 11) Press the "Save page" button
 * 12) At this point, you have completed the unprotecting a page procedure.

[[Image:Admin mop.PNG|25px| ]]Salting a deleted page


Occasionally, administrators also need to protect non-existent pages to prevent them from being created/recreated. This is known as salting, after the process of salting the earth. For example, in the case of an article that went through a deletion discussion, the consensus was to delete and it is continually remade after the AfD, the page will need to be protected from recreation. Another example where salting is required is when vandals continue to create a disruptive page. Administrators should not use creation protection as a pre-emptive measure, but only in response to actual events. Salting is typically done for an indefinite duration, but any duration may be used.

The way to protect a non-existent page is very similar to protecting a regular page. We will use the test page Protect & salt test page.
 * 1) Go to Protect & salt test page.
 * 2) At the top of the page, look under the "More" dropdown menu and choose "Protect". Or for an automated method, look under Twinkle and choose "PP".
 * 3) To salt the article, select Allow only administrators; this will prevent anyone who is not an administrator from creating the page. To semi-protect the article from creation, select Allow only autoconfirmed users in the Create box. IPs cannot create pages anyway; this choice means that registered users who are below the autoconfirmed level will also not be able to create the page.
 * 4) In the box titled Expires, choose the length of time the page is to be protected. For example, 1 week, or 6 hours. However, it is unlikely an expiry will be needed for the protection of a non-existent article, so "infinite" is the default.
 * 5) In the box titled Reason, choose a reason why you are preventing the page from creation, or type in your own reason.
 * 6) Press the Confirm button.

To unprotect the page, follow the same steps you would to unprotect an existing page.

Semi-protection
A lesser level of protection, called "semi-protection", can be applied to pages. In this mode, anonymous users and very recently-joined named users (who do not yet have confirmed status) are prevented from editing the page but longer-term signed-in users may still edit the page as usual. This mode of protection is commonly applied to pages that continually attract drive-by vandalism by anonymous editors.
 * Note: See Protection policy for more details.

Extended confirmed protection
Extended confirmed protection is a moderate level of protection that aims to prevent registered users who are confirmed but not extended confirmed from editing, as well as unregistered users. It is usually used for specific content disputes or edit warring involving confirmed editors.
 * Note: See Protection policy for more details.

Full protection
Administrators may temporarily fully-protect pages which disables editing for everyone except administrators. This level of protection is commonly applied (sparingly) to pages that result in content disputes and repeated edit warring. The protection should be of a limited duration but long enough in order to resolve perceived conflicts.


 * Note: Any modification to a fully-protected page should be discussed on its talk page, and only when consensus has been established for a specific change. Administrators should not use their ability to edit these types of protected pages to make changes without prior discussion.

Special protection
When considering protection on pages such as policy pages and noticeboards, look through the pages' protection log first and the user(s) leading up to the previous page protections. You may find a pattern that leads you to consider blocking to be less harmful to the project than another page protection of one of these special pages.

Office actions
Occasionally, the legal officers of the Wikimedia Foundation will protect a page against editing; this is referred to as an "office action". When this is done, a template will be placed on the page so that administrators will be aware of this action. Do not reverse this protection or remove the template! Only the officers may reverse such protection. See Office actions for more details.