Help:Tracking categories/zh

追踪分类是MediaWiki的一项功能，该功能允许包含特定性质的页面被追踪. 该功能会自动将所有符合条件的页面归类.

Since MediaWiki 1.23, tracking categories are listed in the configuration variable, and can be viewed on Special:TrackingCategories. Since MediaWiki 1.25, tracking categories, which are added by MediaWiki itself, are hard-coded in the MediaWiki source code, and is kept for backwards compatibility.

What category to use is determined by the tracking category's system message, that is, a page in MediaWiki namespace. If the message is a single dash (-), then the tracking category is disabled. Often wiki admins mark such categories as hidden (using the ( magic word), since they are meant for maintenance and not general consumption. Some sites use Parser functions to modify which category is used based on namespace, but that doesn't work properly until 1.19.

扩展也能添加新追踪分类（用Parser::addTrackingCategory方法）

一些维基网站通过一些代码添加其他类型的追踪分类，例如这个分类，她追踪 #expr 错误页面，添加有重大错误的页面.