Jump to content

帮助:标签

From mediawiki.org
This page is a translated version of the page Help:Tags and the translation is 54% complete.
关于HTML 标签,参见:Help:HTML in wikitext
Screenshot of Special:RecentChanges, each log line ends with the yellow-ish marked tag that the list is filtered by

标签(也称为“更改标签”或“修订标签”)是一种与编辑或日志条目关联的注释。 在引用修订版本的多个位置(例如页面历史、差异对比、最近更改等)中,标签都会显示出来。

标签信息

若要查看 wiki 中的全部标签,请访问 Special:Tags。 该页面会列出所有已定义的标签,或至少已被应用到一个修订或日志条目的标签。

各列的含义如下:

标签名称
标签的内部代码名称。 此项无法修改。
更改列表中的表现形式
标签在更改列表(如页面历史、用户贡献、监视列表、日志、差异页等)中的呈现方式。 该文字取自系统消息MediaWiki:Tag-<标签名称>;若该消息不存在,则更改列表中将显示标签的内部名称。
具有 editinterface 用户权限的管理员会看到一个“编辑”链接,可修改MediaWiki:Tag-<标签名称>页面。 若希望在所有更改列表中隐藏该标签,可将此页面内容设置为一个连字符(-)。
完整含义说明
标签用途的文字说明,仅在 Special:Tags 页面上显示,其他地方不会出现。 该文本取自系统消息MediaWiki:Tag-<标签名称>-description
具有 editinterface 用户权限的管理员会看到一个“编辑”链接,可修改MediaWiki:Tag-<标签名称>-description页面。
来源
Whether the tag is defined by the software (由软件定义), users on the wiki (可被用户和机器人手动应用), or nobody (不再被使用).
是否激活?
Whether the tag is still in active use. For software-defined tags, this value is determined by the software. For manually-applied tags, it is set by wiki administrators (see section Activating or deactivating a tag).
标记的更改数
Shows how many changes (revisions or log entries) the tag is applied to. The link goes to Special:RecentChanges with a tag filter applied, which only shows recent uses of the tag.
操作
This column only appears if you have the rights to perform tag management tasks. See Tag management below for an explanation.


Automatically applied tags

TODO: ...


Adding or removing tags from a revision or log entry

MediaWiki版本:
1.25
TODO: ...
Screenshot of a history page, showing a button for editing tags

标签管理

MediaWiki版本:
1.25

Users with the managechangetags user right (administrators by default) can use the Special:Tags special page to create, delete, activate and deactivate tags.

创建标签

你可以创建一个用户可以人工使用的新标签。 标签的名称必须满足以下条件:

  • 不能包含逗号 (,) 或斜线 (/) 字符。
  • 不能包含禁止用于页面标题的字符(例如,[
  • 不能是软件的保留字。

To do this, use the form at the top of Special:Tags. (If you do not see the form, you do not have permission to create tags.) The reason you provide will be entered into the tag management log.

删除标签

如果不再需要一个标签,你可以把它删除。 This removes the definition of the tag from the database, and removes the tag from all revisions and log entries to which it is applied.

警告 警告: 删除一个标签是不可恢复的操作,没有撤销的可能。

为了性能考虑,你不可以删除使用5000次以上的标签。

To delete a tag, click the "delete" link beside a tag. (If you do not see this link, the tag cannot be deleted.) Enter a reason, and click "Submit".

Deleting a tag added by the software

You cannot delete a tag that is defined by the software, unless the software specifically allows it. However, administrators can hide the tag from view by going to Special:Tags and changing the corresponding interface message (under the "Appearance in change lists" column) to a hyphen-minus character (-).

Activating or deactivating a tag

Users can only apply tags that are both user-defined (来源 column shows 可被用户和机器人手动应用) and active (是否激活? column shows ). For tags that are user-defined, you can use the 激活 or 取消激活 links to change the value in the 是否激活? column, thereby allowing or forbidding users to add the tag to revisions or log entries.

You cannot activate or deactivate a tag that is defined by the software.

参阅