Help:Blocking users/zh

封禁用户是管理员可以采取的一种措施，它可以针对用户或 IP 地址，以阻止他们编辑 wiki.

封禁
封禁用户很简单. 访问 Special:BlockIP 并按照下面的步骤做：


 * 1) IP 地址或用户名：在“User”字段中输入要封禁的用户名、IP 地址或 IP 地址范围. 如果要封禁帐号，一定要确认拼写正确，因为即使是不存在的用户也是可以被封禁的. 除了手动输入这个信息之外，还可以在最近修改、贡献页面或历史记录页面中点击“封禁”链接，随后这个字段中就会自动填入相应的用户名或 IP 地址. 在浏览用户页或用户讨论页面时，工具箱中也会出现“封禁用户”的链接.
 * 2) 期限：在下拉列表中选择封禁将于何时到期，或者手动输入一个封禁到期的时间. 当手动输入时间时，需依照 GNU 标准格式. 下拉列表中的默认选项可在 MediaWiki:Ipboptions 修改.
 * 3) 原因（可选）：当被封禁的用户试图编辑时，在此处的下拉列表选择的原因将与指定的其它/更多原因显示为消息. 下拉列表中的默认选项可在 MediaWiki:Ipbreason-dropdown 修改.
 * 4) 选择附加封禁选项（可选）：根据要封禁的是用户名还是 IP 地址，以及其它可能已启用的选项，表单中会显示出以下某些或全部选项. 关于如何启用或禁用下列某些选项，请参考：.
 * 5) * Block anonymous users only: This option is only available when blocking an IP address. When selected, registered users who try to edit using a blocked IP address will still be able to edit. Otherwise, they will be unable to edit as well.
 * 6) * Prevent account creation: Selecting this option will prevent the blocked username or IP address from creating new accounts.
 * 7) * Automatically block the last IP address used by this user, and any subsequent IPs they try to edit from: This option is only available when blocking a username. When selected, the user's IP will become "autoblocked" (these show up as numbers such as #17 on the active block list) for a short period of time and any other IP addresses that the blocked user tries to edit from will be blocked as well.
 * 8) * Prevent this user from editing their own talk page while blocked: This option is only available if $wgBlockAllowsUTEdit is set to true; it is not by default. Selecting this option prevents the IP address, range, or user from editing their own user talk page.
 * 9) * Prevent user from sending e-mail: When this option is selected, the user will be unable to use the Special:EmailUser interface. If an IP address or range is blocked with this option, and it is not set for anonymous users only, accounts logged in from that IP address or range are unable to use Special:EmailUser.
 * 10) * Hide username from the block log, active block list and user list: When selected, the blocked username or IP address will not be added to the block log, the active block list, or the user list. Other users with the ability to view these hidden entries will still be able to see and unblock the username or IP address. This option is not enabled in a default installation of MediaWiki; the person putting the block in place must have the hideuser permission. See.
 * 11) * Watch this user's user and talk pages: When selected, this adds the blocked user's user page and user talk page to your watchlist.
 * 12) Double-check everything you entered and click on Block this user. A message should appear saying if the block was successful or unsuccessful.

Unblocking
To unblock a username or IP address, go to the active block list and click on the (unblock) link next to the user or IP you wish to unblock. Then, enter in an optional reason and click on the unblock button. A message should appear saying if the unblock was successful or unsuccessful.

What it means to be blocked
Blocked users are unable to edit pages, upload files, move pages, and perform other actions that additional would grant. Effectively, this makes the wiki read only for those users. Until MediaWiki 1.17, sysops or others with access to the unblocking interface may still unblock others (as well as themselves if they have the unblockself right). However, since MediaWiki 1.17, blocked users who are in user groups that allow them to block nevertheless may not block or unblock other users while blocked.