Help:Tracking categories/sv

From Linux Web Expert

File:PD-icon.svg Note: When you edit this page, you agree to release your contribution under the CC0. See Public Domain Help Pages for more info. File:PD-icon.svg

Spåra kategorier är en funktion i MediaWiki som låter spårning av sidor med vissa egenskaper. Det fungerar så att alla sådana sidor automatiskt tilldelas en kategori.

Since MediaWiki 1.23 , tracking categories are listed in the $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 $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 hyphen-minus (-), 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.

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.

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

Kärna

Följande spårningskategori läggs till av MediaWiki, eller gjorde det.

Standardkategori Meddelande What triggers the category's inclusion Version
Pages with too many expensive parser function calls expensive-parserfunction-category The page uses too many expensive parser functions (like #ifexist). See Manual:$wgExpensiveParserFunctionLimit.
This tracking category replaced pfunc_max_ifexist_category, which was added by Extension:ParserFunctions .
1.13
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).
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
Pages using duplicate arguments in template calls duplicate-args-category The page contains template calls that use duplicates of arguments, such as {{foo|bar=1|bar=2}} or {{foo|bar|1=baz}}. 1.25
Pages where node count is exceeded node-count-exceeded-category The page exceeds the maximum node count. 1.24
Pages where expansion depth is exceeded expansion-depth-exceeded-category The page exceeds the maximum expansion depth. 1.24
Pages with ignored display titles restricted-displaytitle-ignored The page has an ignored {{DISPLAYTITLE}} because it is not equivalent to the page's actual title. 1.28
Pages using invalid self-closed HTML tags deprecated-self-close-category The page contains invalid self-closed HTML tags, such as ‎<b /> or ‎<span />. The behavior of these will change soon to be consistent with the HTML5 specification, so their use in wikitext is deprecated. 1.28 <translate> (removed in <tvar name=2>1.36</tvar>)</translate>
Pages with template loops template-loop-category The page contains a template loop, ie. a template which calls itself recursively. 1.29
Pages using ISBN magic links magiclink-tracking-isbn This page uses ISBN magic links. See mediawiki.org on how to migrate.
This tracking category is only added if $wgEnableMagicLinks is true.
1.28
Pages using RFC magic links magiclink-tracking-rfc This page uses RFC magic links. See mediawiki.org on how to migrate.
This tracking category is only added if $wgEnableMagicLinks is true.
1.28
Pages using PMID magic links magiclink-tracking-pmid This page uses PMID magic links. See mediawiki.org on how to migrate.
This tracking category is only added if $wgEnableMagicLinks is true.
1.28
Pages which use = as a template template-equals-category The page contains {{=}} but on this wiki that does not expand to =. This usage is deprecated; a future MediaWiki version will implement {{=}} as a parser function. 1.36
Pages with non-numeric formatnum arguments nonnumeric-formatnum The page contains a non-numeric argument to the formatnum parser function. 1.36

Extensions

The following tracking categories are added by extensions, or have been in the past. Extensions can add new tracking categories using the extension registration system . Prior to 1.25, this was instead done via Parser::addTrackingCategory, with the tracking category name added to $wgTrackingCategories .

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.
ParserFunctions <translate> (removed in <tvar name=2>1.13</tvar>)</translate>
Pages with syntax highlighting errors syntaxhighlight-error-category There was an error when attempting to highlight code included on the page. SyntaxHighlight 1.26
⧼timeline-tracking-category⧽ timeline-tracking-category No description available. EasyTimeline 1.32
Pages with reference errors cite-tracking-category-cite-error Pages in this category have errors in the usage of references tags. Cite 1.27
⧼score-use-category⧽ score-use-category ⧼score-use-category-desc⧽ Score
⧼score-error-category⧽ score-error-category ⧼score-error-category-desc⧽ Score 1.22
⧼score-deprecated-category⧽ score-deprecated-category ⧼score-deprecated-category-desc⧽ Score
TemplateStyles stylesheets with errors templatestyles-stylesheet-error-category The TemplateStyles stylesheet has an error. TemplateStyles 1.32
Pages with TemplateStyles errors templatestyles-page-error-category There was an error when processing a <templatestyles/> tag on the page. TemplateStyles 1.32
MassMessage delivery lists massmessage-list-category The page is a delivery list for the MassMessage extension. MassMessage 1.24
⧼commonsmetadata-trackingcategory-no-license⧽ commonsmetadata-trackingcategory-no-license ⧼commonsmetadata-trackingcategory-no-license-desc⧽ CommonsMetadata 1.25
⧼commonsmetadata-trackingcategory-no-description⧽ commonsmetadata-trackingcategory-no-description ⧼commonsmetadata-trackingcategory-no-description-desc⧽ CommonsMetadata 1.25
⧼commonsmetadata-trackingcategory-no-author⧽ commonsmetadata-trackingcategory-no-author ⧼commonsmetadata-trackingcategory-no-author-desc⧽ CommonsMetadata 1.25
⧼commonsmetadata-trackingcategory-no-source⧽ commonsmetadata-trackingcategory-no-source ⧼commonsmetadata-trackingcategory-no-source-desc⧽ CommonsMetadata 1.25
⧼commonsmetadata-trackingcategory-no-patent⧽ commonsmetadata-trackingcategory-no-patent ⧼commonsmetadata-trackingcategory-no-patent-desc⧽ CommonsMetadata 1.31
⧼math-tracking-category-error⧽ math-tracking-category-error ⧼math-tracking-category-error-desc⧽ Math 1.28
⧼math-tracking-category-render-error⧽ math-tracking-category-render-error ⧼math-tracking-category-render-error-desc⧽ Math 1.30
⧼geodata-broken-tags-category⧽ geodata-broken-tags-category ⧼geodata-broken-tags-category-desc⧽ GeoData 1.19
⧼geodata-unknown-globe-category⧽ geodata-unknown-globe-category ⧼geodata-unknown-globe-category-desc⧽ GeoData 1.19
⧼geodata-unknown-region-category⧽ geodata-unknown-region-category ⧼geodata-unknown-region-category-desc⧽ GeoData 1.19
⧼geodata-unknown-type-category⧽ geodata-unknown-type-category ⧼geodata-unknown-type-category-desc⧽ GeoData 1.19
Pages with script errors scribunto-common-error-category There was an error when processing the modules included on the page. Scribunto 1.19
Scribunto modules with errors scribunto-module-with-errors-category The module has an error in it. Scribunto 1.23
⧼cx-unreviewed-translation-category⧽ cx-unreviewed-translation-category ⧼cx-unreviewed-translation-category-desc⧽ ContentTranslation 1.33
⧼graph-tracking-category⧽ graph-tracking-category ⧼graph-tracking-category-desc⧽ Graph 1.26
⧼graph-obsolete-category⧽ graph-obsolete-category ⧼graph-obsolete-category-desc⧽ Graph 1.27
⧼graph-broken-category⧽ graph-broken-category ⧼graph-broken-category-desc⧽ Graph 1.26
Pages with maps kartographer-tracking-category The page includes a map Kartographer 1.27
Pages with broken maps kartographer-broken-category The page includes an invalid map usage Kartographer 1.27
⧼unresolved-property-category⧽ unresolved-property-category ⧼unresolved-property-category-desc⧽ Wikibase Client 1.29
⧼connected-redirect-category⧽ connected-redirect-category ⧼connected-redirect-category-desc⧽ Wikibase Client 1.31

See also