Code
ಸಂಪಾದಿಸಿ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.
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 redirects
ಸಂಪಾದಿಸಿCommon reasons to use redirects are:
- Alternative titles or author names
- Subpages as works
- Shortcuts
A redirect will be created automatically when a page has been moved.
Soft redirects
ಸಂಪಾದಿಸಿ"Soft" redirects are pages that provide a link to the target page instead of taking a user directly to that target page. External soft redirects direct users to other websites. This can be necessary, for example, if a work has been moved to Wikilivres (which is not part of the Wikisource project). 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 pages
ಸಂಪಾದಿಸಿ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.
Redirects will appear in categories in italics.
Category redirects
ಸಂಪಾದಿಸಿ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.
Special pages
ಸಂಪಾದಿಸಿThis help page is a stub. You can help Wikisource by expanding it. |