Hoppa till innehållet

Hjälp:Tracking categories

Från Plutten

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

  1. REDIRECT Template:Localized link automatically.

Since

  1. REDIRECT Template:Localized link, tracking categories are listed in the
  2. 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;

  1. 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

  1. REDIRECT Template:Localized link in the system message to put pages in different categories depending on the page's
  2. 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).|^]]

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. REDIRECT Template:Localized link.
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. REDIRECT Template:Localized link is true.
1.28
Mall:Int magiclink-tracking-rfc Mall:Int
This tracking category is only added if
  1. REDIRECT Template:Localized link is true.
1.28
Mall:Int magiclink-tracking-pmid Mall:Int
This tracking category is only added if
  1. REDIRECT Template:Localized link is true.
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

  1. REDIRECT Template:Localized link.

Prior to 1.25, this was instead done via Mall:Class doclink, with the tracking category name added to

  1. REDIRECT Template:Localized link.
Default category Message What triggers the category's inclusion Added by extension Version
Pages with too many ifexist calls [1] pfunc_max_ifexist_category Warning: This page contains too many #ifexist calls. It should have less than $2, there are now $1.
This tracking category was replaced with expensive-parserfunction-category, which is added by core. The messages for the tracking category and its description were removed in rev:32965.
  1. REDIRECT Template:Localized link
Mall:Removed-inline
Mall:Int syntaxhighlight-error-category Mall:Int
  1. REDIRECT Template:Localized link
1.26
Mall:Int timeline-tracking-category Mall:Int
  1. REDIRECT Template:Localized link
1.32
Mall:Int cite-tracking-category-cite-error Mall:Int
  1. REDIRECT Template:Localized link
1.27
Mall:Int score-use-category Mall:Int
  1. REDIRECT Template:Localized link
Mall:Int score-error-category Mall:Int
  1. REDIRECT Template:Localized link
1.22
Mall:Int score-deprecated-category Mall:Int
  1. REDIRECT Template:Localized link
Mall:Int templatestyles-stylesheet-error-category Mall:Int
  1. REDIRECT Template:Localized link
1.32
Mall:Int templatestyles-page-error-category Mall:Int
  1. REDIRECT Template:Localized link
1.32
Mall:Int massmessage-list-category Mall:Int
  1. REDIRECT Template:Localized link
1.24
Mall:Int commonsmetadata-trackingcategory-no-license Mall:Int
  1. REDIRECT Template:Localized link
1.25
Mall:Int commonsmetadata-trackingcategory-no-description Mall:Int
  1. REDIRECT Template:Localized link
1.25
Mall:Int commonsmetadata-trackingcategory-no-author Mall:Int
  1. REDIRECT Template:Localized link
1.25
Mall:Int commonsmetadata-trackingcategory-no-source Mall:Int
  1. REDIRECT Template:Localized link
1.25
Mall:Int commonsmetadata-trackingcategory-no-patent Mall:Int
  1. REDIRECT Template:Localized link
1.31
Mall:Int math-tracking-category-error Mall:Int
  1. REDIRECT Template:Localized link
1.28
Mall:Int math-tracking-category-render-error Mall:Int
  1. REDIRECT Template:Localized link
1.30
Mall:Int geodata-broken-tags-category Mall:Int
  1. REDIRECT Template:Localized link
1.19
Mall:Int geodata-unknown-globe-category Mall:Int
  1. REDIRECT Template:Localized link
1.19
Mall:Int geodata-unknown-region-category Mall:Int
  1. REDIRECT Template:Localized link
1.19
Mall:Int geodata-unknown-type-category Mall:Int
  1. REDIRECT Template:Localized link
1.19
Mall:Int scribunto-common-error-category Mall:Int
  1. REDIRECT Template:Localized link
1.19
Mall:Int scribunto-module-with-errors-category Mall:Int
  1. REDIRECT Template:Localized link
1.23
Mall:Int cx-unreviewed-translation-category Mall:Int
  1. REDIRECT Template:Localized link
1.33
Mall:Int graph-tracking-category Mall:Int
  1. REDIRECT Template:Localized link
1.26
Mall:Int graph-obsolete-category Mall:Int
  1. REDIRECT Template:Localized link
1.27
Mall:Int graph-broken-category Mall:Int
  1. REDIRECT Template:Localized link
1.26
Mall:Int kartographer-tracking-category Mall:Int
  1. REDIRECT Template:Localized link
1.27
Mall:Int kartographer-broken-category Mall:Int
  1. REDIRECT Template:Localized link
1.27
Mall:Int unresolved-property-category Mall:Int
  1. REDIRECT Template:Localized link
1.29
Mall:Int connected-redirect-category Mall:Int
  1. REDIRECT Template:Localized link
1.31
Mall:Int jsonconfig-use-category Mall:Int
  1. REDIRECT Template:Localized link
1.43
Mall:Int cite-tracking-category-cite-diffing-error Mall:Int
  1. REDIRECT Template:Localized link
1.44


  1. REDIRECT Template:Localized link