ഫലകം:Cat handler/blacklist
Actual code of this blacklist:
</noinclude>{{if pagename <!-- Start of blacklist --> | Wikipedia:Template messages/* = hide <!-- Don't categorise on its subpages --> | /archiv* = hide <!-- Don't categorise on /archive pages --> <!-- Don't categorise on centralised cascade page or its subpages --> | Wikipedia:Cascade-protected items/+ = hide | Main Page = hide <!-- Don't categorise the main page --> <!-- End of blacklist --> | page = {{{page|}}} <!-- Never change this one, see the doc --> }}<noinclude>
This template is used on 8,00,000+ pages, or roughly 151% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
This is the {{cat handler/blacklist}} sub-template.
Do not use this template directly, use {{cat handler}} instead. This template is called from {{cat handler}}, see user documentation there.
But if you came here to see or update the category suppression blacklist, then you are in the right place.
Updating the blacklist
തിരുത്തുകThis template contains a blacklist of the pages and page types where templates should not auto-categorize. This blacklist is used by {{cat handler}} to decide when not to categorize. To update the blacklist, edit this template.
This template uses {{if pagename}} to do the pagename-detection, thus see {{if pagename}} for the syntax to use for the blacklist rules.
When this template is placed on a page that should not categorize, then it should return "hide". And when placed on any other page it should return an empty string.
Testing the blacklist
തിരുത്തുകThere are two ways you can test what this blacklist returns for a page:
You can put this template on the page you want to test, and see what output it produces. You can use edit preview, no need to save. Like this:
+{{cat handler/blacklist}}+
Which here on this page returns this:
- ++
The ++ used here is a simple way to make it visible when a template returns an empty string.
Or you can feed the pagename you want to test to this template. Then you can do all the testing for instance on the /testcases subpage of this template. Like this:
+{{cat handler/blacklist| page = User:Example }}+
+{{cat handler/blacklist| page = User:Example/Archive 5}}+
Which returns this:
- ++
- +hide+
Technical details
തിരുത്തുകCurrently this template is only called from {{cat handler}}, and indirectly from all templates that use {{cat handler}}. But in the future this template might also be directly called from other templates similar to {{cat handler}}. This means we can update the category suppression blacklist in one place.
See also
തിരുത്തുക- Wikipedia:Category suppression – The how-to guide.
- Wikipedia:WikiProject Category Suppression – The WikiProject.
മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Cat handler/blacklist/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |