Jump to content

Template:Redirect template/testcases

From Wikipedia, the free encyclopedia

Inside Rcat shell

By template

Grammar, punctuation, and spelling

Abbreviation

  • To an acronym: This is a redirect to an acronym from its expanded form.
  • From an acronym: This is a redirect from an acronym to a related topic, such as the expansion of the acronym.
    • Remember that an acronym is a special type of initialism that can be spoken as a word, such as "NATO" or "radar" or "ANOVA".
    • Use {{R from initialism}} for abbreviations that have letters that are pronounced separately, such as "OAU" or "USSR" or "DoD".
  • From an initialism: This is a redirect from an initialism to a related topic, such as the expansion of the initialism.
  • From an ISO 4 abbreviation: This is a redirect from an ISO 4 publication title abbreviation to the unabbreviated publication title, or an article containing information about the publication.
    • In cases of an ISO 4 abbreviation with partially missing dots, or dots used inappropriately, please use {{R from misspelling}}.
  • From a MathSciNet abbreviation: This is a redirect from a MathSciNet publication title abbreviation to the unabbreviated publication title, or an article containing information about the publication.
    • In cases of an MathSciNet abbreviation with partially missing dots, or dots used inappropriately, please use {{R from misspelling}}.
  • From a NLM abbreviation: This is a redirect from a NLM publication title abbreviation to the unabbreviated publication title, or an article containing information about the publication.
    • In cases of an NLM abbreviation with partially missing dots, or dots used inappropriately, please use {{R from misspelling}}.

Capitalisation

  • From a camel case title: This is a redirect from a camel case page name. In the initial versions of Wikipedia, all links had to be "CamelCase", i.e., words that used medial capitals; they are "two-humped" like a Bactrian camel. These are kept as redirects to maintain edit history and to avoid breaking links that may have been made externally.
  • From other capitalisation: This is a redirect from a title with another method of capitalisation. It leads to the title in accordance with the Wikipedia naming conventions for capitalisation, or it leads to a title that is associated in some way with the conventional capitalisation of this redirect title. This may help writing, searching and international language issues.
    • If this redirect is an incorrect capitalisation, then {{R from miscapitalisation}} should be used instead, and pages that use this link should be updated to link directly to the target. Miscapitalisations can be tagged in any namespace.
    • Use this rcat to tag only mainspace redirects; when other capitalisations are in other namespaces, use {{R from modification}} instead.

Grammar & punctuation

  • From the plural form: This is a redirect from a plural noun to its singular form.
    • This redirect link is used for convenience; it is often preferable to add the plural directly after the link (for example, [[link]]s). However, do not replace these redirected links with a simpler link unless the page is updated for another reason (see WP:NOTBROKEN).
    • Use this rcat to tag only mainspace redirects; when plural forms are found in other namespaces, use {{R from modification}} instead.
  • To its plural form: This is a redirect from a singular noun to its plural form.
    • Redirects of this sort exist for reader convenience in cases of singular–plural pairs. It is also used for "false singulars", wherein the plural or plural-looking form is better attested in usage, such that the normal "prefer the singular" Wikipedia naming convention is not followed. Examples:
    • Use this rcat to tag qualified mainspace redirects only; if qualified singular forms are found in other namespaces, use {{R from modification}} instead.

Parts of speech

  • From a proper noun: This is a redirect from a proper noun, a noun that begins with an upper-case letter (such as "Africa"), to a related word or topic that may or may not use a proper noun in its title.

