Template:R from incorrect name/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Paine Ellsworth
→‎See also: alphabetize and add See also entry
Ookami (talk | contribs)
m 86 revisions imported
 
(30 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]) -->
{{Substitution|not}}
{{High use| 6150 }}
{{tsh|R from unsuitable title}}
{{Substitution|not|nor used to tag [[Wikipedia:Soft redirects|soft redirects]]}}
{{tsh|R from unsuitable title|R wrongname}}
__NOTOC__
__NOTOC__
=== Purpose ===
=== Purpose ===
Line 10: Line 11:
* {{Cat|Redirects from incorrect names}} – should never be used in articles – only the '''''correct name''''' should be used
* {{Cat|Redirects from incorrect names}} – should never be used in articles – only the '''''correct name''''' should be used
* {{Cat|Unprintworthy redirects}} – when a [[WP:MAINSPACE|mainspace]] redirect is tagged
* {{Cat|Unprintworthy redirects}} – when a [[WP:MAINSPACE|mainspace]] redirect is tagged
At some point in the future, [[Jimmy Wales]] wants to make more <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Wikipedia:Pushing_to_1.0&oldid=1319195 printed versions]</span> of ''Wikipedia'' encyclopedia articles.  Redirects from incorrect names are not usually suitable for a printed version, so they are sorted to the [[wp:Printworthiness|Unprintworthy]] category by default.  [[#print|See below]] for what to do for those few incorrect names that are printworthy.
In 2003, efforts were begun to support the [[Wikimedia Foundation]]'s goal of increasing access and availability of  ''Wikipedia'' articles in {{diff|Wikipedia:Pushing to 1.0||1319195|printed versions}}.  Redirects from incorrect names are not usually suitable for a printed version, so they are sorted to the [[wp:Printworthiness|Unprintworthy]] category by default.  [[#print|See below]] for what to do for those few incorrect names that are printworthy.
{{info|image=Stop hand nuvola.svg|Please do not alter the printworthy settings of this rcat without first notifying the '''[[WP:Version 1.0 Editorial Team|Version 1.0 Editorial Team]]''', who are responsible for any and all materials, including redirects, that go into a printed version of ''Wikipedia''.}}


With a correct name specified for all uses of this template, repair of links to the redirect page becomes simple: the link to the redirect page should be changed to link to the correct name.  Given the correct name is specified for each case below, it should always be easy to fix links to these redirects.
With a correct name specified for all uses of this template, repair of links to the redirect page becomes simple: the link to the redirect page should be changed to link to the correct name.  Given the correct name is specified for each case below, it should always be easy to fix links to these redirects.
Line 17: Line 19:
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
{{hatnote|Use this rcat template in '''any [[wp:namespace|namespace]]'''.}}
* Use this redirect category ([[WP:RCAT|rcat]]) template for any redirect from an incorrect article name to the correct name. Add this template to the redirect in the following manner:
* Use this redirect category ([[WP:RCAT|rcat]]) template for any redirect from an incorrect article name to the correct name. Add this template to the redirect in the following manner:
<pre>
#REDIRECT [[(target page name)]]
{{Rcat shell|
{{R from incorrect name}}
{{R unprintworthy}}
}}
</pre>
: Template {{tl|Rcat shell}} is an alias for the ''Redirect category shell'' template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect.  For more information see the documentation on its template page.  This rcat may also tag a redirect individually:
<pre>
<pre>
#REDIRECT [[(target page name)]]
#REDIRECT [[(target page name)]]
Line 23: Line 34:
</pre>
</pre>
: This is in accord with instructions found at [[Wikipedia:REDCAT]]
: This is in accord with instructions found at [[Wikipedia:REDCAT]]
* Template {{tl|This is a redirect}} may also be used to add this and up to seven appropriate rcats to a redirect.
* This template is '''not''' for simple punctuation differences use {{tl|R from modification}} ''instead''.
* Don't use this template for simple punctuation differences. Instead use {{tl|R from modification}} or one of its aliases such as {{tl|R mod}}.
* There is one unnamed parameter that may be used to specify the ''correct name'' when the target is different from the correct name or title:
* There is one unnamed parameter that specifies the optional ''correct name''.  It may be used when the target is different from the correct title:
<pre>
{{Rcat shell|
{{R from incorrect name|(correct name)}}
}}
</pre>
:''or'':
<pre>
<pre>
{{R from incorrect name|(correct name)}}
{{R from incorrect name|(correct name)}}
</pre>
</pre>
'''Example:'''
:''UK Cycling''[[File:Redirect arrow without text.svg|35px]]''British Cycling''  (the target, "British Cycling", is the name of an organisation)
<pre>
#REDIRECT [[British Cycling]]


'''When the redirect target is the ''correct name''''', then just use:
{{Rcat shell|
{{R from incorrect name}}
{{R unprintworthy}}
}}
</pre>
:''or'':
<pre>
<pre>
#REDIRECT [[British Cycling]]
{{R from incorrect name}}
{{R from incorrect name}}
</pre>
</pre>
 
:It is acceptable (however unnecessary and redundant) to specify the redirect target as the ''correct name'':
When the ''correct name'' is the target of the redirect, then use of the optional first parameter is redundant and unnecessary.
 
Example:
:''UK Cycling''[[File:Redirect arrow without text.svg|35px]]''British Cycling''  (the target, "British Cycling", is the name of an organisation)
<pre>
<pre>
#REDIRECT [[British Cycling]]
#REDIRECT [[British Cycling]]


{{R from incorrect name}}
{{Rcat shell|
{{R from incorrect name|British Cycling}}
{{R unprintworthy}}
}}
</pre>
</pre>
:It is acceptable but unnecessary to specify the redirect target as the ''correct name'':
:''or'':
<pre>
<pre>
#REDIRECT [[British Cycling]]
#REDIRECT [[British Cycling]]
Line 50: Line 76:
{{R from incorrect name|British Cycling}}
{{R from incorrect name|British Cycling}}
</pre>
</pre>
: This will change the wording from "The correct name is given by the target of the redirect," to "The correct name is {{Big|{{maroon|British Cycling}}}}."
: Both of the above will change the wording from "The correct name is given by the target of the redirect," to "The correct name is '''{{Big|British Cycling}}'''."


'''Redirect target only mentions subject'''
'''Redirect target only mentions subject:'''


When the target article just mentions the redirect title, then the correct usage is:
: If the target article just mentions the correct name and is not actually titled with it, then this rcat is used as follows:
<pre>
{{Rcat shell|
{{R from incorrect name|(correct name)}}
{{R unprintworthy}}
}}
</pre>
:''or'':
<pre>
<pre>
{{R from incorrect name|(correct name)}}
{{R from incorrect name|(correct name)}}
</pre>
</pre>
The ''correct name'' should ''also'' be a redirect page that redirects to the target page name.  That is, if this redirect is an incorrect name, and the target article is not the ''correct name'', there should be a matching redirect page that is titled with the ''correct name''.
:''The correct name should also be a redirect that targets the same article or other page name.'' That is, if this redirect is an incorrect name, and the target article is not the ''correct name'', there should be a matching redirect page that is titled with the ''correct name''.


Example:  
'''Example:'''
:''Virginia Western Coal and Iron Railroad''[[File:Redirect arrow without text.svg|35px]]''Virginia–Carolina Railway''; the correct name is '''Virginia Western Coal and Iron Railway''', which also redirects to the '''''Virginia–Carolina Railway''''' article:
:''Virginia Western Coal and Iron Railroad''[[File:Redirect arrow without text.svg|35px]]''Virginia–Carolina Railway''; the correct name is '''Virginia Western Coal and Iron Railway''', which also redirects to the '''''Virginia–Carolina Railway''''' article:
<pre>
<pre>
#REDIRECT [[Virginia–Carolina Railway]]
#REDIRECT [[Virginia–Carolina Railway]]


{{Rcat shell|
{{R from incorrect name|Virginia Western Coal and Iron Railway}}
{{R from incorrect name|Virginia Western Coal and Iron Railway}}
{{R unprintworthy}}
}}
</pre>
</pre>
: This will change the wording to "The correct name is {{maroon|<big>Virginia Western Coal and Iron Railway</big>}}."
: This will change the wording to "The correct name is '''{{big|Virginia Western Coal and Iron Railway}}'''."


'''Redirect targets a #section or #anchor'''
'''Redirect targets a #section or #anchor:'''


When the redirect is to a section or anchor within an article, then the correct usage is:
: When the redirect is to a section or anchor within an article, then the correct usage is:
<pre>
<pre>
#REDIRECT [[(target page)#(section or anchor title)]]
#REDIRECT [[(target page)#(section or anchor title)]]


{{Rcat shell|
{{R from incorrect name|(correct name)}}
{{R from incorrect name|(correct name)}}
{{R to section}} (or {{R to anchor}} if not a section title)
{{R unprintworthy}}
}}
</pre>
</pre>
The ''correct name'' is expected to be either the anchor/section title, or a redirect page that also redirects to that same anchor/section of the target page.  That is, if the redirect is an incorrect name, and the target page title, anchor title, or section header is not the correct name (the correct name is down in the text), then there should be a matching redirect titled with the ''correct name''.
: The ''correct name'' is expected to be either the anchor/section title, or a redirect page that also redirects to that same anchor/section of the target page.  That is, if the redirect is an incorrect name, and the target page title, anchor title, or section header is not the correct name (the correct name is down in the page content), then there should be a matching redirect titled with the ''correct name''.
 
'''[[WP:Printability|Printability]]:'''


* {{anchor|print}}By default, this template sorts redirects into the {{c|Unprintworthy redirects}} category. Sometimes an incorrect title might be the correct name of another subject that has possibilities, that is, a subject that may have its own article someday.  To tag and categorize such an "incorrect-name" redirect as printworthy, use the 2nd parameter in the following manner:
: {{anchor|print}}By default, this template sorts redirects into the {{c|Unprintworthy redirects}} category. There might be the occasional case where an incorrect name is still a good search term. Also, an incorrect title might be the correct name of another subject that has possibilities, that is, a subject that may have its own article someday.  To tag and categorize such an "incorrect-name" redirect as printworthy, use the unnamed 2nd parameter in the following manner:
<pre>
<pre>
{{R from incorrect name|2=printworthy}}
{{Rcat shell|
   or:
{{R from incorrect name||printworthy}}
{{R with possibilities}}
{{R printworthy}}
}}
 
   (note the two pipes together for an "empty" first parameter) or:
 
{{Rcat shell|
{{R from incorrect name|(correct name)|printworthy}}
{{R from incorrect name|(correct name)|printworthy}}
  or:
{{R with possibilities}}
{{R from incorrect name||printworthy}}
{{R printworthy}}
}}
</pre>
</pre>
:: <small>'''Note:'''  The bar key ( '''&brvbar;''' ) on the keyboard renders as a pipe ( '''&#124;''' ) on the screen.  Also, note the two pipes side-by-side in the third example above – this indicates an "empty first parameter".</small>
: That will subdue the default unprintworthy category and populate {{Cat|Printworthy redirects}} ''instead''.  This must be done if {{tl|R with possibilities}} is also used on the redirect.  Otherwise, the redirect will be sorted to both ''Printworthy redirects'' and ''Unprintworthy redirects'' categories, an undesirable situation.
: That will subdue the default unprintworthy category and populate {{Cat|Printworthy redirects}}.  This must be done if {{tl|R with possibilities}} is also used on the redirect.  Otherwise, the redirect will be sorted to both ''Printworthy'' and ''Unprintworthy'' categories.


==== Aliases ====
==== Aliases ====
* <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Special:WhatLinksHere/Template:R_from_incorrect_name&hidetrans=1&hidelinks=1&limit=500 Also known as...]</span> – list of templates that redirect here and may also be used
* <span class="plainlinks">[{{fullurl:Special:WhatLinksHere/Template:R_from_incorrect_name|hidetrans=1&hidelinks=1&limit=500}} Also known as...]</span> – list of templates that redirect here and may also be used


=== See also ===
=== See also ===
* {{tl|R from less specific name}}
* {{tl|R from more specific name}}
* {{tl|R from alternative name}}
* {{tl|R from alternative name}}
* {{tl|R from non-neutral name}}
* {{tl|R from non-neutral name}}
Line 101: Line 152:
{{R template index}}
{{R template index}}


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<includeonly>{{Sandbox other||
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
[[Category:All redirect templates]]
[[Category:Redirect templates|Incorrect name]]
[[Category:Redirect templates|Incorrect name]]
[[Category:Redirects from incorrect names| ]]
[[Category:Redirects from incorrect names| ]]
Line 111: Line 161:
[[Category:Printworthy redirects| ]]
[[Category:Printworthy redirects| ]]


}}</includeonly>
}}</includeonly> <noinclude>
[[Category:Rcat template documentation pages|Incorrect name]]
</noinclude>

