Template:R from move/doc: Difference between revisions

From HIBIKIFORUM
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
Line 8: Line 8:
* 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:


<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[(target page name)]]
#REDIRECT [[(target page name)]]


Line 14: Line 14:
{{R from move}}
{{R from move}}
}}
}}
</syntaxhighlight>
</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:
: 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:


<syntaxhighlight lang="wikitext">
<pre>
#REDIRECT [[(target page name)]]
#REDIRECT [[(target page name)]]
 
{{R from move}}
{{R from move}}
</syntaxhighlight>
</pre>


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

Revision as of 06:57, 13 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)]]

{{Redirect category shell|
{{R from move}}
}}
Template {{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:
#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