Spelling

  • From the same page name with diacritics: This is a redirect from a page name that has diacritical marks (accents, umlauts, etc.) to essentially the same page name without those marks or a "List of..." page anchored to a promising list item name without diacritics.
    • Apply this redirect (without piping) when the subject page concerns language translation or foreign language equivalents. Other pages that use this redirect should be updated with a direct link to the redirect target (again, without piping).
    • Sort these redirects with {{DEFAULTSORT:(title without diacritics)}} and be sure to use a colon ( : ) rather than a pipe ( | ) to access the magic word directly.
    • This rcat can also be used on redirects to sections and anchors to indicate the diacritics version of a term/name written both ways.
  • To the same page name with diacritics: This is a redirect from a page name that does not have diacritical marks (accents, umlauts, etc.) to essentially the same page name with diacritical marks or a "List of..." page anchored to a promising list item name with diacritics. The correct form is given by the target of the redirect.
    • This redirect aids in searches and may be applied (without piping) when the subject page concerns language translation or foreign language equivalents. Other pages that use this redirect should be updated with a direct link to the redirect target (again, without piping).
    • This rcat template must not be used to tag redirects to a title with differences that are 1: ligatures (like æ and Œ – use {{R to ligature}} instead), or 2: other non-ASCII characters that do not include diacritics (like Greek letters – use {{R from ASCII-only}} instead).
    • This rcat template can also be used on redirects to sections and anchors to indicate the diacritics-free version of a term/name written both ways.
  • From a title with ligatures: This is a redirect from a page name that has ligatures – (Æ or æ; Œ or œ; IJ or ij, or ß) – to essentially the same page name without ligatures.
    • Apply this redirect (without piping) when the subject page concerns language translation or foreign language equivalents. Other pages that use this redirect should be updated with a direct link to the redirect target (again, without piping).
    • Always sort these redirects with {{DEFAULTSORT:(title without ligatures)}} on the first new line after the categorization template(s).
  • From a title without ligatures: This is a redirect from a page name that replaces ligatures – (Æ or æ; Œ or œ; IJ or ij, or ß) – with their English language equivalents.
    • Apply this redirect (without piping) when the subject page concerns language translation or foreign language equivalents. Other pages that use this redirect should be updated with a direct link to the redirect target (again, without piping).
    • This redirect is used for searches and leads to its target in accordance with Wikipedia naming conventions.
    • This rcat template must not be used to tag redirects to a title with differences that are 1: diacritics (like ◌̈ and ◌́ – use {{R to diacritic}} instead), or 2: other non-ASCII characters that do not include ligatures (use {{R from ASCII-only}} instead).
  • To an embedded anchor: This is a redirect from a topic that does not have its own page to an embedded anchor on the redirect's target page.
    • An {{anchor|(anchor name)}} or {{visible anchor}} template, a HTML element with id="(anchor name)", or an |id=(anchor name) parameter might be installed at the beginning of a paragraph, in or near a section header or within a table. The anchor might also be an old section header that has been edited and is anchored within or near the new header to prevent broken internal and external links.
    • Even though section headers of the general form ==(Header name)== are themselves a type of anchor, use {{R to section}} instead.

Error in Module:R avoided double redirect: No other page was specified.

  • To a list entry: This is a redirect to a list in which the subject is an entry.
    • For redirects from a topic to a related list and not to an entry on that list, use {{R from list topic}} instead.
  • Mentioned in a hatnote: This is a redirect from a title that is mentioned in a hatnote at the redirect target. The mention is usually atop the target article. It may, however, be directly under a section header, or in another article's hatnote (whenever the hatnote is under a section, {{R to section}} should also be used).
    • The titles of redirects mentioned in hatnotes may refer to a subject other than that of the target page. It is possible that this redirect may need to be retargeted, or become an article under its own title (see {{R with possibilities}}). If the title is a good candidate for a Wiktionary link, it may also be added.
  • From a shortcut: This is a redirect from a shortcut in any namespace to a page in any namespace.
    • Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in mainspace articles.
  • From a shortcut: This is a redirect from a shortcut in any namespace to a page in any namespace.
    • Shortcuts are wikilinked on community pages, talk pages, and edit summaries, but not in mainspace articles.

