About PCs Wiki:Admin guide

From About PCs Wiki
Jump to navigation Jump to search

This page is a basic how-to guide to using your admin powers. This page explains how to carry out sysop actions, and does not cover the policies that you must follow before doing these. Ensure you are aware of the relevant policies on the wiki before doing anything described on this page.

Deleting a page[edit | hide | hide all]

  1. Click the delete or delete this page link on the page you want to delete. (If you are using the monobook skin with English as your default language, you can use the shortcut alt+d.)
  2. You will be shown a page with a box to type in the reason for deletion, and a confirm box. This page will give you a warning if the page has more than one revision in its history. If something looks like nonsense but has a page history, check the history before deleting it! The revision you are looking at could be just a vandalised version of a real article.
  3. Type your reason for deletion in the box provided. If it is a very short page, the box will contain the page text. For pages that are obviously vandalism, you may wish to leave the full text as the reason. In other cases, you should specify why you are deleting it. (For example, "this page is not about the subject of this wiki" or "this page is a copyright violation".)
  4. After you have deleted the page, check to see if it has a talk page. If it does, delete this too.
  5. If the page is being deleted because it should not exist, check that nothing links to it to reduce the chance that it might be created again.
  6. Follow any other guidelines for deleting pages on your wiki, which may include archiving a deletion discussion.

Deleting an image[edit | hide]

  1. Check that you really want to delete the image! Image deletion is not reversible, so please be careful when doing this.
  2. Click on the image to be deleted, or follow the image link (for example, File:Example.jpg), which will take you to the image's description page.
  3. To delete all revisions of an image, click "delete all revisions of this image" where it appears in the image history. You may also click "delete" at the top of the page the same way you might for an article.
  4. To delete an older revision of an image, you must click the del link which appears next to that revision of the image.
    If there is more than one revision of an image, clicking the "Delete all revisions of this image" will do exactly that. You cannot delete the most recent one without deleting all older copies as well, and also deleting the image description page. If you would like to delete only the most recent revision, you must revert to an earlier revision first.
  5. After clicking Delete all revisions of this image, you will see a confirmation screen similar to that used for page deletion. The deletion will be logged at Special:Log/delete. Again, remember that image deletion is not reversible!
  6. If the image has a talk page, delete this too.

Undeleting a page[edit | hide]

Pages can be undeleted after they have been deleted, as they are still in the database.

  1. To restore a page that has not been recreated, look for a message on the page telling you how many deleted revisions there are. To restore a page that has been recreated, this message will appear when you view the page history (you can also type the full URL to undelete) .
  2. Click on this to go to a page which displays the deleted revisions. You can look at each revision separately, and choose whether to undelete all revisions (the default) or selected ones.
  3. To undelete all revisions, click the restore button which appears on the confirmation page. (Undeletion occurs as soon as you click this; there is no further confirmation screen or a place to type a reason.)
  4. To undelete only selected revisions, select the revisions you wish restore with the checkboxes next to each revision, and then click the restore button. If you do not undelete all revisions, the log will record how many you did restore.
  5. To view a deleted page without undeleting it, click on the timestamp of the version you wish to see. This will allow you to view that version of the page without restoring it.

Protecting or unprotecting a page or image[edit | hide]

Administrators may protect pages from editing by anyone other than administrators or autoconfirmed users, depending on the type of protection used. Please check to see that you are following the wiki's policies! It is a common mistake to protect pages unnecessarily; remember that protection should be used only to stop vandalism or edit wars. High-traffic pages, such as the Main Page, and archived admin nominations or talk page discussions should also be fully protected. MediaWiki namespace pages are protected by default and this protection cannot be removed. When a page is protected, it will have a lock icon in the top-right corner.

  1. Click the protect or protect this page link. (If you are using the monobook skin, you can use the shortcut alt+=.)
    If you are protecting an image, click "protect" on the image description page. When an image is protected, both the page and the image are protected. The image description page will be protected, and non-sysops will not be able to revert the image to an earlier version, or upload a new version over it.
  2. You will see a confirmation screen. Select the type of protection ("allow only administrators" etc.), the expiry time (which can also be "infinite"), enter the reason for protection in the box, and click confirm. This will be logged at Special:Log/protect and appear on Special:ProtectedPages or Special:ProtectedTitles.

Unprotection is done in the same way. The "Protect" button now says "Change protection".

Editing a protected page[edit | hide]

Click edit this page in the normal way. The only difference is the warning at the top of the page reminding you the page is protected and the edit field is slightly red. You should not leave an article locked to administrator editing only unless there is a strong reason for it.

Block a user or IP[edit | hide]

