<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory_handler%2Fblacklist%2Fdoc</id>
	<title>Template:Category handler/blacklist/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ACategory_handler%2Fblacklist%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Template:Category_handler/blacklist/doc&amp;action=history"/>
	<updated>2026-04-07T06:34:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Template:Category_handler/blacklist/doc&amp;diff=4930&amp;oldid=prev</id>
		<title>Waahlis: Created page with &quot;{{documentation subpage}} &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;  This is the {{tl|category handler/blacklist}} sub-template.  Do not use thi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Template:Category_handler/blacklist/doc&amp;diff=4930&amp;oldid=prev"/>
		<updated>2013-03-05T18:24:33Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation subpage}} &amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;  This is the {{tl|category handler/blacklist}} sub-template.  Do not use thi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|category handler/blacklist}} sub-template.&lt;br /&gt;
&lt;br /&gt;
Do not use this template directly, use {{tl|category  handler}} instead. This template is called from {{tl|category handler}}, see user documentation there.&lt;br /&gt;
 &lt;br /&gt;
But if you came here to see or update the &amp;#039;&amp;#039;&amp;#039;category suppression blacklist&amp;#039;&amp;#039;&amp;#039;, then you are in the right place.&lt;br /&gt;
P&lt;br /&gt;
=== Updating the blacklist ===&lt;br /&gt;
&lt;br /&gt;
This template contains a blacklist of the pages and page types where templates should not auto-categorise. This blacklist is used by {{tlf|category handler}} to decide when not to categorise. To update the blacklist, edit this template.&lt;br /&gt;
&lt;br /&gt;
This template uses {{tl|if pagename}} to do the pagename-detection, thus see {{tl|if pagename}} for the syntax to use for the blacklist rules.&lt;br /&gt;
&lt;br /&gt;
When this template is placed on a page that should not categorise, then it should return . And when placed on any other page it should return an empty string.&lt;br /&gt;
&lt;br /&gt;
=== Testing the blacklist ===&lt;br /&gt;
&lt;br /&gt;
There are two ways you can test what this blacklist returns for a page:&lt;br /&gt;
&lt;br /&gt;
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:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;+{{category handler/blacklist}}+&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which here on this page returns this:&lt;br /&gt;
&lt;br /&gt;
:+{{category handler/blacklist}}+&lt;br /&gt;
&lt;br /&gt;
The ++ used here is a simple way to make it visible when a template returns an empty string.&lt;br /&gt;
&lt;br /&gt;
Or you can feed the pagename you want to test to this template. Then you can do all the testing for instance on the [[{{pgn|ns|page1|page2}}/testcases|/testcases]] subpage of this template. Like this:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;+{{category handler/blacklist| page = User:Example }}+&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;+{{category handler/blacklist| page = User:Example/Archive 5}}+&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which returns this:&lt;br /&gt;
&lt;br /&gt;
:+{{category handler/blacklist| page = User:Example }}+&lt;br /&gt;
:+{{category handler/blacklist| page = User:Example/Archive 5 }}+&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&lt;br /&gt;
&lt;br /&gt;
Currently this template is only called from {{tl|category handler}}, and indirectly from all templates that use {{tlf|category handler}}. But in the future this template might also be directly called from other templates similar to {{tlf|category handler}}. This means we can update the category suppression blacklist in one place.&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
&lt;br /&gt;
* [[w:Wikipedia:Category suppression|Wikipedia:Category suppression]] – The how-to guide.&lt;br /&gt;
* [[w:Wikipedia:WikiProject Category Suppression|Wikipedia:WikiProject Category Suppression]] – The WikiProject.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Meta]][[Category:Templates]]&lt;/div&gt;</summary>
		<author><name>Waahlis</name></author>
	</entry>
</feed>