Disambig

  • From an ambiguous term: This is a redirect from an ambiguous page name to a page or list that disambiguates it. These redirects are pointed to by links that should always be disambiguated. Therefore, this template should never appear on a page that has "(disambiguation)" in its title – in that case use {{R to disambiguation page}} instead.
  • To a disambiguation page: This is a redirect to a disambiguation page. This redirect is intended for use in links from other articles that need to refer to the disambiguation page, rather than be disambiguated. Therefore, this template should only appear on a redirect page that has "(disambiguation)" at the end of its title. Ambiguous titles that do not have page names ending with "(disambiguation)" should use {{R from ambiguous term}} instead. For disambiguations that later prove to still be ambiguous (e.g. "(painter)" when there are multiple notable painters by the same name) and which redirect to disambiguation pages, then {{R from incomplete disambiguation}} is the appropriate rcat template.
  • From incomplete disambiguation: This is a redirect from an incomplete disambiguation, a page name that is too ambiguous to be the title of an article or other project page. Such titles should redirect to an appropriate disambiguation page (or section of it), or to a more complete disambiguation.
  • From incorrect disambiguation: This is a redirect from a page name with incorrect disambiguation due to a typographical error, a format that does not follow Wikipedia convention or a previous editorial misconception.
  • From predictable disambiguation: This is a redirect from a page name with parenthetical disambiguation that will appear in search predictions for an ambiguous term that readers are likely to search, to a page name using natural disambiguation that otherwise would not appear in predictions for the probable search term.
    • When the redirect and its target have the same base page name and only the disambiguation qualifier is different, use {{R from other disambiguation}} instead.

Merge, duplicate and move

  • From a duplicated article: This is a redirect from a page on the same or very similar subject matter that was kept as a redirect to preserve this page's edit history after the content was merged.
    • Please do not delete this redirect nor remove this tag unless the need to recreate this article is demonstrated.
  • With history: This is a redirect from a page containing substantive page history. This page is kept as a redirect to preserve its former content and attributions. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated), nor delete this page.
    • This template should not be used for redirects having some edit history but no meaningful content in their previous versions, nor for redirects created as a result of a page merge (use {{R from merge}} instead), nor for redirects from a title that forms a historic part of Wikipedia (use {{R with old history}} instead).
  • 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.
  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
  • With old history: This is a redirect from a page that was from a historic version of this Wikipedia project.

To namespaces

  • To a help page: This is a redirect from any page inside or outside of help namespace to a page in that namespace.


Alternative names

General

language codes

  • From an alternative name: This is a redirect from a title that is another name or identity such as an alter ego, a nickname, or a synonym of the target, or of a name associated with the target.
    • This redirect leads to the title in accordance with the naming conventions for common names to aid searches and writing. It is not necessary to replace these redirected links with a piped link.
    • If this redirect is an incorrect name for the target, then {{R from incorrect name}} should be used instead.
  • From a former name: This is a redirect from a former name or working title of the target topic to the new name that resulted from a name change.
  • From an incorrect name: This is a redirect from an incorrect name, that serves readers as a good search term. The correct name is given by the target of the redirect.
    • Pages that use this link should be updated to link directly to the target without the use of a piped link that hides the correct details.
  • From a longer title: This is a redirect from a title that is a complete, more complete or longer version of the topic's name. It leads to the title in accordance with the naming conventions for common names and can help writing and searches. However, do not replace these redirected links with a piped link unless the page is updated for another reason.
  • From a portmanteau: This is a redirect from a portmanteau to a related topic, such as the expansion of the portmanteau. The expanded form is given by the target of the redirect.
    • Use {{R from short name}}, instead, for abbreviations that are shortened names but not portmanteaus.
  • From a short name: This is a redirect from a title that is a shortened form of a more complete page title, such as a person's full name or the unbroken title of a written work.
  • From an ambiguous sort name: This is a redirect from an ambiguous sort name to a page or list that disambiguates it. These redirects are pointed to by links that should always be disambiguated. Therefore, this template should never appear on a page that has "(disambiguation)" in its title unless the target page also has "(disambiguation)" in its title. For those redirects use {{R to disambiguation page}} instead.


  • From a less specific name: This is a redirect from a title that is a less specific name to a more specific, less general one.
    • It may be a less specialized term, a broader usage, a generic term or simply be worded less narrowly. It leads to the title in accordance with the naming conventions for common names and can help writing and searches. It is not necessary to replace these redirected links with a piped link.
    • Such names often indicate that a broader, overview article needs to be written. For such redirects {{R with possibilities}} should also be added.
  • From a more specific name: This is a redirect from a title that is a more specific name to a less specific, more general one.
    • It may be a more specialized term, include extraneous identifiers, or simply be worded more narrowly. It leads to the title in accordance with the naming conventions for common names and can help writing and searches. It is not necessary to replace these redirected links with a piped link.
  • From a number in Roman numerals: This is a redirect from a title in Roman numerals to a title in Arabic numerals. It leads to the title in accordance with the naming conventions for common names and can help writing and searches. However, do not replace these redirected links with a piped link unless the page is updated for another reason.
  • From an antonym: This is a redirect from a page that is an antonym or opposite of the target page.

