Difference between revisions of "Manual:Redirects"
[unchecked revision] | [quality revision] |
m (Mlink-rodrigue moved page Redirects to Manual:Redirects) |
Contents
What is a redirect?[edit | edit source]
A redirect is a technique to automatically forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellingsIf you redirect a page that has content, the user will not see the content of the redirected page, but only the content of the target page.
When to use a redirect[edit | edit source]
Pages should be are usually redirected in the following cases:
- abbreviations and
- synonyms
- from less used expressions to often used expressions
- duplicate content
- spelling variants
- plural/singular
- renaming/moving a page
How to redirect a page[edit | edit source]
With visual editing[edit | edit source]
-
Go to Page settings:
-
In the dialog window, activate the checkbox "Redirect this page to" and enter the name of the target page:
- Click "Apply changes"
With source editing[edit | edit source]
At the beginning of the page, insert the redirect instruction and save the page:
#REDIRECT [[pagepagename youof want to forward to]]
In the wiki code view there is a button that helps you creating a redirect .
target page]]
There is no need to delete the content of the page. The content is simply no longer visible to readers as long as the redirect is included on the page. If you remove the code for redirecting the page, the original content will be loaded again.
Managing page redirects[edit | edit source]
All redirected pages on the wiki are listed on the special page Special:ListRedirects
. In addition, there are pages for broken redirects as well as double redirects in the maintenance reports on the Special pages.
You can navigate to them from Global actions > Special pages.
To maintain the quality of your wiki, you should review these pages on a regular basis and fix any broken and double redirects.
If you navigate to a redirected page, it shows the redirect. A rounded arrow points to the target file:
Resolving double redirects[edit | edit source]
The page Special:DoubleRedirects lists all pages that are redirected from an already redirected page:
Let's look at the page Edit existing articles in the BlueSpice helpdesk. This page is redirected to a page Create pages that is again redirected to Manual: Create pages. The double redirect was caused by moving the page Create pages to the namespace Manual.
To resolve the double redirect, we open the page Edit existing articles in source view:
The page is not only redirected to the page Create pages but also contains a bookshelf tag. Therefore, we first check if the page is still part of the book. If it is, we need to decide if the book should include this page or the actual final target page of the redirect instead.
We now have some options to fix the redirect:
- Redirect to the final target page
- Redirect to a completely different page
- Delete the page
Since the helpdesk actually has an updated page about editing, we redirect to the page Manual:Edit pages:
Sometimes, it might make more sense to simply delete the page. Before deleting an article, always check what other pages link to the page by reviewing the info under Special:WhatLinksHere/Redirects
.
Related info
__NOTOC__ Redirects are used to ==What is a redirect?== A redirect is a technique to automatically forward users from one page name to another. They can be useful if a particular article is referred to by multiple names, or has alternative punctuation, capitalization or spellings.<br /><br />If you redirect a page that has content, the user will not see the content of the redirected page, but only the content of the target page. ==When to use a redirect== Pages should beare usually redirected in the following cases: * abbreviations and *synonyms * from less used expressions to often used expressions You may start a new page with the name you want to direct from. You can also use an existing page that you are making inactive as a page by going to that page and using the "edit" tab at the top. In either case, you will be inserting the following code at the very first text position of the Edit window for the page: <pre>#REDIRECT [[page you want to forward to]]</pre> In the wiki code view there is a button that helps you creating a redirect [[File:Btn-Redirect.png]]. {{Box_Links-en | Thema1 =[[Move_Article|Move an article]] | Thema2 duplicate content *spelling variants *plural/singular *renaming/moving a page ==How to redirect a page== ===With visual editing=== #Go to Page settings: <br />[[File:VE-category.png|link=https://en.wiki.bluespice.com/wiki/File:VE-category.png]] #In the dialog window, activate the checkbox "Redirect this page to" and enter the name of the target page: [[File:VE-redirect-dialog.png|link=https://en.wiki.bluespice.com/wiki/File:VE-redirect-dialog.png|500x500px]] #Click "Apply changes" ===With source editing=== At the beginning of the page, insert the redirect instruction and save the page: <pre>#REDIRECT [[pagename of target page]]</pre> There is no need to delete the content of the page. The content is simply no longer visible to readers as long as the redirect is included on the page. If you remove the code for redirecting the page, the original content will be loaded again. ==Managing page redirects== All redirected pages on the wiki are listed on the special page <code>Special:ListRedirects</code>. In addition, there are pages for broken redirects as well as double redirects in the maintenance reports on the Special pages. You can navigate to them from ''Global actions > Special pages''. To maintain the quality of your wiki, you should review these pages on a regular basis and fix any broken and double redirects. If you navigate to a redirected page, it shows the redirect. A rounded arrow points to the target file: [[File:redirect-sourcepage.png|300x300px]] ==Resolving double redirects== The page ''Special:DoubleRedirects'' lists all pages that are redirected from an already redirected page: [[File:redirect-double.png|650x650px]]<br />Let's look at the page ''Edit existing articles'' in the BlueSpice helpdesk. This page is redirected to a page ''Create pages'' that is again redirected to ''Manual: Create pages''. The double redirect was caused by moving the page ''Create pages'' to the namespace ''Manual''. To resolve the double redirect, we open the page ''Edit existing articles'' in source view: [[File:redirect-sourcepage-sourcecode.png|650x650px]] The page is not only redirected to the page ''Create pages'' but also contains a bookshelf tag. Therefore, we first check if the page is still part of the book. If it is, we need to decide if the book should include this page or the actual final target page of the redirect instead. We now have some options to fix the redirect: *Redirect to the final target page *Redirect to a completely different page *Delete the page Since the helpdesk actually has an updated page about editing, we redirect to the page ''Manual:Edit pages'': [[File:redirect-sourcepage-sourcecode2.png|500x500px]] Sometimes, it might make more sense to simply delete the page. Before deleting an article, always check what other pages link to the page by reviewing the info under <code>Special:WhatLinksHere/Redirects</code>. {{Box_Links-en |Topic1 =[[Rename_and_move_pages|Rename and move pages]] |Topic2 =[[Delete_article|Delete an article]] | Thema3 |Topic3 =[[Subpage|Creating subpages]] | Thema4 = }} [[en:{{FULLPAGENAME}}]][[de:Weiterleitungen]] |Topic4 =[https://www.mediawiki.org/wiki/Help:Redirects https://www.mediawiki.org/wiki/Help:Redirects]}} [[en:{{FULLPAGENAME}}]] [[de:Weiterleitungen]] [[Category:Quality]]
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ==What is a redirect?== | |
− | + | A redirect is a technique to automatically forward users from one page to another. If you redirect a page that has content, the user will not see the content of the redirected page, but only the content of the target page. | |
==When to use a redirect== | ==When to use a redirect== | ||
− | Pages | + | Pages are usually redirected in the following cases: |
− | * abbreviations | + | *abbreviations |
− | * | + | *synonyms |
+ | *duplicate content | ||
+ | *spelling variants | ||
+ | *plural/singular | ||
+ | *renaming/moving a page | ||
+ | ==How to redirect a page== | ||
− | + | ===With visual editing=== | |
− | < | + | #Go to Page settings: <br />[[File:VE-category.png|link=https://en.wiki.bluespice.com/wiki/File:VE-category.png]] |
+ | #In the dialog window, activate the checkbox "Redirect this page to" and enter the name of the target page: [[File:VE-redirect-dialog.png|link=https://en.wiki.bluespice.com/wiki/File:VE-redirect-dialog.png|500x500px]] | ||
+ | #Click "Apply changes" | ||
− | + | ===With source editing=== | |
+ | At the beginning of the page, insert the redirect instruction and save the page: | ||
− | {{Box_Links-en | | + | <pre>#REDIRECT [[pagename of target page]]</pre> |
− | [[en:{{FULLPAGENAME}}]][[de:Weiterleitungen]] | + | |
+ | There is no need to delete the content of the page. The content is simply no longer visible to readers as long as the redirect is included on the page. If you remove the code for redirecting the page, the original content will be loaded again. | ||
+ | |||
+ | ==Managing page redirects== | ||
+ | All redirected pages on the wiki are listed on the special page <code>Special:ListRedirects</code>. In addition, there are pages for broken redirects as well as double redirects in the maintenance reports on the Special pages. | ||
+ | |||
+ | You can navigate to them from ''Global actions > Special pages''. | ||
+ | |||
+ | To maintain the quality of your wiki, you should review these pages on a regular basis and fix any broken and double redirects. | ||
+ | |||
+ | If you navigate to a redirected page, it shows the redirect. A rounded arrow points to the target file: | ||
+ | |||
+ | [[File:redirect-sourcepage.png|300x300px]] | ||
+ | |||
+ | ==Resolving double redirects== | ||
+ | The page ''Special:DoubleRedirects'' lists all pages that are redirected from an already redirected page: | ||
+ | |||
+ | [[File:redirect-double.png|650x650px]]<br />Let's look at the page ''Edit existing articles'' in the BlueSpice helpdesk. This page is redirected to a page ''Create pages'' that is again redirected to ''Manual: Create pages''. The double redirect was caused by moving the page ''Create pages'' to the namespace ''Manual''. | ||
+ | |||
+ | To resolve the double redirect, we open the page ''Edit existing articles'' in source view: | ||
+ | |||
+ | [[File:redirect-sourcepage-sourcecode.png|650x650px]] | ||
+ | |||
+ | The page is not only redirected to the page ''Create pages'' but also contains a bookshelf tag. Therefore, we first check if the page is still part of the book. If it is, we need to decide if the book should include this page or the actual final target page of the redirect instead. | ||
+ | |||
+ | We now have some options to fix the redirect: | ||
+ | |||
+ | *Redirect to the final target page | ||
+ | *Redirect to a completely different page | ||
+ | *Delete the page | ||
+ | |||
+ | Since the helpdesk actually has an updated page about editing, we redirect to the page ''Manual:Edit pages'': | ||
+ | |||
+ | [[File:redirect-sourcepage-sourcecode2.png|500x500px]] | ||
+ | |||
+ | Sometimes, it might make more sense to simply delete the page. Before deleting an article, always check what other pages link to the page by reviewing the info under <code>Special:WhatLinksHere/Redirects</code>. | ||
+ | {{Box_Links-en | ||
+ | |Topic1 =[[Rename_and_move_pages|Rename and move pages]] | ||
+ | |Topic2 =[[Delete_article|Delete an article]] | ||
+ | |Topic3 =[[Subpage|Creating subpages]] | ||
+ | |Topic4 =[https://www.mediawiki.org/wiki/Help:Redirects https://www.mediawiki.org/wiki/Help:Redirects]}} | ||
+ | [[en:{{FULLPAGENAME}}]] | ||
+ | [[de:Weiterleitungen]] | ||
+ | [[Category:Quality]] |