Wikipedia:Categorizing redirects/Redr


 * Proposal
 * This is a proposal to update the How to categorize a redirect section of this project page. While the major update is the addition of the utility of the  template, there are also other updates included that have been needed for a long time.  Please discuss major alterations to this proposal at Wikipedia talk:Categorizing redirects/Archive 2 before you actually make them.  Thank you, and Joys! –   Paine Ellsworth   C LIMAX ! 20:19, 20 February 2014 (UTC)



How to categorize a redirect
A redirect may be categorized in the same way as for any other page; however, when it is possible to use redirect category templates (rcats), then these should be used. For clarity, all category links should be added at the end of the page, after the redirect statement and rcat(s). Use of blank lines between these promotes readability of the code. The template is used to improve the appearance of text on redirects as well as to easily tag a redirect with up to six rcats. See its documentation and the This is a redirect/Comparison page for more information.

The redirect will appear in the specified categories in a style format that is different than non-redirects (by default, redirects appear in italics – see Technical note below).


 * Example 1
 * – a redirect to page Xxyyzz, which uses the ' and ' rcats, and which is also sorted to categories Aaa and Bbb, may look like:


 * 1) REDIRECT Xxyyzz


 * When This is a redirect is used, it is applied as follows:


 * 1) REDIRECT Xxyyzz


 * Note that the "R" in rcats may be omitted. Aliases (usually shortcuts) may also be used:


 * 1) REDIRECT Xxyyzz


 * Redr is an alias for "This is a redirect", R mod for "R from modification" and R pw for "R printworthy".
 * Note that the "R" in rcat names can either be used,, or omitted in the This is a redirect template ("R" cannot be omitted when rcats individually tag redirects).


 * Example 2
 * – a redirect to an article subsection titled "Header":


 * 1) REDIRECT Xxyyzz


 * When This is a redirect is used, it is applied as follows:


 * 1) REDIRECT Xxyyzz


 * Example 3
 * – a redirect to an article that has an anchor titled "Anchor this" (see Anchor):


 * 1) REDIRECT Xxyyzz


 * When This is a redirect is used, it is applied as follows:


 * 1) REDIRECT Xxyyzz


 * Example 4
 * – one common redirect need to a geology page Xxyyzz, which uses the R to section rcat 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 be sorted to a few more, such as Eee, Fff, etc.), all of which are categories usually found in the parent article. This example would look like this:


 * 1) REDIRECT Xxyyzz


 * Notes


 * 1. The  must come first, on the top line, and must start from the left margin.   types can be placed on their own lines after the above. Redirect category (rcat) templates, , etc and the   template may be placed anywhere after the redirect.  It is conventional to place them before categories and to leave empty lines between the types for readability.


 * 2.  is a Magic word in wikimarkup language that fills in the pagename (without the namespace) of the redirect unless the pagename of the target page (without namespace) is entered as its first parameter.  The first category parameter represented by   (magic words are not templates – note that the colon  is used to pass parameters in magic words rather than the pipe (|), which is used in templates) above is in fact the sort parameter used to group pages together in a category list.


 * 3. When the This is a redirect (or Redr) template is used, it will allow rcat parameters as described in its documentation. It takes seven rcat parameters, " " through " " and a " " parameter that is associated with the language rcat,.


 * 4. As shown above, printworthiness is an important type of sort. We are told in the style guide, "The ultimate goal of the guide is to have every redirect categorised in a standard format, as well as to have every main-namespace redirect categorised as either printworthy or unprintworthy."  It is important to note that this only applies to main article namespace redirects and not to redirects in any other namespace.


 * 5. For more detailed information about how to categorize redirects please see the documentation for individual rcats and for the This is a redirect template.


 * General information note
 * ALL the  templates, have as their sole purpose the populating of a redirect subcategory (see ) to aid in maintenance. Generally speaking, one such template categorizes redirect pages to the subcategory, though that template may be "aliased" by use of several alternative phrasings, themselves redirects to the template.  Common alias choices are: other vs. alternative, capitalization vs. capitalisation and other such spelling/phrasing variants like "R to singular" vs. "R from plural" and "R from singular" vs. "R to plural".