People

  • From birth name: This is a redirect from a person's birth name (née or) to a more common name or a related topic.
    • Use this rcat to tag mainspace redirects when the title matches the subject's name given to them at birth. If the redirect is from a personal name that differs from the birth name, then use {{R from personal name}} instead. In either case, be sure to include {{DEFAULTSORT:(surname), (given name)}} for correct category sorting of this person's name.
  • To a joint biography: This is a redirect from one person's name to a biographical article that includes this person along with one or more other persons.
    • Be sure to include {{DEFAULTSORT:(surname), (given name)}} for correct category sorting of this person's name.
  • From name with title: This is a redirect from a person's name (typically surname) preceded (or followed) by a title, such as "Mayor Smith" or "Cardinal Doe" to the name with no title or with the title in parentheses.
  • From personal name: This is a redirect from an individual's personal name to an article titled with the subject's professional stage name, pen name, or other better known moniker.
    • This redirect leads to the title in accordance with the naming conventions for common names; it may help writing and aid searches. It is not necessary to replace these redirected links with a piped link.
    • If this is the name of a living person, then one or more reliable sources must be included in the target article that will support the existence of this personal name, or else a reference(s) must be added to this redirect's talk page. This is in accord with Wikipedia's biography of living persons (BLP) policy, which applies to all Wikipedia pages, to include redirects.
    • Use this rcat only on redirects that are in Wikipedia's main-article namespace, and only when the personal name differs from the subject's name when born. If the redirect title is the subject's birth name, use {{R from birth name}} instead.

Technical

  • From a filename: This is a redirect from a title that is a filename of the target.
    • It leads to the title in accordance with the naming conventions for common names and can help writing and searches. It is not necessary to replace these redirected links with a piped link.
  • From a Java package name: This is a redirect from a Java package name, or the fully-qualified name of a Java class or interface, to the software project or language feature that provides that package, or the computer-science concept that it implements.

Organisms

  • To a monotypic taxon: This is a redirect from the only lower-ranking member of a monotypic taxon to its monotypic taxon. In a biology-related article, when for example a genus has only one species, the binomial name may be a redirect to the genus.
    • Use {{R from monotypic taxon}} instead when making a redirect from a monotypic taxon to its only member, for example, from a family name to its sole genus.
  • From a monotypic taxon: This is a redirect from a monotypic taxon to its only lower-ranking member. In a biology-related article, when for example a family has only one genus, the family may be a redirect to the genus.
    • Use {{R to monotypic taxon}} when making a redirect to a monotypic taxon from its only member, for example, from a species to the genus of which it is the only member.

Geography

  • From a postal code: This is a redirect from a postal code to its assigned geographic area.

Miscellaneous

Fiction

  • From a fictional character: This is a redirect from a fictional character to a related fictional work or list of characters. The destination may be an article about a related fictional work that mentions this character, a standalone list of characters, or a subsection of an article or list.
  • From a fictional element: This is a redirect from a fictional element (such as an object or concept) to a related fictional work or list of similar elements. The destination may be an article about a related fictional work that mentions this element, a subsection, or a standalone list of elements.
  • From a fictional location: This is a redirect from a fictional location or setting to a related fictional work or list of places. The destination may be an article about a related fictional work that mentions this place, a subsection, or a standalone list of settings.
  • From an album: This is a redirect from an album or EP to a related topic such as the recording artist or a list of albums.
  • From a book: This is a redirect from a book title to a more general, relevant article, such as the author or publisher of the book or to its title in an alternative language.
  • To a decade: This is a redirect from a year (or years) to to the associated decade article. Years from 1700 to 500 BCE should redirect to the relevant decade per Wikipedia:Timeline standards.
    • Do not replace these redirected links with a link directly to the target page. Individual articles may be created for these years in the future.
  • From a domain name: This is a redirect from a domain name to an article about an associated entity or website, which is more often referred to by its official name than by its domain name.
    • Use this redirect link (without piping) when the link in the context specifically concerns the website. Other pages using this link should be updated to replace the text with the redirect target (again, without piping).
    • Use the |domain= parameter to specify the top-level domain name, for categorisation.
  • From a top-level domain: This is a redirect from a top-level domain to an article about a website (or the company that hosts it) that is more often referred to by its short name or company name rather than its top-level domain name.
    • Use this redirect link (without piping) when the link in the context specifically concerns the website. Other pages using this link should be updated to replace the text with the redirect target (again, without piping).
  • From a film: This is a redirect from a film title that is a subtopic of the redirect target or a title in an alternative language that has been produced in that language.
  • From a gendered term: This is a redirect from a word or phrase that specifies gender to one that is either gender-neutral or specific to a different gender.
  • From enacted legislation: This is a redirect from the alphanumeric form of enacted legislation to an article titled in an alternative form that corresponds directly with the enacted legislation's alphanumeric form.
  • From a member: This is a redirect from a person who is a member of a group to a general, related topic, such as the group name, organization, ensemble, or team of membership.
  • From a lyric: This is a redirect from a lyric to a song or other source that describes the lyric.
  • From a lyric: This is a redirect from a lyric to a song or other source that describes the lyric.
  • From a phrase: This is a redirect from a phrase to a more general relevant article covering the topic.
    • Phrases should only have an individual article when there is enough (usually historical background) material to warrant a detailed article on the genesis and sociological impact of the phrase in question.
    • If the phrase is a catchphrase, use {{R from catchphrase}}; if it is a slogan, then use {{R from slogan}}; if it is a quotation, then use {{R from quotation}}.
  • From a school: This is a redirect from a school article that may have had very little information or did not meet notability criteria. The information from this article may have been merged into a list of schools or an article on the appropriate school district or geographical location.
  • From a song: This is a redirect from a song title to a more general, relevant article such as an album, film or artist where the song is mentioned. Redirecting to the specific album or film in which the song appears is preferable to redirecting to the artist when possible.
    • There is consensus that the majority of songs do not meet Wikipedia's notability guidelines. Songs should only have an individual article when there is enough material to warrant a detailed article.
    • For redirects of cover songs to the article about the original song, use {{R from cover song}} instead.
    • For redirects of remixes to the article about the original song, use {{R from remix}} instead.
  • From a team: This is a redirect from a team/club/squad to the sporting league/association in which the team is a member.
  • From a Unicode character: This is a redirect from a single Unicode character to an article or Wikipedia project page that infers meaning for the symbol. Examples would be monetary symbols like dollar and euro signs, language symbols, emoji, and so on. For a multiple-character-long title with diacritics, use template {{R from diacritic}} instead. For codes such as "U+00E6", use {{R from Unicode code}}.

