Wikipedia:Categorization: Difference between revisions

Content deleted Content added
Sort keys: note2
Redirecting categories: links to category redirects are not broken if resolved by a template
Line 234:
If you need to add an [[WP:RCAT|rcat]] to a {{t|Category redirect}}, use the template's second parameter. For example, <syntaxhighlight inline lang="wikitext">{{Category redirect | Years of the 19th century in Ceylon | {{R from category navigation}} {{R from template-generated category}} }}</syntaxhighlight>
 
Category redirects are [[WP:COSTLY|costly]]. While placing a page in a category redirect is not a ''big'' problem, it <em>is</em> a problem. There are [[Wikipedia:Category redirects that should be kept#Category redirects that might be useful|plenty of helpful uses of category redirects]], but category redirects are not as [[WP:CHEAP|cheap as regular redirects]]. Links to article redirects are [[WP:NOTBROKEN|not broken]]: i.e. click on the link and you are automatically redirected to its target. However, links to category redirects <em>are</em> broken and need to be fixed, except when resolved by a template (i.e. the template generates categories using a pattern, and some of the resulting category names are intentionally resolved by the use of {{tl|resolve category redirect}} within the template, as in the Ceylon example above). Placing a page into a category redirect makes it show up in the category redirect — not its target — until a bot comes along and fixes the link.<section end=CATREDIRECT />
 
{{anchor|DISAMBIGCAT}}{{shortcut|WP:DISAMBIGCAT}}If the category was renamed because it is ambiguous, and categories exist for two or more meanings, then create a category [[Wikipedia:Disambiguation#Disambiguation pages|disambiguation page]] at the old name, using {{tl|category disambiguation}}. See also [[:Category:Disambiguation categories]]