Latest revision as of 14:40, 3 September 2020

Purpose

This template marks a redirect as one that should not be used as a link, and this template provides the correct name. Any link to a redirect page transcluding this template should be changed to the correct name without piping that would hide the correct title.

This template automatically sorts the redirect into the following categories:

In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Redirects from incorrect names are not usually suitable for a printed version, so they are sorted to the Unprintworthy category by default. See below for what to do for those few incorrect names that are printworthy.

With a correct name specified for all uses of this template, repair of links to the redirect page becomes simple: the link to the redirect page should be changed to link to the correct name. Given the correct name is specified for each case below, it should always be easy to fix links to these redirects.

Usage

Use this rcat template in any namespace.
  • Use this redirect category (rcat) template for any redirect from an incorrect article name to the correct name. Add this template to the redirect in the following manner:
#REDIRECT [[(target page name)]]

{{Rcat shell|
{{R from incorrect name}}
{{R unprintworthy}}
}}
Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[(target page name)]]

{{R from incorrect name}}
This is in accord with instructions found at Wikipedia:REDCAT
  • This template is not for simple punctuation differences – use {{R from modification}} instead.
  • There is one unnamed parameter that may be used to specify the correct name when the target is different from the correct name or title:
{{Rcat shell|
{{R from incorrect name|(correct name)}}
}}
or:
{{R from incorrect name|(correct name)}}

