Jump to content

Wikipedia:Administrators' guide/Protecting

Page semi-protected
From Wikipedia, the free encyclopedia

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 atSpecial: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 – namelyTwinkle– which can make the process considerably easier.

Protecting a page

A list of semi-protected articles is atProtected pages.
  1. Go to the article you wish to protect; in this case, we will useWikipedia:Administrators' guide/Protecting/Protect.
  2. At the top of the page, clickProtect.[1]
  3. On the next page, you will see several confirm protection option boxes:Edit,Move,andPending 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 forAllow only autoconfirmed users.(To test fully protecting the page, select theAllow only administratorsoption.)
  6. At the bottom of the edit box there is a dropdown menu titledexpires.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 seeReason: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 inOther/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 istranscludedonto the protected page. Is available only for fully protected pages; it is disabled for semi-protected pages because it causes issues as noted atPhabricator.
  8. Press theConfirmbutton. 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 theprotection template series.
  9. Add{{pp-protected}}tothe top of the pageto show that Wikipedia:Administrators' guide/Protecting/Protect has been semi-protected.
  10. Enter an edit summary, such as "Added {{pp-protected}} 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 ofTwinkle'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 offersbatch 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 useSpecial:PrefixIndexto generate the list of links.

Unprotecting a page

  1. Go to the article you wish to unprotect; in this case, we will use the page you just protected,Wikipedia:Administrators' guide/Protecting/Protect.
  2. At the top of the page, click theChange protectionlink.[1]
  3. On the next page, you will see several confirm protection option boxes: Edit, Move, and Pending changes.
  4. In the edit box, selectAllow all users.
  5. Next toExpires,you will see the existing expiry time. You do not need to change this.
  6. Next toReason,type the reason you are unprotecting the article, e.g. "Page protection test end".
  7. Press theConfirmbutton.
  8. At this point, you will have removed the actual protection from "Wikipedia:Administrators' guide/Protecting/Protect". However, you still need to remove theprotection templatefrom the page.
  9. Remove the{{pp-protected}}template from the top of theWikipedia:Administrators' guide/Protecting/Protect page.
  10. Enter an edit summary, such as "Removed {{pp-protected}} template"
  11. Press the "Save page" button
  12. At this point, you have completed the unprotecting a page procedure.

Salting a deleted page

Protection form visible when salting a page

Occasionally, administrators also need to protect non-existent pages to prevent them from being created/recreated. This is known assalting,after the process ofsalting the earth.For example, in the case of an article that went through adeletion 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 toactualevents. 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 pageProtect & salt test page.

  1. Go toProtect & 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, selectAllow only administrators;this will prevent anyone who is not an administrator from creating the page. To semi-protect the article from creation, selectAllow only autoconfirmed usersin the Create box. IPs cannot create pages anyway; this choice means that registered users who are below theautoconfirmedlevel will also not be able to create the page.
  4. In the box titledExpires,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 titledReason,choose a reason why you are preventing the page from creation, or type in your own reason.
  6. Press theConfirmbutton.

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

Types of protection

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 haveconfirmedstatus) 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.

Editing:Autoconfirmed users.
Moving:Autoconfirmed users.
Padlock:Silver/Grey
Commonly used for:Heavy vandalism by anonymous or new users.
Note:SeeWikipedia:Protection policy#Semi-protectionfor more details.

Extended confirmed protection

Extended confirmed protection is a moderate level of protection that aims to prevent registered users who are confirmed but notextended confirmedfrom editing, as well as unregistered users. It is usually used for specific content disputes or edit warring involving confirmed editors.

Editing:Extended confirmed users.
Moving:Extended confirmed users.
Padlock:Blue
Commonly used for:Edit warring or content disputes by autoconfirmed users.
Note:SeeWikipedia:Protection policy#Extended confirmed protectionfor more details.

Full protection

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

Editing:Administrators.
Moving:Administrators.
Padlock:Gold/Brass
Commonly used for:More serious disputes, highly visible pages, such as the main page, orvery heavily used templates.
Cascading protection option:If used, also protects all templates and pages transcluded onto a fully protected page.
Note:Any modification to a fully-protected page should be discussed on itstalk page,and only whenconsensushas been established for a specific change. Administrators shouldnotuse 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 considerblockingto be less harmful to the project than another page protection of one of these special pages.

Move-protection:Commonly used for title disputes or pages subject to persistentpage-movevandalism.
Template-protection:Restricts editing to admins andtemplate editors,usedonlyforhigh-risktemplatesandmodules.
Interface protection:TheMediaWiki namespaceis protected by default and cannot be unprotected. Administrator editing only, except for JavaScript and CSS pages, which, like user js and css, are Interface-administrator only.
Title/creation protection:Preventsdeleted pagesfrom being recreated or overriding Commons images with local ones. SeeProtecting deleted pages (Salting)

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. SeeWikipedia:Office actionsfor more details.

Editing:Administratorscanedit these pages technically, butshould notdo so.
Moving:Administratorscanmove these pages technically, butshould notdo so.
Padlock:Black
Used for:Legal disputes. SeeWikipedia:Office actions.

Tools

  • Twinkle– A comprehensive (un)protect+template tool. Allows you to choose a preset that auto-supplies the standard protect settings for a given scenario. If the page has been protected in the past, a link will be shown to the protect log or pending changes log accordingly.
    Batch-protect:Click on the "P-batch" link to activate Twinkle's batch protect feature, allowing you to protect multiple pages at once. The module loads all links on the current page and lets you select which ones to protect. For instance, to protect all pages in your userspace, you can generate the page of links withSpecial:PrefixIndex/Example.To batch protect a specific group of pages (for example multiple articles arising from the same RfPP request), you can create a page in your userspace that contains a link to each of the pages you want to protect.

Notes