Template:R from incorrect name/doc: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Josh Parris copyedit |
meta>Josh Parris Rationale |
||
Line 4: | Line 4: | ||
# when linking to article where '''the subject is only mentioned in the target article'''. In this case, the correct use is <nowiki>{{R from incorrect name|Correct Name}}</nowiki>, and <nowiki>[[Correct Name]]</nowiki> is expected to be a redirect page also redirecting to <nowiki>[[TargetPage]]</nowiki>. That is, if this redirect is an incorrect name but the target article isn't the correct name, there should be a matching redirect for the correct name. | # when linking to article where '''the subject is only mentioned in the target article'''. In this case, the correct use is <nowiki>{{R from incorrect name|Correct Name}}</nowiki>, and <nowiki>[[Correct Name]]</nowiki> is expected to be a redirect page also redirecting to <nowiki>[[TargetPage]]</nowiki>. That is, if this redirect is an incorrect name but the target article isn't the correct name, there should be a matching redirect for the correct name. | ||
# when '''linking to a section or anchor within an article''', where the <nowiki>#REDIRECT[[TargetPage#section name]]</nowiki> is used. In this case, the correct use is <nowiki>{{R from incorrect name|Correct Name}}</nowiki>, and <nowiki>[[Correct Name]]</nowiki> is expected to be a redirect page also redirecting to <nowiki>[[TargetPage#section name]]</nowiki>. That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name. | # when '''linking to a section or anchor within an article''', where the <nowiki>#REDIRECT[[TargetPage#section name]]</nowiki> is used. In this case, the correct use is <nowiki>{{R from incorrect name|Correct Name}}</nowiki>, and <nowiki>[[Correct Name]]</nowiki> is expected to be a redirect page also redirecting to <nowiki>[[TargetPage#section name]]</nowiki>. That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name. | ||
The reason these three conditions exist is to make repairing links to the redirect page simple: the link to the redirect page should be changed to the link to the correct page. Given the correct page is specified for each case above, it should always be easy to fix links to this incorrect name. | |||
This template inserts the redirect into the following categories: | This template inserts the redirect into the following categories: |
Revision as of 12:37, 10 January 2010
There are three uses for this template:
- when the correct name is the target of the redirect. In this case, just use {{R from incorrect name}}; the correct name is already available as an article.
- when linking to article where the subject is only mentioned in the target article. In this case, the correct use is {{R from incorrect name|Correct Name}}, and [[Correct Name]] is expected to be a redirect page also redirecting to [[TargetPage]]. That is, if this redirect is an incorrect name but the target article isn't the correct name, there should be a matching redirect for the correct name.
- when linking to a section or anchor within an article, where the #REDIRECT[[TargetPage#section name]] is used. In this case, the correct use is {{R from incorrect name|Correct Name}}, and [[Correct Name]] is expected to be a redirect page also redirecting to [[TargetPage#section name]]. That is, if this redirect is an incorrect name, there should be a matching redirect for the correct name.
The reason these three conditions exist is to make repairing links to the redirect page simple: the link to the redirect page should be changed to the link to the correct page. Given the correct page is specified for each case above, it should always be easy to fix links to this incorrect name.
This template inserts the redirect into the following categories:
- Category:Redirects from incorrect names semantically, these redirects should never be used; only the correct name should ever be used
- Category:Redirect templates
- Category:Unprintworthy redirects Unprintworthy redirects would not be used in a printed version; for example, no unprintworthy redirect would be used in an index for a printed encyclopedia
- Category:All redirect templates
For other redirect templates of this type, see Wikipedia:Template messages/Redirect pages