Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgTrackingCategories and the translation is 14% complete.
Other languages:
English • ‎dansk • ‎español • ‎français • ‎magyar • ‎polski • ‎日本語
Kategori: $wgTrackingCategories
The list of messages representing tracking categories which are listed at Special:TrackingCategories.
Introduced in version:1.23.0
Deprecated in version:1.25.0 (Gerrit change 180554; git #247ecab4)
Removed in version:still in use
Allowed values:(array of strings)
Default value:(see below)


$wgTrackingCategories is the list of tracking categories which are automatically added to pages. Starting with MediaWiki version 1.25, this configuration variable is deprecated and the default value changed! The default tracking categories are now hard-coded in the MediaWiki code and Extensions should now register tracking categories using the new extension registration system. They are listed on Special:TrackingCategories.

People who write extensions that add tracking categories via $parser->addTrackingCategory should add the system message corresponding to their tracking category to this array. They should also define a message with the same name but -desc appended that describes the criteria for a page to be tagged with the tracking category.

Standard værdi

MediaWiki version: 1.25
$wgTrackingCategories = array();
MediaWiki versions: 1.23 – 1.24
$wgTrackingCategories = array(

Se også