Jump to: navigation, search
This page is a translated version of the page Help:Tracking categories and the translation is 62% complete.

Outdated translations are marked like this.
Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎עברית • ‎हिन्दी • ‎italiano • ‎日本語 • ‎Lëtzebuergesch • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
PD 注意:当您编辑本页面时,即代表同意以CC0协议授权您的贡献。您可以在公有领域帮助页面找到更多信息。


Since MediaWiki 1.23, tracking categories are listed in the $wgTrackingCategoriesManual:$wgTrackingCategories 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 $wgTrackingCategoriesManual:$wgTrackingCategories 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 (__HIDDENCAT__ 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.

缺省分类 消息 What triggers the category's inclusion 版本
Pages with too many expensive parser function calls expensive-parserfunction-category The page uses too many expensive parser functions (like #ifexist). See Manual:$wgExpensiveParserFunctionLimit. 1.13之后。之前,解析器函数扩展使用 pfunc_max_ifexist_category
Pages containing omitted template arguments post-expand-template-argument-category The page is bigger than $wgMaxArticleSize after expanding a template argument (something in triple braces, like {{{Foo}}}). 1.13
Pages where template include size is exceeded post-expand-template-inclusion-category The page size is bigger than $wgMaxArticleSize after expanding all the templates, so some templates were not expanded. 1.13
Noindexed pages noindex-category The page is not indexed by robots because it has the magic word __NOINDEX__ on it and is in a namespace where that flag is allowed. 1.15
Indexed pages index-category The page has a __INDEX__ on it (and is in a namespace where that flag is allowed), and hence is indexed by robots where it normally wouldn't be. 1.15
Hidden categories hidden-category-category The category contains __HIDDENCAT__ in its page content, which prevents it from showing up in the category links box on pages by default. 1.13
Pages with broken file links broken-file-category The page contains a broken file link (a link to embed a file when the file does not exist).
Pages with syntax highlighting errors syntaxhighlight-error-category There was an error when attempting to highlight code included on the page.
The SyntaxHighlight extension bundled with MediaWiki adds this.