Redirection: Difference between revisions
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | |||
'''To go back to the WikiDoc scholar program homepage, click [[WikiDoc scholar program|here]].''' | |||
{{CMG}} | |||
==Why redirect a page?== | ==Why redirect a page?== | ||
Line 6: | Line 11: | ||
==How to make a redirect (redirect command)== | ==How to make a redirect (redirect command)== | ||
To redirect a page A to a different page B (also called '''target page'''), enter the following '''redirecting command''' at the top of the redirecting page. | To redirect a page A to a different page B (also called '''target page'''), enter the following '''redirecting command''' (using "'''edit source'''") at the top of the redirecting page. | ||
'''<nowiki>#REDIRECT [[NAME OF PAGE B]]</nowiki>''' | '''<nowiki>#REDIRECT [[NAME OF PAGE B]]</nowiki>''' | ||
For example, to redirect the [[MI]] page ( redirecting page ) to the [[ST Elevation Myocardial Infarction]] page (target page), edit the [[MI]] page and enter: | For example, to redirect the [[MI]] page ( redirecting page ) to the [[ST Elevation Myocardial Infarction]] page (target page), edit the [[MI]] page (using "'''edit source'''") and enter: | ||
'''<nowiki>#REDIRECT [[ST Elevation Myocardial Infarction]]</nowiki>''' | '''<nowiki>#REDIRECT [[ST Elevation Myocardial Infarction]]</nowiki>''' | ||
==How Do I Redirect To A Subheading of the Page Instead of the Page in General?== | ==How Do I Redirect To A Subheading of the Page Instead of the Page in General?== | ||
Say you want to redirect the page "Alcohol septal ablation" to a | Say you want to redirect the page "Alcohol septal ablation" to a section of the parent page entitled Hypertrophic cardiomyopathy interventional cardiology. You can redirect to a specific subheading within a page by putting the name of the page followed by the hatch mark of the subheading you want to direct to. The example for alcohol septal ablation is shown below: | ||
'''<nowiki>#REDIRECT Hypertrophic cardiomyopathy interventional cardiology#Alcohol septal ablation</nowiki>''' | '''<nowiki>#REDIRECT Hypertrophic cardiomyopathy interventional cardiology#Alcohol septal ablation</nowiki>''' | ||
===What if I misspell the name of a page that I create=== | ===What if I misspell the name of a page that I create?=== | ||
If a spelling mistake occurs in a title such as '''STElevation Myocardial Infarction''', it is not possible for a regular user to move the page with all its history. It is however possible to create a ''redirect''. A new page '''ST Elevation Myocardial Infarction''' must be created first, and the contents from the old page must be copied manually. Then the old page '''STElevation Myocardial Infarction''' must be edited and its source code replaced by: | If a spelling mistake occurs in a title such as '''STElevation Myocardial Infarction''', it is not possible for a regular user to move the page with all its history. It is however possible to create a ''redirect''. A new page '''ST Elevation Myocardial Infarction''' must be created first, and the contents from the old page must be copied manually. Then the old page '''STElevation Myocardial Infarction''' must be edited and its source code replaced by: | ||
Line 27: | Line 32: | ||
Don't make a redirect that points to another redirect. This is called a double redirect. These redirects don't work, and they can create a slow, unpleasant experience for the reader. | Don't make a redirect that points to another redirect. This is called a double redirect. These redirects don't work, and they can create a slow, unpleasant experience for the reader. | ||
[[Category:Help]] | |||
{{WikiDoc Help Menu}} | {{WikiDoc Help Menu}} | ||
{{WikiDoc Sources}} | {{WikiDoc Sources}} | ||
Latest revision as of 02:46, 16 May 2020
To go back to the WikiDoc scholar program homepage, click here.
Editor-In-Chief: C. Michael Gibson, M.S., M.D. [1]
Why redirect a page?
Sometimes a topic will have multiple names or abbreviations, and you will want to direct them all to one page
For example take the page ST Elevation Myocardial Infarction. The names STEMI, MI, Acute MI, Myocardial Infarction, AMI all are redirected to the page ST Elevation Myocardial Infarction.
How to make a redirect (redirect command)
To redirect a page A to a different page B (also called target page), enter the following redirecting command (using "edit source") at the top of the redirecting page.
#REDIRECT [[NAME OF PAGE B]]
For example, to redirect the MI page ( redirecting page ) to the ST Elevation Myocardial Infarction page (target page), edit the MI page (using "edit source") and enter:
#REDIRECT [[ST Elevation Myocardial Infarction]]
How Do I Redirect To A Subheading of the Page Instead of the Page in General?
Say you want to redirect the page "Alcohol septal ablation" to a section of the parent page entitled Hypertrophic cardiomyopathy interventional cardiology. You can redirect to a specific subheading within a page by putting the name of the page followed by the hatch mark of the subheading you want to direct to. The example for alcohol septal ablation is shown below:
#REDIRECT Hypertrophic cardiomyopathy interventional cardiology#Alcohol septal ablation
What if I misspell the name of a page that I create?
If a spelling mistake occurs in a title such as STElevation Myocardial Infarction, it is not possible for a regular user to move the page with all its history. It is however possible to create a redirect. A new page ST Elevation Myocardial Infarction must be created first, and the contents from the old page must be copied manually. Then the old page STElevation Myocardial Infarction must be edited and its source code replaced by:
#REDIRECT [[ST Elevation Myocardial Infarction (Acute MI)]]
Undesirable redirects
Don't make a redirect that points to another redirect. This is called a double redirect. These redirects don't work, and they can create a slow, unpleasant experience for the reader.