Editing StrategyWiki:Guide/Admin guide
From StrategyWiki, the video game walkthrough and strategy guide wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Header Nav|game=StrategyWiki:Guide}} | {{Header Nav|game=StrategyWiki:Guide}} | ||
'''[[StrategyWiki:Administrators|StrategyWiki Administrators]]''', also known as "sysops", are privileged users who, on top of adding content to the site, are able to perform administrative functions such as deleting pages and modifying protected pages. The following page is designed to be a reference for sysops who need a reminder on how to properly carry out such critical functions. For those wishing to become a sysop instead, please go [[StrategyWiki:Guide/Promotion procedure|here]]. | '''[[StrategyWiki:Administrators|StrategyWiki Administrators]]''', also known as "sysops", are privileged users who, on top of adding content to the site, are able to perform administrative functions such as deleting pages and modifying protected pages. The following page is designed to be a reference for sysops who need a reminder on how to properly carry out such critical functions. For those wishing to become a sysop instead, please go [[StrategyWiki:Guide/Promotion procedure|here]]. | ||
==Page Deletions and Undeletions== | ==Page Deletions and Undeletions== | ||
Line 51: | Line 7: | ||
*Are there any links to the page you are about to delete? Before you delete the page, click on the "What links here" link in the Toolbox. If there are pages that link to the page, point the links to a more appropriate page or remove them. | *Are there any links to the page you are about to delete? Before you delete the page, click on the "What links here" link in the Toolbox. If there are pages that link to the page, point the links to a more appropriate page or remove them. | ||
*Is there a talk page? Deleting a page will '''not''' delete its talk page if one exists. Therefore, you need to check to see if there is one; a relatively simple procedure. The "Discussion" link/tab will be blue if a talk page exists, and red if it doesn't. | *Is there a talk page? Deleting a page will '''not''' delete its talk page if one exists. Therefore, you need to check to see if there is one; a relatively simple procedure. The "Discussion" link/tab will be blue if a talk page exists, and red if it doesn't. | ||
*Is what you are deleting an image or some other type of file? If it is, these images/files cannot be recovered after deletion, so they will have to be re-uploaded if it is later deemed necessary. | |||
===The reason=== | ===The reason=== | ||
Line 57: | Line 14: | ||
===Viewing/Restoring deleted pages=== | ===Viewing/Restoring deleted pages=== | ||
If it is later decided that a deleted page should be restored, go to that page and click on "View or Restore # deleted edit(s)." You will then be brought to a screen showing all the past deletions/undeletions of the page, a restore box, and then a list of the page's history. By clicking on the history links, you can see the wiki code of each revision. You can either restore the entire page by just simply clicking "Restore" or just certain revisions of it by checking the check boxes near each history line, then entering a reason in the above box and clicking "Restore". | If it is later decided that a deleted page should be restored, go to that page and click on "View or Restore # deleted edit(s)." You will then be brought to a screen showing all the past deletions/undeletions of the page, a restore box, and then a list of the page's history. By clicking on the history links, you can see the wiki code of each revision. You can either restore the entire page by just simply clicking "Restore" or just certain revisions of it by checking the check boxes near each history line, then entering a reason in the above box and clicking "Restore". | ||
==Merging/Splitting Page Histories== | ==Merging/Splitting Page Histories== | ||
===Why?=== | ===Why?=== | ||
You will need to merge page histories when someone cuts (or copies) and pastes the content from one page into another, generally-empty page (simulating a page move without actually using the "Move" tab), or when content from 2+ pages with existing content need to become one. Splitting page histories is only done if a history merge from 2+ pages with existing content was later deemed incorrect and needs to be reversed. | You will need to merge page histories when someone cuts (or copies) and pastes the content from one page into another, generally-empty page (simulating a page move without actually using the "Move" tab), or when content from 2+ pages with existing content need to become one. Splitting page histories is only done if a history merge from 2+ pages with existing content was later deemed incorrect and needs to be reversed. The reason why this is an issue is because of the [[StrategyWiki:GNU Free Documentation License|GFDL]]. It is against the terms of the GFDL to create a derivative work without giving some sort of history of past works (even if it is copy/paste). | ||
===Merging histories=== | ===Merging histories=== | ||
Merging page | Merging a page history is easy. Simply follow these steps: | ||
# Browse to [[Special:MergeHistory]] | # Browse to [[Special:MergeHistory]] | ||
# Enter the name of the source page and the name of the destination page into the respective boxes, then click "Show mergeable edits" | # Enter the name of the source page and the name of the destination page into the respective boxes, then click "Show mergeable edits" | ||
Line 82: | Line 27: | ||
# Optionally delete the redirect left at the old page | # Optionally delete the redirect left at the old page | ||
Note: '''Before''' merging histories, ensure that the pages you are merging are actually the pages that need to be merged together, and once complete, the merge will not have to be split, as splitting page histories is much more time-consuming and difficult. | |||
To view the old method of merging histories (without the use of [[Special:MergeHistory]]), see [http://strategywiki.org/w/index.php?title=StrategyWiki:Guide/Admin_guide&oldid=287116#Merging_histories this old revision] | |||
# | |||
===Splitting histories=== | ===Splitting histories=== | ||
Line 102: | Line 41: | ||
# Change the links to the now-split page to their respective pages, if necessary. | # Change the links to the now-split page to their respective pages, if necessary. | ||
== | ==Removing select revisions from a page's history== | ||
This technique should rarely, if ever, be used. The only time where hiding certain revisions would be necessary is if there is some sort of copyright violation in that revision that needs to be removed, or if there is personal information included in that revision that a user later decides later not to share (such as an e-mail address). To use this feature, go to a page's history and click the "show/hide" link next to the entry you wish to delete. Then, check the boxes that you want to apply to this revision: | |||
* "Hide revision text": Prevents non-sysops from seeing the text of that particular revision | |||
* "Hide edit comment": Prevents non-sysops from seeing the edit comment of that particular revision | |||
* "Hide editor's username/IP": Prevents non-sysops from seeing the username/IP of the editor of that particular revision | |||
* "Apply these restrictions to sysops as well as others": Bureaucrats can check this option to prevent even ordinary sysops from seein the revision text/edit comment/editor's username/IP | |||
After you have selected all the options you want, add in a comment and hit "Apply to selected revision". If you wish to see the older version of this guide (using actual page deletion/restoration), see [http://strategywiki.org/w/index.php?title=StrategyWiki:Guide/Admin_guide&oldid=237548#Removing_select_revisions_from_a_page.27s_history this revision] | |||
After you have selected all the options you want, add in a comment and hit "Apply to selected revision" | |||
==Importing Pages== | ==Importing Pages== | ||
Importing a page is a means of transferring pages across various MediaWiki wikis while keeping the edit history intact (and thus satisfying the | Importing a page is a means of transferring pages across various MediaWiki wikis while keeping the edit history intact (and thus satisfying the GFDL). In most cases, this isn't necessary as you may just link to the page's history on the other wiki, but in cases where it is marked for deletion, you'd want to import the page here. Before you import a page, you have to export it on the other wiki. Go to [[Special:Export]] '''on that wiki''' and export the page or pages that you want to import here. Then, save the .xml file, go to [[Special:Import]], browse to your saved .xml file, and click "Upload". After a while, the pages, with the edit history intact (if you exported them that way), will be on StrategyWiki. Chances are, the pages you've imported will need a large cleanup to meet our formatting standards, as well as to get rid of all of the red links. | ||
==Protecting and Unprotecting Pages== | ==Protecting and Unprotecting Pages== | ||
Line 132: | Line 62: | ||
If you check the "Unlock move permissions" check box, you may assign varying levels of protection for '''Edit''' and '''Move'''. For example, an '''Edit''' level of "(default)" and a '''Move''' level of "Sysops only" means that any registered user may edit the page, but only Sysops may move it to a new location using the "move" tab (this is called "move protection"). | If you check the "Unlock move permissions" check box, you may assign varying levels of protection for '''Edit''' and '''Move'''. For example, an '''Edit''' level of "(default)" and a '''Move''' level of "Sysops only" means that any registered user may edit the page, but only Sysops may move it to a new location using the "move" tab (this is called "move protection"). | ||
If the '''Edit''' level is set to "Sysops only", a checkbox called "Protect pages included in this page (cascading protection)" will be enabled. Checking that means that all templates and such included in the page will be protected at the same level of the page. | If the '''Edit''' level is set to "Sysops only", a checkbox called "Protect pages included in this page (cascading protection)" will be enabled. Checking that means that all templates and such included in the page will be protected at the same level of the page. This is how the [[StrategyWiki:Title blacklist|title blacklist]] works. | ||
To enter an expiration date, make sure it is in a valid format (either "infinite" or "indefinite" or something with "A Years, B Months, X Days, Y Hours" (any combination will work provided they are in the correct order). Please use common sense when deciding on an expiration date. Critical or "high-risk" pages should normally be protected indefinitely, while perhaps only a week or so is justified on a page where an edit war is taking place to allow enough time for both sides to cool down. | To enter an expiration date, make sure it is in a valid format (either "infinite" or "indefinite" or something with "A Years, B Months, X Days, Y Hours" (any combination will work provided they are in the correct order). Please use common sense when deciding on an expiration date. Critical or "high-risk" pages should normally be protected indefinitely, while perhaps only a week or so is justified on a page where an edit war is taking place to allow enough time for both sides to cool down. | ||
Line 140: | Line 70: | ||
Then, decide if you want all users, only logged-in users, or only sysops to be able to create the page. Enter in an expiration time (optional), a summary of why you are protecting the page, and submit the form. | Then, decide if you want all users, only logged-in users, or only sysops to be able to create the page. Enter in an expiration time (optional), a summary of why you are protecting the page, and submit the form. | ||
Another method of protecting pages from being created is by using the "cascading protection" option on an existing page, and transcluding the nonexistent page into it. This method is ''no longer the preferred method of protecting nonexistent pages'' and should not be used unless the method detailed above is no longer working. See [[StrategyWiki:Title blacklist]] for more details on this method. | |||
===Unprotecting=== | ===Unprotecting=== | ||
Line 149: | Line 81: | ||
* Is it a highly visible page that doesn't need to be changed all that often such as the [[Main Page]]? | * Is it a highly visible page that doesn't need to be changed all that often such as the [[Main Page]]? | ||
* Is it an archive of past discussion that should not be edited? | * Is it an archive of past discussion that should not be edited? | ||
* Does the page exist here for some sort of legal reason? | * Does the page exist here for some sort of legal reason, such as the [[StrategyWiki:GNU Free Documentation License|GNU Free Documentation License]]? | ||
For nonexistent pages: | For nonexistent pages: | ||
Line 158: | Line 90: | ||
If a page doesn't fit into any of the above categories, then use your best judgment before protecting it, or ask the community. If you are still unsure, it is best not to protect the page. | If a page doesn't fit into any of the above categories, then use your best judgment before protecting it, or ask the community. If you are still unsure, it is best not to protect the page. | ||
===Protecting entire guides=== | |||
This technique should only be used in emergency situations when many registered users are vandalizing multiple pages of a guide. To fully protect the entire guide without having to protect each page individually, copy (and modify) the code below and put it into [[StrategyWiki:Title blacklist]]. Please note that this will fully protect the guide (so that only sysops can edit it), so do not do this without a very good reason (it also is quite server-intensive). | This technique should only be used in emergency situations when many registered users are vandalizing multiple pages of a guide. To fully protect the entire guide without having to protect each page individually, copy (and modify) the code below and put it into [[StrategyWiki:Title blacklist]]. Please note that this will fully protect the guide (so that only sysops can edit it), so do not do this without a very good reason (it also is quite server-intensive). | ||
<pre> | <pre> | ||
<DPL> | |||
titlematch=Guidename/%|Guidename | |||
namespace=Namespace | |||
include=0%[0] | |||
format=,\n* [[%PAGE%]],, | |||
</DPL> | |||
</pre> | </pre> | ||
Line 171: | Line 106: | ||
'''Note:''' Semi-protecting entire guides is currently impossible, so just semi-protect pages if they start getting heavy vandalism. | '''Note:''' Semi-protecting entire guides is currently impossible, so just semi-protect pages if they start getting heavy vandalism. | ||
==Editing Protected Pages== | ==Editing Protected Pages== | ||
Line 182: | Line 116: | ||
===Don't be ban-happy=== | ===Don't be ban-happy=== | ||
As the title of this section implies, don't go nuts with this feature. Before banning a user, make sure that what they did deserves a ban. Generally, the following actions are the only ones that deserve a ban: | As the title of this section implies, don't go nuts with this feature. Before banning a user, make sure that what they did deserves a ban. Generally, the following actions are the only ones that deserve a ban: | ||
* Vandalising, spamming | * Vandalising, spamming, etc. | ||
** First offense: | ** First offense: | ||
***Warning (use either {{t|Vandalism warning}} or {{t|Vandalism only}}) | ***Warning (use either {{t|Vandalism warning}} or {{t|Vandalism only}}) | ||
***Two hour ban (one week if really bad) | ***Two hour ban (one week if really bad) | ||
** Second offense: | ** Second offense: | ||
***Second warning(if second offense wasn't all too bad and the first warning was {{t|Vandalism warning}}) | ***Second warning(if second offense wasn't all too bad and the first warning was {{t|Vandalism warning}}) | ||
***One week ban (one month if really bad) | ***One week ban (one month if really bad) | ||
* Sockpuppeteering (using a [[wikipedia:Wikipedia:Sockpuppet|sockpuppet]]): one month ban on each account, block account creation. Check the New User log to find any other accounts by that person and ban those as well. | * Sockpuppeteering (using a [[wikipedia:Wikipedia:Sockpuppet|sockpuppet]]): one month ban on each account, block account creation. Check the New User log to find any other accounts by that person and ban those as well. | ||
* Breaking official policies | |||
* Breaking official policies | |||
** First offense: notice on the user's talk page. | ** First offense: notice on the user's talk page. | ||
** Second offense: another notice on the user's talk page, make it sound a bit more urgent/harsh. | ** Second offense: another notice on the user's talk page, make it sound a bit more urgent/harsh. | ||
Line 201: | Line 133: | ||
===Banning=== | ===Banning=== | ||
To ban a user, either click on the "block" link next to their names (on [[Special:RecentChanges]], a page's history, or their contributions page), or go to [[Special: | To ban a user, either click on the "block" link next to their names (on [[Special:RecentChanges]], a page's history, or their contributions page), or go to [[Special:BlockIP]] and enter that user's name in the "IP Address or username" field. Then, select a time from the "Expiry" drop-down (if you want to enter a time not listed on the drop-down, select other, then fill in the "Other time" field). Finally, enter a valid reason for blocking the user and check/uncheck the boxes for additional restrictions (see below). When all done, click on the "Block this user" link. Meanings of the check boxes: | ||
* "Block anonymous users only": This only applies to when you are blocking an IP Address instead of a user's name. When blocking an IP Address with this box checked, any registered and logged-on users editing from that IP Address will still be able to edit. If it is unchecked and you are blocking an IP Address, any registered and logged-on users from that IP Address will be unable to edit as well. If you are blocking a username, this check box does absolutely nothing. | * "Block anonymous users only": This only applies to when you are blocking an IP Address instead of a user's name. When blocking an IP Address with this box checked, any registered and logged-on users editing from that IP Address will still be able to edit. If it is unchecked and you are blocking an IP Address, any registered and logged-on users from that IP Address will be unable to edit as well. If you are blocking a username, this check box does absolutely nothing. | ||
* "Prevent account creation": If this box is checked, the user will be unable to create an account from that IP Address (if you blocked an IP Address), or while logged on as the blocked username. However, if you block a username, be wary that they will still be able to create accounts once they log out. | * "Prevent account creation": If this box is checked, the user will be unable to create an account from that IP Address (if you blocked an IP Address), or while logged on as the blocked username. However, if you block a username, be wary that they will still be able to create accounts once they log out. | ||
* "Automatically block the last IP address used by this user, and any subsequent addresses they try to edit from": fairly self explanatory. It blocks the user's IP Address for '''24 hours''' (you do not get to see the address), and automatically blocks any other IP Addresses the user tries to edit from for a period of 24 hours as well (again, you do not get to see the addresses). This check box is pointless when blocking an IP Address. | * "Automatically block the last IP address used by this user, and any subsequent addresses they try to edit from": fairly self explanatory. It blocks the user's IP Address for '''24 hours''' (you do not get to see the address), and automatically blocks any other IP Addresses the user tries to edit from for a period of 24 hours as well (again, you do not get to see the addresses). This check box is pointless when blocking an IP Address. | ||
Once you've banned the user, make sure to blank their user page and replace it with the {{t|banned}} template (if the ban is infinite or lengthy). You will probably also want to leave a message on their talk page explaining why they've been banned, unless they were spamming, in which case they're probably a bot, and leaving them a message is unnecessary. | Once you've banned the user, make sure to blank their user page and replace it with the {{t|banned}} template (if the ban is infinite or lengthy). You will probably also want to leave a message on their talk page explaining why they've been banned, unless they were spamming, in which case they're probably a bot, and leaving them a message is unnecessary. | ||
===Unbanning=== | ===Unbanning=== | ||
To unban a user, go to [[Special: | To unban a user, go to [[Special:IPBlockList]] and locate the user that you want to unban. Then, click the "unblock" link, enter a valid reason to unban that user, and click "Unblock this address". Also, if the entry did not say "autoblock disabled" in it, make sure to unblock any of the autoblocked numbers as well. | ||
==Rolling Back Edits== | ==Rolling Back Edits== | ||
Line 225: | Line 152: | ||
If a user has a mass flood of edits that you want to revert, you may want to do a "bot" rollback. To accomplish this, go to the user's contributions page, then look at the URL. If the part after strategywiki.org says "/wiki/", then add <tt>?bot=1</tt> to the end of the URL. However, if the part after strategywiki.org says "/w/index.php?", add <tt>&bot=1</tt> to the end of the URL instead. After adding that part to the URL, browse to the new address. Then, click the rollback links next to the pages you want to roll back. Once it is completed, it will hide the original edits ''and'' the reversion of them from [[Special:RecentChanges]] unless they click on "Show bots". This does '''not''' hide the edits from contribution pages or the page's history, however, so it should '''not''' be used to hide edits, merely to prevent a mass amount of them from flooding [[Special:RecentChanges]]. | If a user has a mass flood of edits that you want to revert, you may want to do a "bot" rollback. To accomplish this, go to the user's contributions page, then look at the URL. If the part after strategywiki.org says "/wiki/", then add <tt>?bot=1</tt> to the end of the URL. However, if the part after strategywiki.org says "/w/index.php?", add <tt>&bot=1</tt> to the end of the URL instead. After adding that part to the URL, browse to the new address. Then, click the rollback links next to the pages you want to roll back. Once it is completed, it will hide the original edits ''and'' the reversion of them from [[Special:RecentChanges]] unless they click on "Show bots". This does '''not''' hide the edits from contribution pages or the page's history, however, so it should '''not''' be used to hide edits, merely to prevent a mass amount of them from flooding [[Special:RecentChanges]]. | ||
== | ==Patrolling Edits== | ||
Patrolling edits is a key part in making sure that every edit made to StrategyWiki is effectively and efficiently looked over by an administrator. Unpatrolled edits have a <tt>!</tt> by them in [[Special:RecentChanges]] and [[Special:NewPages]], so if you have some free time, browse through their diffs (either via the "diff" link or "last" link). When you get to the page, you should see a link saying [Mark as patrolled]. Once you look over the edit and determine that it isn't vandalism or doesn't need any cleanup/copyediting, then click that link to notify other administrators that the edit was valid and they don't need to check it. Ideally, '''every edit should be patrolled'''. However, since some administrators don't look at edits already marked as patrolled, don't click on the [Mark as patrolled] link without actually looking over the diff first. | |||
==Enforcing Policies== | |||
Every administrator should know the [[:Category:Enforced policies|policies]] here at StrategyWiki and be able to uphold them. When enforcing these policies, use the [[:Category:Message templates|message templates]] to notify users that they are breaking them, and be kind about it. Chances are they didn't know that it was a policy. For the sequence of warning users, please see the banning section. | |||
==Changing a User's Rights== | ==Changing a User's Rights== | ||
Line 236: | Line 166: | ||
This should be obvious, but do not change a user's rights mindlessly. | This should be obvious, but do not change a user's rights mindlessly. | ||
<!-- Commented out since this is disabled on StrategyWiki, but keeping just in case we decide to enable it | <!-- Commented out since this is disabled on StrategyWiki, but keeping just in case we decide to enable it | ||
==Locking the Database== | ==Locking the Database== | ||
Locking the database essentially makes StrategyWiki read-only. To use this feature, go to [[Special:LockDB]] and enter a reason, then confirm the lockdown. Needless to say, don't do this unless it is absolutely necessary. Similarly, the database may be unlocked via [[Special:UnlockDB]]. | Locking the database essentially makes StrategyWiki read-only. To use this feature, go to [[Special:LockDB]] and enter a reason, then confirm the lockdown. Needless to say, don't do this unless it is absolutely necessary. Similarly, the database may be unlocked via [[Special:UnlockDB]]. | ||
--> | --> | ||
==Welcoming users== | |||
If you see an edit (in [[Special:RecentChanges|recent changes]]) made by a user with a non-existent talk page, please create the talk page and create it with the content <tt><nowiki>{{subst:welcome}}</nowiki></tt> to welcome the user. Your signature will automatically be appended. | |||
If the user making the edit is an anonymous user (not logged in), use instead the following markup, which encourages them to register and contribute more: <tt><nowiki>{{subst:register}}</nowiki></tt>. Again, your signature will automatically be appended. | |||
==Removing anon permissions== | ==Removing anon permissions== | ||
Line 252: | Line 187: | ||
Again, do not use this without a really good reason. Follow the directions [http://www.mediawiki.org/wiki/Extension:ToggleAnonRights here] if you need more assistance in using this. | Again, do not use this without a really good reason. Follow the directions [http://www.mediawiki.org/wiki/Extension:ToggleAnonRights here] if you need more assistance in using this. | ||
{{Footer Nav|game=StrategyWiki:Guide|prevpage= | {{Footer Nav|game=StrategyWiki:Guide|prevpage=Promotion procedure|nextpage=Partnerships}} |