Wikipedia:Categorizing redirects

From Wikipedia, the free encyclopedia

Jump to: navigation, search

This is a Wikipedia guideline for categorizing redirects. It is intended to document current practice and suggest best practice in other areas and indicate where categorization of redirects can be misleading. See also Wikipedia:Redirect#Categories for redirect pages.

[edit] When to categorize a redirect

Most redirects should not be categorized. Examples include misspellings, minor variations of article titles, obscure alternate titles, and abbreviations.

There are some situations where categorizing a redirect is acceptable and can be helpful to users browsing through categories. The following are examples of some of these situations:

  • Redirects whose target title is incompatible with the category – Alternate names should not look out of place on a category page. This is often a way to satisfy disagreements over renaming an article when more than one name seems equally valid. The alternate name(s) becomes a redirect and gets categorized the same way as its target. Another example is when a single article covers things known by multiple names, such as a person who is known in multiple fields of endeavour under different names, a merged article about three different newspapers, or a sketch comedy television show whose name exists on Wikipedia as a redirect to the comedy troupe that created it. In such a case, consideration needs to be given to which title should be reflected in an individual category.
    Examples:
    • The comedy troupe The Vestibules had a radio show called Radio Free Vestibule. Although the article The Vestibules covers both topics and Radio Free Vestibule is a redirect, any radio show categories need to be on the redirect, rather than the main article, so that those category lists correctly display the actual title of the radio show.
    • 24 Heures is a French-language newspaper in Montreal, but is covered in the article on its English-language sister publications 24 Hours. However, the French-language newspaper and Montreal newspaper categories must be placed on the redirect, as 24 Hours is not the name of a French-language newspaper published in Montreal, while 24 Heures is. Those categories should contain the correct name of the Montreal publication.
    • Wile E. Coyote and Road Runner is an article that covers both the cartoon and its titular characters. Categories that refer to one of the characters, but not both - such as Category:Fictional coyotes and Category:Fictional birds - are placed on the appropriate redirects.
  • Alternate names for articles – The primary function of the category system is to allow readers to browse through articles. The category system is often used like an alphabetical index. It is sometimes helpful for redirects from common alternate names to appear in the index list. Editors should consider whether alternate names should be mixed in with other names, or not. Sometimes an entirely new category is more appropriate (see Categorization of multiple taxonomies below).
    Examples:
  • Categorization of multiple taxonomies – Some articles can be organized by more than one taxonomy. An example of this is the organization of animal and plant articles by common names and binomial name taxonomy. This is possible by categorizing the article one way and categorizing the redirect a different way. In this case, the alternate categorization of the redirect will not appear in the article unless it is manually added.
    Examples:
  • Categorization of list entries – Some well-organized lists have redirects pointing at their subsections. In such cases, categorization of the redirects can be an alternative way of browsing entries in a long list. It can also provide an alphabetical listing for lists that are not organised alphabetically, for example, lists organised in a chronological order. Redirects to sections of minor character lists should generally only be categorized within that fictional setting, and not in the wider fictional categories.
    Examples:

[edit] How to categorize a redirect

A redirect may be categorized in the same way as for any other article. For clarity, all category links should be added at the end of the page, after the redirect statement and any redirect templates.

The redirect will appear in the specified categories but formatted differently than articles (by default, in italics, see Technical Note below).

Example 1
– a redirect to page xxyyzz, using the printworthy redirect template, and in categories aaa and bbb, would look like:

#REDIRECT [[xxyyzz]] {{R printworthy}}
[[Category:aaa]]
[[Category:bbb]] 

Example 2
– a redirect to an article subsection with heading 'title' using a link anchor (see {{Anchor}}):

#REDIRECT [[xxyyzz#title]] {{R printworthy}}{{R to section}}
[[Category:aaa]] 

Example 3
– a common redirect need: "ttuuvv" to a geology page xxyyzz, using the R to section redirect template to point to the article and section where the common term is defined, and which should be in categories aaa, bbb, ccc and ddd (the parent article may have a few more, eee, fff, etc.), all of which are the categories of the parent article.

Categories of the subset applying to the redirect can be quickly excerpted from the parent and constructed for the redirect using the {{cat also}} template and a little cut and paste. This example would look like this:

#REDIRECT [[xxyyzz#glops]] {{R to section}}{{cat also|{{PAGENAME}}|aaa|bbb|ccc|ddd}} 
note
ALL {{R from...}}, {{R to ...}} templates and the {{cat also}} template should be on the same contiguous line as the #redirect [[article title]] beginning. The same caution is true for categories as given above as examples.

  1. {{PAGENAME}} is a Magic word in wikimarkup language that fills in the pagename, one can retype "ttuuvv" (without the quotes) and give that as the first pass parameter to the template instead. This is in fact a pipetrick parameter for when the template builds a list of [[Category:aaa|pipetrick]] entries for you. (see more below)

  2. The key saving is your to time and typing. The categories parameters listed in the later part of the template can be captured off the target page "xxyyzz" when you check the link (regardless of whether it's a section linking redirect) and captured by drag and drop from the categories bar. The highlighted category names (capture with [CTRL]-[C] keys) will automatically be pasted in (using [CTRL]-[V] keys) with the pipe characters ('|') needed to separate the parameters. (or other computer type/browser equivalent keystroke combinations)

  3. The first parameter represented by |{{PAGENAME}}| above is in fact the pipetrick sorting parameter used to group pages, and for redirects, some wikipedians use the convention of prefixing the sort to "{" or (most often) "}" which look like: {{cat also|{{{PAGENAME}}|... and {{cat also|}{{PAGENAME}}|... respectively. This is a compromise convention since the wikipedia community has never had good consensus on "whether to" or "how to" categorize redirects, except as redirects in redirect categories. By using such prefixes, they always sort in a group at the very end of the category list.


note
General information: ALL THE {{R from...}}, {{R to ...}} templates, have as their sole purpose adding a redirect sub-category (see Redirects) on the page to aid in maintenance. Generally speaking, one such template categorizes redirect pages to the sub-category, though it may be "aliased" using several alternative phrasings, themselves redirects of templates. (Common alias alternatives are: Other vs. alternative, capitalization vs. capitalisation and such spelling/phrasing variants like "R to singular" and "R from plural")

Technical Note: The appearance of a redirect link on category pages and in search results is determined by the CSS class "redirect-in-category" and the specification for that class in MediaWiki:Common.css. By default, this class is set to 'italics', although this may be changed by the user. In the past, no distinction was made for users, which fueled the controversies over how to categorize redirects. With the italics fonts, redirects are easy to pick out and perfectly good (and in many cases better known terminology implemented as redirects for technical reasons) can now be categorized for the readers to browse, and editors to know and at need use.

Personal tools
Languages