Template:R from move/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} __NOTOC__ === Usage === Use this rcat template in '''any namespace'''. * This redirect category (rcat) template populates {{c|Redirects from moves|Category:Redirects from moves}}, which is used to track all page moves that, if a redirect had not been left behind, would result in the breakage of links, both internal wikilinks and external internet website links. See wik...") |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
Use this rcat template in '''any [[wikipedia:namespace|namespace]]'''. | {{Small|Use this rcat template in '''any [[wikipedia:namespace|namespace]]'''.}} | ||
* This redirect category ([[wikipedia:RCAT|rcat]]) template populates {{ | * This redirect category ([[wikipedia:RCAT|rcat]]) template populates {{Cat|Redirects from moves}}, which is used to track all page moves that, if a redirect had not been left behind, would result in the breakage of links, both internal [[wikipedia:wikilink|wikilink]]s and external [[wikipedia:URL|internet website links]]. See [[wikipedia:LINKROT]]. | ||
* For all [[wikipedia:redirect pages|redirect]]s that have a page move logged on their history page(s), add this rcat in the following manner: | * For all [[wikipedia:redirect pages|redirect]]s that have a page move logged on their history page(s), add this rcat in the following manner: | ||
{{Pre| | |||
#REDIRECT | {{fcb|#2e8b57|#REDIRECT}} {{!((}}{{fcb|#2e8b57|target page name}}]] | ||
{{ | {{{{fcb|#4169e1|Rcat shell}}| | ||
{{R from move}} | {{((}}{{fcb|#2e8b57|R from move}}{{))}} | ||
}} | }} }} | ||
: Template {{tl| | : 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 redairect. For more information see the documentation on its template page. This rcat may also tag a redirect individually: | ||
{{Pre| | |||
#REDIRECT | {{fcb|#2e8b57|#REDIRECT}} {{!((}}{{fcb|#2e8b57|target page name}}]] | ||
{{R from move}} | {{((}}{{fcb|#4169e1|R from move}}{{))}} | ||
}} | |||
* Use this rcat to tag any redirect in any namespace that has a [[wikipedia:Moving pages|page move (rename)]] logged in their [[wikipedia:Help:page history|page history]] (this should be checked at least three pages back into the page history, a check which takes just a few seconds). This tagging has become automated; however, there are still many older redirects from moves that need to be manually tagged by this rcat. | * Use this rcat to tag any redirect in any namespace that has a [[wikipedia:Moving pages|page move (rename)]] logged in their [[wikipedia:Help:page history|page history]] (this should be checked at least three pages back into the page history, a check which takes just a few seconds). This tagging has become automated; however, there are still many older redirects from moves that need to be manually tagged by this rcat. | ||
Line 27: | Line 27: | ||
=== Error detection and correction === | === Error detection and correction === | ||
Whenever page moves result in the inadvertent [[wikipedia:Help:talk page|talk page]] redirect that targets a different page than the talk page of the [[wikipedia:subject page|subject-page]] redirect's target, then the talk page and the subject page will not be synchronized, and this template will also populate: | Whenever page moves result in the inadvertent [[wikipedia:Help:talk page|talk page]] redirect that targets a different page than the talk page of the [[wikipedia:subject page|subject-page]] redirect's target, then the talk page and the subject page will not be synchronized, and this template will also populate: | ||
* {{ | * {{Cat|Unsynchronized talk page redirects}} | ||
=== TemplateData === | === TemplateData === | ||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 41: | Line 40: | ||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category: | [[Category:Rcat templates]] | ||
}}}}</includeonly> | }}}}</includeonly> |
Latest revision as of 01:27, 20 August 2023
It contains usage information, categories and other content that is not part of the original template page.
|
Usage
Use this rcat template in any namespace.
- This redirect category (rcat) template populates Category:Redirects from moves, which is used to track all page moves that, if a redirect had not been left behind, would result in the breakage of links, both internal wikilinks and external internet website links. See wikipedia:LINKROT.
- For all redirects that have a page move logged on their history page(s), add this rcat in the following manner:
#REDIRECT [[target page name]] {{Rcat shell| {{R from move}} }}
- 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 redairect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:
#REDIRECT [[target page name]] {{R from move}}
- Use this rcat to tag any redirect in any namespace that has a page move (rename) logged in their page history (this should be checked at least three pages back into the page history, a check which takes just a few seconds). This tagging has become automated; however, there are still many older redirects from moves that need to be manually tagged by this rcat.
Error detection and correction
Whenever page moves result in the inadvertent talk page redirect that targets a different page than the talk page of the subject-page redirect's target, then the talk page and the subject page will not be synchronized, and this template will also populate:
TemplateData
Places this redirect in the category [[Category:Redirects from moves]]. It takes no parameters.
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |