Template:R from merge/doc

From English Wikipedia @ Freddythechick


Usage

  • This redirect category (rcat) template is used to tag any redirect page in any namespace that results when a page is merged into another page. This rcat populates Category:Redirects from merges, which is used to track all page merges that might result in the breakage of links, both internal and external, if a redirect is not installed properly.
  • For any redirect found that was left behind from a page merge and has not been so sorted, add this rcat in the following manner:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target page name)

</syntaxhighlight>

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:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target page name)


  • From a merge: This is a redirect from a page that was merged into another page. This redirect was kept in order to preserve the edit history of this page after its content was merged into the content of the target page. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated) or delete this page.

</syntaxhighlight>

This is in accord with instructions found at Wikipedia:REDCAT.
  • If this page was merged into a page that is different from the target page, then the unnamed parameter may be used to note the name of the other page in the following manner:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target page name)

</syntaxhighlight>

or the <syntaxhighlight lang="text" class="" style="" inline="1">1=</syntaxhighlight> may be omitted:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target page name)

</syntaxhighlight>

and when used individually:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

  • If the content of the redirect page has been merged to a specific section, list entry or anchor, then also use one of the following to categorize the redirect as appropriate:
  • If the merged page had the same or very similar content as the target page, then instead apply:
  • Any redirect in any namespace that has a substantive page history that was not the result of a page merge may be tagged with the {{R with history}} rcat instead.

Aliases

Printworthiness

  • In main-article namespace, many redirects from merged pages are considered unprintworthy; however, there are many others that are printworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this rcat, do not, and that means it is up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated. The rcats that are used separately to populate those categories are:
Please click on each one for more details and guidance.
Examples:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:R from merge in articles based on its TemplateData.

TemplateData for R from merge

This redirect category (rcat) template is used to tag any redirect page in any namespace that results when a page is merged into another page.

Template parameters

ParameterDescriptionTypeStatus
Page content was merged into1

Title of page into which this former content page was merged, if different from the redirect target page.

Page nameoptional

See also