With possibilities

  • With possibilities: This is a redirect from a title that potentially could be expanded into a new article or other type of associated page such as a new template. The topic described by this title may be more detailed than is currently provided on the target page or in a section of that page.
    • When the target page becomes too large, or for any reason a new page would be an improvement, this redirect may be replaced with an article, template or other project page that is carved out of the target page. See also {{R to section}} and use together with this rcat when appropriate.
    • If the topic of the redirect is not susceptible to expansion, then use other rcats such as {{R to section}} or {{R to list entry}} when appropriate.
    • Since a new page may be created, links to this redirect should not be replaced with a direct link to the target page. To make redirects to this page, use {{R avoided double redirect}}.
    • {{R printworthy}} should be used together with this template when applied to a redirect in mainspace.
    • When used on a template redirect, it will automatically populate Category:Template redirects with possibilities.
  • From a category with possibilities: This is a redirect from a category title that potentially could be populated as a separate category.
    For Example: Mount Yao Mountains of Guangxi.
    • Other pages should not populate this redirected category. If you find category links to this redirect from articles, templates, categories, or portals, please retarget those links to the category page to which this entry redirects.
    • If used to tag redirects in any namespace other than category space, then Category:Pages with templates in the wrong namespace will be populated, so be sure to use this rcat only on category pages.
  • With possibilities: This is a redirect from a title that potentially could be expanded into a new article or other type of associated page such as a new template. The topic described by this title may be more detailed than is currently provided on the target page or in a section of that page.
    • When the target page becomes too large, or for any reason a new page would be an improvement, this redirect may be replaced with an article, template or other project page that is carved out of the target page. See also {{R to section}} and use together with this rcat when appropriate.
    • If the topic of the redirect is not susceptible to expansion, then use other rcats such as {{R to section}} or {{R to list entry}} when appropriate.
    • Since a new page may be created, links to this redirect should not be replaced with a direct link to the target page. To make redirects to this page, use {{R avoided double redirect}}.
    • {{R printworthy}} should be used together with this template when applied to a redirect in mainspace.
    • When used on a template redirect, it will automatically populate Category:Template redirects with possibilities.

ISO codes

  • From an ISO 4 abbreviation: This is a redirect from an ISO 4 publication title abbreviation to the unabbreviated publication title, or an article containing information about the publication.
    • In cases of an ISO 4 abbreviation with partially missing dots, or dots used inappropriately, please use {{R from misspelling}}.

Printworthiness

  • With possibilities: This is a redirect from a title that potentially could be expanded into a new article or other type of associated page such as a new template. The topic described by this title may be more detailed than is currently provided on the target page or in a section of that page.
    • When the target page becomes too large, or for any reason a new page would be an improvement, this redirect may be replaced with an article, template or other project page that is carved out of the target page. See also {{R to section}} and use together with this rcat when appropriate.
    • If the topic of the redirect is not susceptible to expansion, then use other rcats such as {{R to section}} or {{R to list entry}} when appropriate.
    • Since a new page may be created, links to this redirect should not be replaced with a direct link to the target page. To make redirects to this page, use {{R avoided double redirect}}.
    • {{R printworthy}} should be used together with this template when applied to a redirect in mainspace.
    • When used on a template redirect, it will automatically populate Category:Template redirects with possibilities.
  • Extended-confirmed protected: This is a redirect from a title that is extended confirmed protected from editing for any of several possible reasons.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.
  • Fully protected: This is a redirect from a title that is fully protected from editing for any of several possible reasons. It may have been protected by an administrator, or it may be on the Cascade-protected list, or both.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.
  • Semi-protected: This is a redirect from a title that is semi-protected from editing for any of several possible reasons.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.
  • Template-protected: This is a redirect from a page that is template-protected from editing for any of several possible reasons. Only administrators and template editors may edit this page.
    • Please do not replace these redirected links with links directly to the target page unless expressly advised to do so below or elsewhere on this page, or if the change is supported by a policy or guideline.

Tools