Example:

UK CyclingBritish Cycling (the target, "British Cycling", is the name of an organisation)
#REDIRECT [[British Cycling]]

{{Rcat shell|
{{R from incorrect name}}
{{R unprintworthy}}
}}
or:
#REDIRECT [[British Cycling]]

{{R from incorrect name}}
It is acceptable (however unnecessary and redundant) to specify the redirect target as the correct name:
#REDIRECT [[British Cycling]]

{{Rcat shell|
{{R from incorrect name|British Cycling}}
{{R unprintworthy}}
}}
or:
#REDIRECT [[British Cycling]]

{{R from incorrect name|British Cycling}}
Both of the above will change the wording from "The correct name is given by the target of the redirect," to "The correct name is British Cycling."

Redirect target only mentions subject:

If the target article just mentions the correct name and is not actually titled with it, then this rcat is used as follows:
{{Rcat shell|
{{R from incorrect name|(correct name)}}
{{R unprintworthy}}
}}
or:
{{R from incorrect name|(correct name)}}
The correct name should also be a redirect that targets the same article or other page name. That is, if this redirect is an incorrect name, and the target article is not the correct name, there should be a matching redirect page that is titled with the correct name.

Example:

Virginia Western Coal and Iron RailroadVirginia–Carolina Railway; the correct name is Virginia Western Coal and Iron Railway, which also redirects to the Virginia–Carolina Railway article:
#REDIRECT [[Virginia–Carolina Railway]]

