Help:管理封鎖
![]() |
注意:當您編輯本頁面時,即同意以CC0協議授權您的貢獻。您可以在公有領域帮助页面找到更多信息。 | ![]() |
MediaWiki版本: | 1.44 |
管理封禁是用於封鎖用戶(正式名稱為「目標」)的新介面,於MediaWiki 1.44 新增。 封鎖目標為管理員 用以阻止用戶或IP位置編輯維基的操作。 Blocks can be sitewide or partial, and can include restrictions such as prohibiting page edits, account creations, and sending emails.
管理員可以對單一目標施加多個封鎖,這項功能名為多重封鎖。 這些封鎖可以對針對目標的不同行為,限制其執行特定操作,但仍允許存取網站的其他頁面。 They may also be used, for example, to simultaneously add a temporary sitewide block, while also leaving a less restrictive block in place for when the sitewide block expires.
添加或編輯封鎖
Visit Special:Block and follow these steps:
- 目标 - Enter the username, IP address, or IP range to block in the "目标" field. Instead of typing this information in manually, it is also possible to click on a "block" link in recent changes, contributions pages, or history pages, which will automatically fill in this field with the appropriate username or IP address. A
管理封禁
link is also present in the toolbox when viewing User and User talk pages. - 查看日誌 - Once a valid target has been entered, various logs will appear as applicable to help you decide what further actions to take, if any.
If the target already has existing blocks, you can edit or remove them, or use the 添加封禁 button to add an additional block.- 现有封禁 - Shows a table of blocks currently placed on the target along with relevant details such as the expiration, block parameters, and reason. For each row, there is an
操作
column with options to edit or remove a block. - 现有的段封禁 - When an IP address or IP range is the target, this log will be shown containing range blocks that effect the target.
- 封禁日志 - This will be a table showing the history of blocks, blocks modifications and unblocks on the target.
- 监督隐藏的封禁日志 - If you are a suppressor, this table will appear listing suppression log events that occurred on the target.
- 现有封禁 - Shows a table of blocks currently placed on the target along with relevant details such as the expiration, block parameters, and reason. For each row, there is an
- 封禁类型 - Select the type of block you want to add.
- 全站 - Prohibits the block target from making changes to all pages on the entire wiki and creating new pages.
- 部分页面 - Prohibits the block target from making changes only to the specified pages or all pages in namespaces. All other pages can still be edited, new pages can be created, and files can be uploaded. Up to 50 pages can be added to the block, but non-existent ("redlink") pages cannot be blocked. The corresponding talk and subpages are not automatically blocked and must be entered separately. Specific actions can also be blocked (e.g. creating pages) and these will be blocked sitewide even if there is also a partial block on editing specific pages or namespaces.
- 期限 - Set the block expiry using one of the following options:
- 预设持续时间 - Select a predefined duration from the dropdown. The default options in the drop-down may be modified at MediaWiki:Ipboptions.
- 自定义持续时间 - Specify a relative time (e.g., 1 day, 2 hours).
- 指定日期与时间 - Enter a precise date and time.
- 原因 - The reason selected from the drop-down combined with the
额外或其它原因
will be used as the message displayed to the blocked target when they try to edit. The default reasons in the drop-down may be modified at MediaWiki:Ipbreason-dropdown. Block reasons may contain wikitext or templates . - 封禁细节 - These are specific actions you can block the target from making, in addition to editing.
- 账号创建 - Selecting this option will prevent the blocked username or IP address from creating new accounts.
- 发送电子邮件 - When this option is selected, the target 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.
- 编辑自己的讨论页 - This option is only available if
$wgBlockAllowsUTEdit
is set to true. For a sitewide block, selecting this option prevents the IP address, range, or user from editing their own user talk page. This option is usually ignored for partial blocks; to prevent a partially blocked user from editing their own talk page, the talk page must be specified as a page to block. The only exception to this is where a partial block prohibits the target from editing theUser talk
namespace; in this situation, this option behaves as it would for a sitewide block.
- 额外选项 - Depending on if a target is being blocked and other options that may have been enabled, as well as site configuration , some or all of these options will be displayed on the form.
- 将此账号最后所使用的,以及后续编辑所在的所有IP地址封禁$1 - This option is only available when blocking an account, but is available for both partial and site-wide blocks. When selected, the user's IP will become "autoblocked "[1] for a short period of time and any other IP addresses that the blocked user tries to edit from will be blocked as well.
- 在编辑及列表中隐藏用户名 - This option is not enabled in a default installation of MediaWiki; the person putting the block in place must have the
hideuser
permission . When selected, the blocked username will not be added to the block log, the active block list, or the user list (only available on sitewide indefinite blocks). Other users with the ability to view these hidden entries will still be able to see and unblock the username or IP address. - 监视目标的用户页和讨论页 - When selected, this adds the blocked target's user page and user talk page to your watchlist.
- 封禁使用该IP地址登录的用户 - 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.
- Double-check everything you entered and click on 提交. A message should appear saying if the block was successful or unsuccessful.
After a block is placed, you can add additional blocks with the 添加封禁 button, or edit existing blocks from the 现有封禁
table.
移除封鎖
Removing blocks is also done using the manage blocks interface.
Navigate to Special:Block and provide the username, IP or IP range. From the list of active blocks, click the 移除
button.
A dialog will show up on screen asking to confirm the action, with the option to specify a reason.
A message should appear saying if the unblock was successful or unsuccessful.
截至2025年4月, Special:Unblock is only used for removing autoblocks . To remove an autoblock, find it from Special:AutoblockList and click 解封
under the 期限
column.
This will bring you to Special:Unblock for that autoblock.
被封鎖意味著什麼
Sitewide blocked targets are unable to edit pages , upload files , move pages , and perform other actions that additional user rights would grant.
Effectively, this makes the wiki read only for those targets.
Blocked users who are in user groups that allow them to block may not block or unblock other targets while they themselves are blocked.
Users with the unblockself
right however can block the user who blocked them.
Partially blocked targets are only prohibited from performing change actions to the specific pages or all pages inside the namespaces configured.
Notes
- ↑ These show up as numbers such as #17 on Special:AutoblockList and Special:BlockList