Wikipedia:AutoWikiBrowser/Template redirects: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎Category templates: adding some redirects of an existing template
→‎Maintenance templates: remove, this is now a navbox
Line 228: Line 228:
*{{tl|Awful}}, {{tl|Cleanup rewrite}}, {{tl|CleanupRewrite}}, {{tl|Complete rewrite}}, {{tl|Complete rewrite needed}}, {{tl|Completerewrite}}, {{tl|Needs rewrite}}, {{tl|Needsrewrite}}, {{tl|Rewrite}} → '''{{tl|Cleanup-rewrite}}'''
*{{tl|Awful}}, {{tl|Cleanup rewrite}}, {{tl|CleanupRewrite}}, {{tl|Complete rewrite}}, {{tl|Complete rewrite needed}}, {{tl|Completerewrite}}, {{tl|Needs rewrite}}, {{tl|Needsrewrite}}, {{tl|Rewrite}} → '''{{tl|Cleanup-rewrite}}'''
*{{tl|Tense}} → '''{{tl|Cleanup-tense}}'''
*{{tl|Tense}} → '''{{tl|Cleanup-tense}}'''
*{{tl|COI-check}}, {{tl|COI-issues}}, {{tl|Coi}}, {{tl|Conflict of interest}}, {{tl|Selfpromotion}} → '''{{tl|COI}}'''
*{{tl|COI-check}}, {{tl|COI-issues}}, {{tl|Coi}}, {{tl|Selfpromotion}} → '''{{tl|COI}}'''
*{{tl|Cleanup-clarity}}, {{tl|Simplify}}, {{tl|Cleanup-confusing}}, {{tl|Unclear}}, {{tl|CleanupConfusing}}, {{tl|Cleanupconfusing}}, {{tl|Cleanup confusing}}, {{tl|Badarticle}} → '''{{tl|Confusing}}'''
*{{tl|Cleanup-clarity}}, {{tl|Simplify}}, {{tl|Cleanup-confusing}}, {{tl|Unclear}}, {{tl|CleanupConfusing}}, {{tl|Cleanupconfusing}}, {{tl|Cleanup confusing}}, {{tl|Badarticle}} → '''{{tl|Confusing}}'''
*{{tl|Clarify-section}}, {{tl|Unclear section}} → '''{{tl|Confusing section}}'''
*{{tl|Clarify-section}}, {{tl|Unclear section}} → '''{{tl|Confusing section}}'''

Revision as of 11:22, 28 September 2015

Documentation

Overview

  • This page lists template redirects which AWB should automatically replace in the en-wiki main and category namespaces, as part of AWB general fixes.
  • The rule list is loaded live each time AWB is run (with general fixes enabled).
  • Before adding a rule here you must ensure that there is consensus in favour of the template renaming.
  • You are reminded that making page edits solely for the purpose of bypassing template redirects may be considered "trivial editing", and therefore contravene the AWB rules of use. Normally you should not make page edits just to bypass redirects unless there is an agreed need to do it.

Rule format

Notes

  • One or more redirects can be renamed per rule, listing redirects in the {{tl}} template followed by "→" and the actual template, again wrapped in {{tl}} and bolded for readability.
  • The redirects are first-letter case insensitive, e.g. {{full}} and {{Full}} are treated as identical.
  • The first-letter case of the redirect is kept in the new template name, except for acronym templates (first three letters in uppercase) where first letter uppercase is forced.
  • Each rule must sit on a single line.
  • Rules in nowiki or HTML comment tags are ignored.
  • There should only be one rule per actual template.
  • The order of the rules does not matter but alphabetisation helps find things on the page.
  • Since the redirect renaming is carried out as part of AWB's general fixes, commented out template calls, or those within nowiki/pre/math tags etc. will not be renamed.
  • AWB does not validate the templates used to ensure that the redirects or templates exist.

Examples

  • Single redirect format: {{tl|Redirect 1}} → '''{{tl|Actual template}}'''
  • Single redirect example: {{tl|Cn}} → '''{{tl|Citation needed}}'''
  • Multiple redirects format: {{tl|Redirect 1}}, {{tl|Redirect 2}} → '''{{tl|Actual template}}'''
  • Multiple redirects example: {{tl|Cn}}, {{tl|Fact}} → '''{{tl|Citation needed}}'''

Main and Category namespace rules

General templates

Category templates

Disambiguation templates

Hatnote templates

Infobox templates

Maintenance templates

Navbox templates

Redirect templates

Stub templates

Other templates