Wikivoyage:AutoWikiBrowser/Template redirects
Appearance
Documentation
[edit]Overview
[edit]- This page lists template redirects which AWB should automatically replace in the en-voy 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).
Rule format
[edit]Notes
[edit]- 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. {{otheruses}} and {{Otheruses}} 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
[edit]- Single redirect format: {{tl|Redirect 1}} → '''{{tl|Actual template}}'''
- Single redirect example: {{tl|Otheruses}} → '''{{tl|Other uses}}'''
- Multiple redirects format: {{tl|Redirect 1}}, {{tl|Redirect 2}} → '''{{tl|Actual template}}'''
- Multiple redirects example: {{tl|Otheruses}}, {{tl|Otheruse}} → '''{{tl|Other uses}}'''
Main and Category namespace rules
[edit]- {{Otheruses}} → {{other uses}}
- {{Seealso}} → {{see also}}