Hjälp:Tracking categories
Mall:PD Help Page Tracking categories are a feature of MediaWiki which allows pages with certain characteristics to be tracked. They work by adding any such page to a
- REDIRECT Template:Localized link automatically.
Since
- REDIRECT Template:Localized link, tracking categories are listed in the
- REDIRECT Template:Localized link configuration variable, and can be viewed on Special:TrackingCategories.
Since MediaWiki 1.25, tracking category message names are hard-coded in the MediaWiki source code that adds them to pages;
- REDIRECT Template:Localized link is kept for backwards compatibility.
What category to use is determined by the tracking category's system message, that is, the text on its page in the MediaWiki namespace.
If the message is a single hyphen-minus (-), then the tracking category is disabled. Often wiki admins mark such categories as hidden (using the __HIDDENCAT__ magic word), because they are meant for maintenance and not general consumption.
Since MediaWiki 1.19, wiki admins can use
- REDIRECT Template:Localized link in the system message to put pages in different categories depending on the page's
- REDIRECT Template:Localized link; for an example of this, see this site's system message for
broken-file-category.
Some wikis add custom tracking categories via some hacks, for instance this category, which tracks pages with #expr errors, added through the relevant errors shown on such pages.
[[#ref_If a page is created before a tracking category is defined, but the tracking category should apply to that page, the page will not show up in the category until the page has been manually reparsed. This is not done automatically because it's expensive (Compare Topic:Wutoqrsj56lam465).|^]]
Core
[redigera wikitext]The following tracking categories are added by MediaWiki itself, or have been in the past.
| Default category | Message | What triggers the category's inclusion | Version |
|---|---|---|---|
| Mall:Int | expensive-parserfunction-category | Mall:Int This tracking category replaced pfunc_max_ifexist_category, which was added by
|
1.13 |
| Mall:Int | post-expand-template-argument-category | Mall:Int | 1.13 |
| Mall:Int | post-expand-template-inclusion-category | Mall:Int | 1.13 |
| Mall:Int | noindex-category | Mall:Int | 1.15 |
| Mall:Int | index-category | Mall:Int | 1.15 |
| Mall:Int | hidden-category-category | Mall:Int | 1.13 |
| Mall:Int | broken-file-category | Mall:Int This does not include links to files on the bad image list, files that cannot be displayed inline (due to lack of handler support), links directly to a file page (by preceding with a colon, e.g. [[:File:Example.png]]). The category, if enabled, is linked from Special:Wantedfiles since 1.19.
|
1.18 |
| Mall:Int | duplicate-args-category | Mall:Int | 1.25 |
| Mall:Int | node-count-exceeded-category | Mall:Int | 1.24 |
| Mall:Int | expansion-depth-exceeded-category | Mall:Int | 1.24 |
| Mall:Int | restricted-displaytitle-ignored | Mall:Int | 1.28 |
| Pages using invalid self-closed HTML tags | deprecated-self-close-category | The page contains invalid self-closed HTML tags, such as Mall:Tag or Mall:Tag. The behavior of these will change soon to be consistent with the HTML5 specification, so their use in wikitext is deprecated. | 1.28 Mall:Removed-inline |
| Mall:Int | template-loop-category | Mall:Int | 1.29 |
| Mall:Int | magiclink-tracking-isbn | Mall:Int This tracking category is only added if
|
1.28 |
| Mall:Int | magiclink-tracking-rfc | Mall:Int This tracking category is only added if
|
1.28 |
| Mall:Int | magiclink-tracking-pmid | Mall:Int This tracking category is only added if
|
1.28 |
| Mall:Int | template-equals-category | Mall:Int | 1.36 |
| Mall:Int | nonnumeric-formatnum | Mall:Int | 1.36 |
Extensions
[redigera wikitext]The following tracking categories are added by extensions, or have been in the past. Extensions can add new tracking categories using the
- REDIRECT Template:Localized link.
Prior to 1.25, this was instead done via Mall:Class doclink, with the tracking category name added to
- REDIRECT Template:Localized link.
See also
[redigera wikitext]- REDIRECT Template:Localized link