Please check our blocking policy! Remember that blocks should be used only to prevent damage to the wiki, and should be used as a last resort.

  1. Click the block link that appears next to the IP or username in recent changes or go to Special:Blockip.
  2. If you went directly to Special:Blockip, fill in the name or IP of the user you want to block in the first field.
    To block a range of IPs, enter the range in this field instead. If you do not know how to do this, please read here. If you need help right away because of high-speed vandalism attacks, contact a sysop for assistance.
  3. Fill in the length of the block in the second field, either from the dropdown menu or, if you select "other", for some other appropriate length (or "infinite") according to your wiki's blocking policy. Do not block shared or dynamic IP addresses for a long time (perhaps a week), because the user you wished to block will not be using it for long, but other innocent users may.
  4. Add the reason for the block in the third field. This reason should explain to the user why they are blocked according your wiki's blocking policy. Remember that other users may be innocently affected by the block and will see this message, so do not put anything offensive, confusing, or vague as the reason.
  5. Below this are some checkboxes:
  • "Prevent account creation" prevents blocked users from creating another account; this should normally be checked to avoid block evasion. If you are blocking an user account that has an inappropriate user name, you should leave this unchecked so the user can reaate an acount with another non-inappropriate user name.
  • "Prevent this user from editing their talk page when blocked" should not be checked unless the blocked user uses their talk page inappropriately.
  • "Prevent this user from sending e-mail" blocks any use of Special:EmailUser. This should only be checked in extreme cases, where the user is abusing e-mail.
  • "Prevent logged-in users from editing from this IP address" (IP blocks only) prevents logged-in users using the blocked IP from editing. This should generally not be checked.
  • "Autoblock" prevents a blocked user from editing from another account or anonymously for 24 hours after a block is placed. This should not be unchecked unless the user concerned is supposed to create a new account, etc.
  • "Watch this user's user and talk pages" is not important, as it merely adds these pages to the blocking admin's watchlist.

Then, click the block this user button. This will be logged at Special:Log/block and the user will appear in the list of blocked IP addresses and usernames until the block expires. After blocking the user, please leave a message on the user's talk page so the user understands why the user has been blocked.

Unblock a user, IP, or range[edit | hide]

  1. Go to Special:Ipblocklist and find the user you want to unblock.
  2. In newer versions of MediaWiki, removing a block lifts all autoblocks for that user as well.
  3. Click the unblock link next to the user, IP, or range you wish to unblock. If a range is blocked, you need to unblock the whole range. It isn't possible to unblock a specific IP from that range.
  4. Fill in the reason for the unblock on the confirmation page. This will be logged at Special:Log/block, and the user will be immediately unblocked.

Using sysop revert[edit | hide]

Any user can remove vandalism from a page, but administrators (and rollbackers) have a rollback button to make this easier. To revert the edits of one user to the last version by the previous author:

  1. Click rollback on the page history, on the user contribution list, or on the diff page. Your revert will be marked as a "minor edit" and given the automatic edit summary Reverted edits by X to last version by Y. Be careful about clicking rollback since the revert is automatic, but accidental reverts can be corrected by undoing it as any other edit. Also, if you use rollback you will not be able to leave an edit summary for the revert, so do not use rollback on non-vandalism edits. In edit wars, do not use rollback either, use undo instead so you can leave a summary.
  2. In cases of large-scale vandalism that floods recent changes, you may use "bot rollback". Add &bot=1 to the end of the URL used to access a user's contributions. When the rollback links on the contributions list are clicked, the revert as well as the original edit that you are reverting will both be hidden from the default Recentchanges display.

Merging page histories[edit | hide]

Merging page histories is a means of fixing cut and paste moves where the histories do not overlap. This action is not reversible, so please do not attempt it unless you understand the procedure.

  1. Decide which title the merged article should have. For example, take two pages, "Hard Drive" and "Hard Disk Drive". In our example, say it's "Hard Drive". Delete the article currently at this title. (You should provide as the reason for deletion "merging page history" or something similar.)
  2. Move the other page to that new title. (So, move "Hard Drive" to "Hard Disk Drive".)
  3. Delete the page.
  4. Undelete the page. The deleted revisions from both pages will now be available to restore.

Editing the interface[edit | hide]

Admins can change the wording of the user interface messages by editing the automatically-protected pages in the MediaWiki namespace. You can see a list of these messages at Special:Allmessages. You can also change the design of the interface, or "skin", at MediaWiki:Monobook.css.

Please note that changing some pages, such as MediaWiki:monobook.css and MediaWiki:monobook.js, may make the site unusable, needing help to restore it; please be careful in implementing changes if you are not sure what you are doing.