{{Rcat shell|
{{R from incorrect name|Virginia Western Coal and Iron Railway}}
{{R unprintworthy}}
}}
This will change the wording to "The correct name is Virginia Western Coal and Iron Railway."

Redirect targets a #section or #anchor:

When the redirect is to a section or anchor within an article, then the correct usage is:
#REDIRECT [[(target page)#(section or anchor title)]]

{{Rcat shell|
{{R from incorrect name|(correct name)}}
{{R to section}} (or {{R to anchor}} if not a section title)
{{R unprintworthy}}
}}
The correct name is expected to be either the anchor/section title, or a redirect page that also redirects to that same anchor/section of the target page. That is, if the redirect is an incorrect name, and the target page title, anchor title, or section header is not the correct name (the correct name is down in the page content), then there should be a matching redirect titled with the correct name.

Printability:

By default, this template sorts redirects into the Unprintworthy redirects category. There might be the occasional case where an incorrect name is still a good search term. Also, an incorrect title might be the correct name of another subject that has possibilities, that is, a subject that may have its own article someday. To tag and categorize such an "incorrect-name" redirect as printworthy, use the unnamed 2nd parameter in the following manner:
{{Rcat shell|
{{R from incorrect name||printworthy}}
{{R with possibilities}}
{{R printworthy}}
}}

  (note the two pipes together for an "empty" first parameter) or:

{{Rcat shell|
{{R from incorrect name|(correct name)|printworthy}}
{{R with possibilities}}
{{R printworthy}}
}}
That will subdue the default unprintworthy category and populate Category:Printworthy redirects instead. This must be done if {{R with possibilities}} is also used on the redirect. Otherwise, the redirect will be sorted to both Printworthy redirects and Unprintworthy redirects categories, an undesirable situation.

Aliases

See also