සැකිල්ල:maintenance category
- පහත දැක්වෙන උපදෙස්, සැකිල්ල:maintenance category/documentation හි පිහිටා ඇත. සැකිල්ල:maintenance category/documentation]]. [සංස්කරණය]
- ප්රයෝජනවත් සබැඳි: උප පිටු ලැයිස්තුව • සබැඳි • යළි යොමු • transclusions • errors (parser/module) • sandbox
A template which determines the correct maintenance category for the current page, which is designed for use in any MediaWiki system messages that categorize the page when certain events happen. Typically, these are error categories like Category:Pages with module errors, which is controlled by MediaWiki:Scribunto-common-error-category.
To prevent such categories from being flooded with junk, this template makes sure that the following kinds of page are placed in a separate /hidden
subcategory, which is contained within the main category:
- Talkpages, including pages relating to the deprecated LiquidThreads extension. This does not include project discussion pages, such as Wiktionary:Beer parlour.
- Userpages (and any subpages).
- Template and module sandboxes, including any subpages of Template:sandbox and Module:sandbox.
- Template and module testcase pages.
For example, the input {{maintenance category|Pages with module errors}}
will return Pages with module errors
on most pages, but Pages with module errors/hidden
on any pages which match the criteria above.
Parameters
[සංස්කරණය]|1=
(required)- The name of the category.
|cat=
(optional)- If this is specified, the result is returned as a category link, rather than the raw name of the category. This is for system messages like MediaWiki:Pfunc expr unrecognised word, which contain the category as part of an error message.