(Redirected from Wikisource:Redirects)

Information about using redirects on Wikisource.


To create a redirect, create a page with the following code:

#REDIRECT [[Target]]

Where "Target" is the pagename of the target page. This is a "hard" redirect, which will take a user directly to the target page without pausing. A space is usually left before the link. (Note that some alternative capitalisations of "REDIRECT" are possible.)

For example, to create a redirect from the page International Title to Original Title, create the page "International Title" with the code #REDIRECT [[Original Title]] and save. Any wikilinks or search results for "International Title" will then be redirected automatically to "Original Title".

When to use redirectsEdit

Common reasons to use redirects are:

  • Alternative titles or alternative author names
  • Subpages as works
  • Shortcuts

A redirect will be created automatically when a page has been moved.

Soft redirectsEdit

"Soft" redirects are pages that provide a link to the target page instead of taking a user directly to that target page. Soft redirects are used internally to inform users of an incorrect (or changed) pagename and allow them to update their records. A common type of soft redirect is the "dated soft redirect." A dated soft redirect will eventually be deleted entirely, giving a period of time for any links to be updated before this happens. This will often be used for the subpages of moved works, to prevent many unnecessary redirects being left behind, while the basepage of the moved work will remain as a normal "hard" redirect.

Categorising redirect pagesEdit

Redirects should not normally be categorised except by redirect sorting. However, when a subpage is also a work in its own right, and should be categorised as such, it can be better to place the categories on a redirect to the subpage instead of on the subpage itself. This makes the category page easier to read, with shorter page names.

Author pages of alternate family name should be categorised in the alphabetical categories subsidiary to Category:Authors, and they should also be default sorted, e.g. a redirect from Author:John Smith would utilise Category:Authors-Sm and {{DEFAULTSORT:Smith, John}}.

Redirects will appear in categories in italics.

Category redirectsEdit

Categories cannot be redirected in the same way as other pages. Instead the {{category redirect}} template can be placed on an otherwise normal category page. This will direct users to the correct category and ask them not to use the redirected category. No pages should be sorted into a redirected category.