Template:R from move/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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 {{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 [[wikipedia:wikilink|wikilink]]s and external [[URL|internet website links]]. See [[wikipedia:LINKROT]].
* 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>
{{Pre|
#REDIRECT [[(target page name)]]
{{fcb|#2e8b57|&#35;REDIRECT}} {{!((}}{{fcb|#2e8b57|target page name}}]]


{{Redirect category shell|
{{{{fcb|#4169e1|Rcat shell}}|
{{R from move}}
{{((}}{{fcb|#4169e1|R from move}}{{))}}
}}
}} }}
</pre>
: Template {{tl|Redirect category shell}} allows the adding of 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>
: 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:
#REDIRECT [[(target page name)]]


{{R from move}}
{{Pre|
</pre>
{{fcb|#2e8b57|&#35;REDIRECT}} {{!((}}{{fcb|#2e8b57|target page name}}]]
{{((}}{{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:
* {{c|Unsynchronized talk page redirects|Category:Unsynchronized talk page redirects}}
* {{Cat|Unsynchronized talk page redirects}}
   
   
=== TemplateData ===
=== TemplateData ===
<templatedata>
<templatedata>
{
{
Line 42: Line 41:
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Templates]]
[[Category:Templates]]
[[Category:Utility Templates]]
[[Category:Rcat Templates]]
}}}}</includeonly>
}}}}</includeonly>

Revision as of 05:44, 18 June 2023

Light bulb.png }}
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.

#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.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified