Manual:$wgTrackingCategories/ko
Deprecated: This feature is deprecated and should no longer be used, however it is possibly still available for reasons of backwards compatibility. |
| Category: $wgTrackingCategories | |
|---|---|
| The list of messages representing tracking categories which are listed at Special:TrackingCategories. |
|
| 이 변수가 소개된 버전: | 1.23.0 (Gerrit change 112323; git #610236b4) |
| 폐지예정이 된 버전: | 1.25.0 (Gerrit change 180554; git #247ecab4) |
| 이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
| 허용값: | (array of strings) |
| 기본값: | (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.
기본값
| 미디어위키 버전: | ≥ 1.25 |
$wgTrackingCategories = [];
| 미디어위키 버전: | 1.24 |
$wgTrackingCategories = array(
'index-category',
'noindex-category',
'expensive-parserfunction-category',
'post-expand-template-argument-category',
'post-expand-template-inclusion-category',
'hidden-category-category',
'broken-file-category',
'node-count-exceeded-category',
'expansion-depth-exceeded-category',
);
| 미디어위키 버전: | 1.23 |
$wgTrackingCategories = array(
'index-category',
'noindex-category',
'expensive-parserfunction-category',
'post-expand-template-argument-category',
'post-expand-template-inclusion-category',
'hidden-category-category',
'broken-file-category',
);
같이 보기
- Help:Tracking categories
- For examples of how to add tracking categories, see the GeoData or Score extensions