വിക്കിപീഡിയ:Redirect
സന്ദർശകരെ മറ്റൊരു താളിലേക്ക് സ്വപ്രേരിതമായി അയയ്ക്കുവാൻ ഉപയോഗിക്കുന്ന താളാണ് റീഡയറക്ട് അഥവാ തിരിച്ചുവിടൽ. സാധാരണയായി ഒരു ലേഖനത്തിലേക്കോ ലേഖന ഉപവിഭാഗത്തിലേക്കോ ഒരു താളിനെ ഇത്തരത്തിൽ തിരിച്ചുവിടുന്നു. ഉദാഹരണമായി "യു.കെ." എന്ന് സെർച്ച് ബോക്സിൽ ടൈപ്പ് ചെയ്ത് എന്റർ ചെയ്തോ യു.കെ. എന്ന ലിങ്കിലോ ക്ലിക്ക് ചെയ്താൽ ആ താൾ സ്വയമേ യുണൈറ്റഡ് കിങ്ഡം എന്ന താളിലേക്ക് എത്തപ്പെടുന്നു. അതോടൊപ്പം "(യു.കെ. എന്ന താളിൽ നിന്നും തിരിച്ചുവിട്ടതു പ്രകാരം)" എന്ന ഒരു കുറിപ്പ് കൂടി താളിൽ ദൃശ്യമാകുന്നു. (ഇത് മൊബൈലിലാണെങ്കിൽ താളിന്റെ താഴെയായി ഒരു കറുത്ത സന്ദേശത്തോടെ പ്രത്യക്ഷപ്പെടുന്നു). അതായത് യു.കെ. എന്ന താളിൽ ഒരു പ്രത്യേക വിക്കിടെക്സ്റ്റ് ഉൾപ്പെട്ടിരിക്കുന്നതിനാൽ ആ താളിനെ ഒരു തിരിച്ചുവിടൽ താളായി കണക്കാക്കുകയും നിർദ്ദിഷ്ട ലേഖനത്തെ സൂചിപ്പിക്കുകയും ചെയ്യുന്നു. കൂടുതൽ വിപുലമായ സിന്റാക്സ് ഉപയോഗിച്ച് താളിന്റെ നിർദ്ദിഷ്ട വിഭാഗത്തിലേക്ക് തിരിച്ചുവിടാൻ സാധിക്കും.
റീഡയറക്ട് താളുകളിൽ റീഡയറക്റ്റിന് താഴെയുള്ള മറ്റ് ഉള്ളടക്കങ്ങളായ വർഗ്ഗീകരണ ഫലകങ്ങളും വർഗ്ഗീകരണ ലിങ്കുകളും അടങ്ങിയിരിക്കാം.
ആളുകൾ വായിക്കാൻ ആഗ്രഹിക്കുന്ന താളുകളിലേക്ക് വേഗത്തിൽ എത്തിച്ചേരാൻ സഹായിക്കുന്നതിന് റീഡയറക്ടുകൾ ഉപയോഗിക്കുന്നു. തിരിച്ചുവിടലിനെക്കുറിച്ചുള്ള മാർഗ്ഗനിർദ്ദേശങ്ങൾ ഈ താളിൽ അടങ്ങിയിരിക്കുന്നു. റീഡയറക്ടുകൾ എങ്ങനെ പ്രവർത്തിക്കുന്നു എന്നതുമായി ബന്ധപ്പെട്ട സാങ്കേതിക സഹായത്തിന് സഹായം:തിരിച്ചുവിടൽ കാണുക. വിക്കിപീഡിയ:ഇരട്ട തിരിച്ചിവിടലുകൾ, വിക്കിപീഡിയ:ഹാറ്റ്നോട്ട് എന്നിവയാണ് ഇതുമായി ബന്ധപ്പെട്ട മറ്റ് താളുകൾ.
Purposes of redirects
- WP:POFR
- WP:RPURPOSE
Reasons for creating and maintaining redirects include:
- Alternative names redirect to the most appropriate article title (for example, Edison Arantes do Nascimento redirects to Pelé).
- Plurals (for example, Greenhouse gases redirects to Greenhouse gas).
- Closely related words (for example, Symbiont redirects to Symbiosis).
- Adjectives or adverbs point to noun forms (e.g., Treasonous redirects to Treason)
- Less specific forms of names, for which the article subject is still the primary topic. For example, Einstein redirects to Albert Einstein, whereas Johnson is a disambiguation page rather than a redirect, since no Johnson is regarded as the primary topic for that name.
- More specific forms of names (for example, Articles of Confederation and Perpetual Union redirects to Articles of Confederation).
- Abbreviations and initialisms (for example, ADHD redirects to Attention deficit hyperactivity disorder). But often an abbreviation will have multiple meanings, none of which is a primary topic—in that case a disambiguation page should be created rather than a redirect.
- Alternate forms of a name as found in reliable sources and common databases. For example, Cellular and Molecular Life Sciences : CMLS redirects to Cellular and Molecular Life Sciences, based on its PUBMED entry.
- Alternative spellings or punctuation. For example, Colour redirects to Color, and Al-Jazeera redirects to Al Jazeera.
- Punctuation issues—some titles containing dashes should have redirects using hyphens, and vice versa. The proper title depends on official spelling (in the case of a name, such as Olivia Newton-John), or established Wikipedia policy and naming conventions (such as Spanish–American War).
- Representations using ASCII characters, that is, common transliterations (for example, Pele also redirects to Pelé while Kurt Goedel and Kurt Godel redirect to Kurt Gödel).
- Likely misspellings (for example, Condoleeza Rice redirects to Condoleezza Rice).
- Likely alternative capitalizations (for example, Natural Selection redirects to Natural selection). This is not necessary for user searches made via Wikipedia's search engine, but may aid linking from other articles and external sites, as well as direct URL entry.
- To comply with the maintenance of nontrivial edit history, pursuant to Wikipedia:Merging#PROMERGE for copyright licensing requirements.
- Sub-topics or other topics which are described or listed within a wider article. (Such redirects are often targeted to a particular section of the article.)
- Redirects to disambiguation pages that do not contain "(disambiguation)" in the title (for example, Durham (disambiguation) redirects to Durham). These help maintenance by allowing deliberate links to disambiguation pages to be distinguished from links that need to be disambiguated. See WP:INTDAB for a fuller explanation.
- Shortcuts (for example, Wikipedia:V redirects to Wikipedia:Verifiability). This is commonly done in project space, but not in article space.
- Old-style CamelCase links (if already in existence) (AnnaKournikova redirects to Anna Kournikova).
- Links auto-generated from Exchangeable image file format information (Adobe Photoshop CS Windows redirects to Adobe Photoshop).
- Finding what links to a section, when links are made to the redirect rather than the section.
There are redirect templates to explain the reason for a redirect.
Note that redirects to other Wikimedia projects, other websites, or special pages do not work. These should be avoided or replaced with a {{soft redirect}} template. Soft redirects are also used in category space (using the {{category redirect}} template). Redirects from list titles to categories (e.g. a redirect from [[List of things]] to [[Category:Things]]) are highly discouraged.[1]
How to make a redirect
Editing the source directly
To create a basic redirect using the source editor, type #REDIRECT [[target page name here]]
as the only text on the page. The capitalization of the word REDIRECT
doesn't matter. For instance, if you were redirecting from "UK" to "United Kingdom", this would be the entire body of the "UK" page:
#REDIRECT [[United Kingdom]]
Using VisualEditor
To create a redirect using the VisualEditor:
- Open the "page options" menu (icon with three parallel horizontal bars) at the top right of the editor
- Select "Page settings"
- Check the box marked "Redirect this page to"
- Enter the name of the target page in the text box below the checkbox
- Click on the blue "Apply changes" button
- Save the page. You may enter an edit summary, or an automatic summary will be generated.
When moving a page
Redirects can also be automatically created when you move (rename) an existing page.
How to edit a redirect or convert it into an article
- WP:EDRED
- WP:RTOA
Sometimes an existing redirect should really be handled by a full article, per Category:Redirects with possibilities. For example, the name of a notable musician (who does not yet have an article) may instead be a redirect to an existing article about a band of which the musician is a member. In this case, you can edit the redirect to make it into an article. Also, if an existing redirect points to the wrong page, you can edit the redirect to point to a different page.
If you want to edit a redirect page you must use a special technique in order to get to the redirect page itself. This is because when you try to go straight to the redirect page and edit it, the redirect page will automatically redirect you to its target page (because this is what a redirect page is meant to do). Below is an example of why you might need to go to a redirect page itself (to do a small edit) and how to actually get there.
For example, say Trygve Halvdan Lie did not have his own article, and so this link was a redirect to the page Secretary-General of the United Nations. If, later on, the page Trygve Lie was created as a biography, the page Trygve Halvdan Lie should be changed to redirect to Trygve Lie per WP:COMMONNAME. To do this, go to the redirect page by clicking the existing redirect note on the target page, which in this case would read "(Redirected from Trygve Halvdan Lie)". Once there, you may click the "Edit" tab, and change the page from
#REDIRECT [[Secretary-General of the United Nations]]
- to
#REDIRECT [[Trygve Lie]]
When adding or changing a redirect, always verify the links that already point there. For instance, if another person named Trygve Lie becomes very well known, it would make sense to make Trygve Lie a redirect to his page (after renaming the existing Trygve Lie page). Such a change cannot be made without changing all the preexisting links to Trygve Lie; these links can be found by clicking on What links here in the left hand menu.
Targeted and untargeted redirects
- WP:TARGET
- WP:RSECT
Most redirects are untargeted, i.e. they lead simply to a page, not to any specific section of the page. This is usually done when there is more than one possible name under which an article might be sought (for example, Cellphone redirects to the article Mobile phone). For deciding which should be the actual title of the article, see Article titles.
It is also possible to create a targeted redirect, i.e. a redirect to a particular point on the target page—either a section header or an anchor. For example, the page Malia Obama contains the code #REDIRECT [[Family of Barack Obama#Malia and Sasha Obama]]
, which redirects to the Malia and Sasha Obama section in the article Family of Barack Obama. Therefore, entering "Malia Obama" will bring the searcher straight to the content that deals with "Malia and Sasha Obama".
Consider that when the target page is displayed, it is likely that the top of the page will not be shown, so the user may not see the helpful "(redirected from... )" text unless they know to scroll back to the top. This is less likely to cause confusion if the redirect is to a heading with the same name as the redirect.
The text given in the link on a targeted redirect page must exactly match the target section heading or anchor text, including capitalization and punctuation. (While spaces and underscores are interchangeable in the current implementation of the Wikimedia software, it is generally good practice and aids maintenance to use exactly the same spelling in links as is used in the corresponding targets also for these characters.) (In the absence of a match, the reader will simply be taken to the top of the target page.) It is often helpful to leave a hidden comment in the target text, to inform other editors that a section title is linked, so that if the title is altered, the redirect can be changed. For example:
==Vaccine overload== <!-- linked from redirect [[Vaccine overload]] -->
To ensure that a redirect will not break if a section title gets altered, or to create a redirect to a point on the page other than a section heading, create an explicit target anchor in the page, e.g., by using the {{anchor}} template. Alternative anchors for section headings are ideally placed directly in front of the name of the heading (but after the equals signs):
=={{subst:Anchor|anchor name}}Section title==
{{subst:Anchor}}
is preferable to simply using {{Anchor}}
because otherwise, when the section is edited via its own "[ edit ]" link, the anchor markup and alternative section title(s) will appear as undesirable clutter at the beginning of revision history entries. Please see MOS:RENAMESECTION for further discussion of this.
The anchor text will not be visible on the page (unless the {{Visible anchor}} template is used), but it will serve as a permanent marker of that place on the page. Editors should generally not remove or alter such anchors without checking all incoming links and redirects. If several logically independent aspects of a topic are discussed under a single section header and should be linked to, it is sometimes useful to define separate anchors for them, if the current amount of information doesn't justify a division into multiple sections already. This makes it easier to rearrange contents on a page as it develops since those anchors can be moved with their corresponding contents without a need to fix up incoming links.
For example, in the Google Search article, the text {{Anchor|calculator}}
is placed at the point where Google Calculator is discussed. The title Google Calculator can then be redirected to Google Search#calculator.
When a section title is known to be the target of incoming links, the Wikipedia Manual of Style suggests creating a redundant anchor with the same name as the section title, so that such links will continue to work even if someone renames the section without creating an anchor with the old name. Technically, doing so results in invalid HTML.[1] However, when a document contains multiple tags with the same id
value, browsers are required to return the first one, so in practice, this is not a problem.[2]
Be careful with anchor capitalization, as redirects are case-sensitive in standards-compliant browsers.[3]
Double redirects
- WP:2R
- WP:DblR
- WP:2RE
- WP:2REDIR