Misplaced Pages

:Manual of Style/Linking: Difference between revisions - Misplaced Pages

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Misplaced Pages:Manual of Style Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 18:36, 4 July 2009 view sourceA. di M. (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers7,922 edits What generally should not be linked: merging bullets which essentially say the same thing; removing "plain English word" (see talk)← Previous edit Latest revision as of 11:31, 25 December 2024 view source MichaelMaggs (talk | contribs)Autopatrolled, Extended confirmed users, File movers, Pending changes reviewers, Rollbackers43,913 edits Changing short description from "Guideline that is part of the English Misplaced Pages's Manual of Style" to "English Misplaced Pages guideline"Tag: Shortdesc helper 
Line 1: Line 1:
{{Short description|English Misplaced Pages guideline}}
{{style-guideline|WP:LINK}}
{{for|technical information about link formatting|Help:Link}} <noinclude>{{pp-move-indef}}</noinclude> {{For|technical information about link formatting|Help:Link}}
{{For|information on adding external links to articles|Misplaced Pages:External links}}
{{redirect|Wikilinks|the IRC script|WP:Scripts/Wikilinks}}
{{pp-semi-indef|small=yes}}
{{Style-guideline|MOS:L|WP:LINK|MOS:LINK|WP:MOSLINK}}
{{Style}} {{Style}}
{{Linking and page manipulation|linking and diffs}}
'''Linking''' is one of the most important features of Misplaced Pages. Linking through ]s is an important advantage of an online encyclopedia, with internal links binding the project together into an interconnected whole. External links, on the other hand, help link Misplaced Pages into the external ].


'''Linking''' through ]s is an important feature of Misplaced Pages. ]s bind the project together into an ]. ] bind the project to sister projects such as ], ] and ] in other languages, and external links bind Misplaced Pages to the ].
Links are intended to provide instant pathways to locations both within and outside the project that are likely to increase our readers' understanding of the topic at hand. When writing an article, it is important to consider not only what to put in the article itself, but also what links should be included to help the reader find related information, as well as which other pages should carry links ''to'' the article. Care should however be taken to avoid ], as described below.


Appropriate links provide instant pathways to locations within and outside the project that can increase readers' understanding of the topic at hand. Whenever writing or editing an article, consider not only what to put in the article, but what links to include to help the reader find related information, and also which other pages should have links {{em|to}} the article. Avoid both ] and ], as described below.
This page contains guidelines as to when links should and should not be used, and how to format them. Detailed information about the syntax used to create links can be found at ]. The rules on linking applicable to ] pages can be found at the ].


This page provides guidelines as to when links should and should not be used, and how to format links. For information about the syntax used to create links, see ]. For links on ] pages, see ].
== General principles ==
{{shortcut|WP:BTW|WP:BUILD}}
Misplaced Pages is based on ], and aims to "build the web" to enable readers to find relevant information on other pages with just a click of the mouse. Therefore in adding or removing links, consider an article's place in the ]. Internal links add to the cohesion and utility of Misplaced Pages by allowing readers to deepen their understanding of a topic by conveniently accessing other articles. These links should be included where it is most likely that readers might want to use them; for example, in article leads, the beginnings of new sections, table cells, and image captions.


==<span id="General principles"></span> Principles==
General linking style points:
<!-- This span tag (subst'ed Anchor template) serves to provide a permanent target for incoming section links. Please do not move it out of the section heading. Please do not modify it, even if you modify the section title. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See ] for details. (This text was substituted from ]) -->
* As explained in more detail at ], linking can be done directly ("<code><nowiki>]</nowiki></code>", which results in "]"), or through a ''piped link'' ("<code><nowiki>]</nowiki></code>", which results in "]" in the text, but still links to the article "]").
{{Redirect|WP:BUILD|the behavioral guideline|Misplaced Pages:Here to build an encyclopedia}}
* Section headings should not themselves contain links (see ] for why not) - instead a {{tl|main}} or {{tl|seealso}} template should be placed immediately after the heading.
{{Shortcut|MOS:BTW|MOS:BUILD}}
*Links should not be placed in the bold reiteration of the title in the article's lead sentence.<ref>Many, but not all, articles repeat the article title in bold in the first line of the article. While linking the article to itself produces '''bold-face text''' without a link, this practice is discouraged as page moves will result in a useless circular link through a redirect. Linking ''part'' of the bolded text is also avoided because it changes the visual effect of bolding; some readers will miss the visual cue which is the purpose of using bold in the first place.</ref>
*Generally items within quotations should not be linked; instead, the relevant links should wherever possible be placed in the surrounding text of the article.


Misplaced Pages is based on ], and aims to "build the web" to enable readers to access relevant information on other Misplaced Pages pages easily. The page from which the hyperlink is activated is called the ''anchor''; the page the link points to is called the ''target''.
== Internal links: overlinking and underlinking ==
{{anchor|Overlinking}}
{{anchor|Overlinking and underlinking}}
{{shortcut|WP:OVERLINK|WP:UNDERLINK}}
Provide links that aid navigation and understanding, but avoid cluttering the page with obvious, redundant and useless links. An article is said to be '']'' if subjects are not linked that are helpful to the understanding of the article or its context. However, '']''<ref name="Dvorak">{{cite news
| author = ]
| title = Missing Links
| work = ]
| date = April 2002
| url = http://www.pcmag.com/article2/0,1759,33326,00.asp
| accessdate = }}</ref> is also something to be avoided, as it can make it harder for the reader to identify and follow those links which are likely to be of value.


In adding or removing links, consider an article's place in the ]. Internal links can add to the cohesion and utility of Misplaced Pages, allowing readers to deepen their understanding of a topic by conveniently accessing other articles. Ask yourself, "How likely is it that the reader will also want to read that other article?" Consider including links where readers might want to use them; for example, in article ], at the openings of new sections, in the cells of ], and in ]. But as a rule of thumb, ] in the text of the article.
*Avoid linking to a page that ] back to the page the link is on.
*Think carefully before you remove a link altogether—what may seem like an irrelevant link to you may be useful to other readers.
*Do not be afraid to create links to potential articles that do not yet exist (see ] below).
*If you feel that a certain link does not belong in the body of the text, consider moving it to a "]" section at the bottom of the article. (Remember that links can also be useful when applying the "What links here" feature from the target page.)


===What generally should be linked=== ===General points on linking style===
{{Shortcut|MOS:LINKSTYLE|MOS:INTERNAL}}
In general, ''do'' create links to:
* As explained in more detail at {{section link|Help:Link|Wikilinks}}, linking can be ''direct'' (<code><nowiki>]</nowiki></code>, which results in {{xt|]}}), or ''piped'' (<code><nowiki>]</nowiki></code>, which results in {{xt|]}} in the text, but still links to the article "]"—although the ] is an easier way to create this particular link).
* relevant connections to the subject of another article that will help readers to understand the current article more fully (see the example below). This can include people, events and topics that already ''have'' an article or that clearly ''deserve'' one, as long as the link is relevant to the article in question.
* {{Shortcut|MOS:HEADINGLINK}}{{anchor|No links in headers}}Section headings should not themselves contain links; instead, a {{tl|main}} or {{tl|see also}} template should be placed immediately after the heading.
* articles with relevant information, through references (Example: "see ] for relevant background"). Linking items in a list of examples makes them easier to reference as well.
* Links should not be placed in the ] in the opening sentence of a lead.{{efn|1=Many, but not all, articles repeat the article title in bold face in the first line of the article. Linking the article to itself produces '''boldface text'''; this practice is discouraged as page moves result in a useless circular link through a redirect. Linking ''part'' of the bolded text is also discouraged because it changes the visual effect of bolding; some readers can miss the visual cue which is the purpose of using bold face in the first place.}}
* technical terms, unless they are fully defined in the article and do not have their own separate article. Sometimes the most appropriate link is an ] to ]. Consider instead defining technical terms immediately, if this can be worked into the sentence neatly and concisely.
* {{Shortcut|MOS:NOLINKQUOTE}}{{anchor|Linking quotations}}Be conservative when linking within quotations; link only to targets that correspond to the meaning clearly intended by the quote's author. Where possible, link from text outside of the quotation instead – either before it or soon after.{{efn|1=If quoting hypertext that includes a Misplaced Pages link particularly salient to the quote's use, a {{xt|}} editorial note may be added. {{xt|}} notes should generally be avoided, because if the clarification is needed badly enough to justify disrupting the flow of text, the link is probably not conservative and should be omitted.}}
* explicit articles when word usage may be confusing to a non-native speaker (or users of other varieties of English). If the word would not be translated in context with an ordinary foreign-language dictionary, consider linking to an article or Wiktionary entry to help foreign language readers, especially ]. Check the link for ], and link to the specific item.
* {{Shortcut|MOS:SOB|MOS:SEAOFBLUE|MOS:WINGSUIT}}{{anchor|Sea of blue|Dribbles of blue|Wingsuit combat}}When possible, do not place links next to each other, to avoid appearing like a single link, as in ]&nbsp;] (<code><nowiki>]&nbsp;]</nowiki></code>). Instead, consider rephrasing the sentence (] of ]), omitting one of the links (]&nbsp;tournament), or using a single, more specific link as in ] (<code><nowiki>]</nowiki></code>).
* articles of geographic places that are likely to be unfamiliar to readers or that in the context may be confused with places that have a similar or identical name.
* {{Shortcut|MOS:GEOLINK}}{{anchor|Geographic places}}For a geographical location expressed as a sequence of two or more territorial units, link only the first unit.
**For example, avoid
*:{{cross}}], ] (<code><nowiki>], ]</nowiki></code>)
*::or
*:{{cross}}], ], ] (<code><nowiki>], ], ]</nowiki></code>)
*::or
*:{{cross}}], ], ] (<code><nowiki>], ],&nbsp;]</nowiki></code>)
**Instead, use
*:{{tick}}], Australia (<code><nowiki>], Australia</nowiki></code>)
*::or
*:{{tick}}], South Lanarkshire, Scotland (<code><nowiki>], South Lanarkshire, Scotland</nowiki></code>)
*::or
*:{{tick}}], United States (<code><nowiki>], United States</nowiki></code>)
* Linked text should avoid leading and trailing spaces. Punctuation, including spaces, should be external to the linked items.
* Articles on technical subjects might demand a higher density of links than general-interest articles, because they are likely to contain more technical terms that general dictionaries are unlikely to explain in context.
* Beware of linking to an article without first confirming that the target article covers the appropriate topic. For example, an article mentioning the physics unit "barn" should link to ], not ].
* {{Shortcut|MOS:DRAFTNOLINK}}{{anchor|Draft space}}In articles, do not link to pages outside the article ], except in articles about Misplaced Pages itself (and even in that case with care{{snd}}see ]).
* Do not unnecessarily make a reader chase links: if a highly technical term can be simply explained with very few words, do so.
* {{Shortcut|MOS:NOFORCELINK|MOS:FORCELINK|}}{{anchor|Forced links}} Use a link when appropriate, but as far as possible do not force a reader to use that link to understand the sentence. The text needs to make sense to readers who cannot follow links. Users may print articles or read offline, and Misplaced Pages content may be encountered in ], often without links.
* Refrain from implementing ] that may impede user ability to distinguish links from regular text, or color links for purely aesthetic reasons.


===<span id="Internal links: overlinking and underlinking"></span> Overlinking and underlinking===
===What generally should not be linked===
<!-- The span tags (subst'ed Anchor templates) in this section serve to provide a permanent target for incoming section links. Please do not move them out of the subsection headings. Please do not modify them, even if you modify the subsection titles. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See ] for details. (This text: ]) -->
Unless they are particularly relevant to the topic of the article, it is generally inappropriate to link terms whose meaning can be understood by almost all readers of the English Misplaced Pages, such as the names of major geographic features and locations, religions, languages, common professions, common units of measurement (particularly if a conversion is provided),<ref name="CommonMeasurements">Examples of common measurements include:
{{redirect|WP:CONTEXT|context in the lead of a biography|MOS:CONTEXTBIO|subject context in articles|WP:AUDIENCE}}
* units of time (second, minute, hour, day, week, month, year)
{{For|notices that can be added to articles|Template:Overlinked|Template:Underlinked}}
* metric units of mass (milligram, gram, kilogram), length (millimetre, centimetre, metre, kilometre), area (mm², etc.) and volume (millilitre, litre, mm³)
* imperial and US units (inch, foot, yard, mile)
* composite units (m/s, ft/s)


====<span id="Underlinking"></span>What generally should be linked====
Links ''may'' sometimes be helpful where there is ambiguity in the measurement system (such as ] vs ]) but only if the distinction is relevant. In an article specifically on units of measurement or measurement, such links can be useful.</ref> and dates (but see ] below).
{{Redirect|MOS:UL|unordered lists|Misplaced Pages:Manual of Style/Lists#Embedded lists|underlining|Misplaced Pages:Manual of Style/Text formatting#How not to apply emphasis}}
<!-- This span tag (subst'ed Anchor template) serves to provide a permanent target for incoming section links. Please do not move it out of the section heading. Please do not modify it, even if you modify the section title. It is always best to anchor an old section header that has been changed so that links to it won't be broken. See ] for details. (This text: ]) -->
{{Shortcut|MOS:UL|MOS:UNDERLINK}}


An article is said to be ''underlinked'' if unlinked words are needed to aid understanding of the article. In general, links should be created for:
===Link density===
* Relevant connections to the subject of another article that help readers understand the article more fully (see ] below). This can include people, events, and topics that already have an article or that clearly deserve one, as long as the link is relevant to the article in question.
Aim for a sensible ''link density''. ] ] ] ] ] ] ] ] and then none in the rest of the article. In general, link only the first occurrence of an item. This is a rule of thumb that has many exceptions, including the following:
* Articles with relevant information, for example: "{{xt|see ] for relevant background}}"
*If a later occurrence of a link is separated by a long way from the first. Avoiding duplicate links in the same section of an article is generally a safe rule of thumb.
* Articles explaining words of technical terms, jargon or slang expressions or phrases—but you could also give a concise definition instead of or in addition to a link. If there is no appropriate Misplaced Pages article, an ] to ] could be used.
*If the first link was in an infobox or a navbox, or some similar meta-content. The main text of the article should link relevant terms.
* ]s that are likely to be unfamiliar to readers
*Table entries are another exception; each row of a table should be able to stand on its own.


If you feel that a link is relevant to the topic of the article but does not belong in the body of an article, consider moving it to a ].
Some editors feel that the ] is a special case, with fewer links preferred than in the body text. This is because numerous links in the summary of an article may cause users to jump elsewhere rather than read the whole summary, and because whilst some links make it easier to scan a longer introduction by highlighting key terms, too many make it harder. For technical articles, where terms in the summary may be uncommon or unusual, and linking is necessary to facilitate understanding, a higher-than-usual link density in the introduction may be necessary.


Links may be created to potential articles that do not yet exist (see {{section link||Red links}}). If an article exists on a non-English language Misplaced Pages but not yet in English, consider a red link that also links to the non-English language article (see {{section link|Help:Interlanguage links|Inline links}}).
===Link specificity===

Link to a more specific topic if it has its own article; for example, link to "the ]" instead of "the ] of ]"; link to a section within an article if that brings the reader immediately to the information of specific relevance.
==== <span id="Overlinking"></span> What generally should not be linked ====
<!-- This span tag (subst'ed Anchor template) serves to provide a permanent target for incoming section links. Please do not move it out of the section heading. Please do not modify it, even if you modify the section title. --->
{{Shortcut|MOS:OL|MOS:OVERLINK}}

An article is said to be ''overlinked'' if it contains an excessive number of links, making it difficult to identify those likely to aid a reader's understanding.<ref>{{cite magazine |author-link= John C. Dvorak |last=Dvorak |first=John C. |title=Missing Links |work=] |date=April 16, 2002 |url= https://www.pcmag.com/article2/0,1759,33326,00.asp |access-date=August 16, 2021 |archive-url= https://web.archive.org/web/20110806041207/https://www.pcmag.com/article2/0,2817,33326,00.asp |archive-date=August 6, 2011}}</ref>{{efn|1=A ] found that "in the English Misplaced Pages, of all the 800,000 links added ... in February 2015, the majority (66%) were not clicked even a single time in March 2015, and among the rest most links were clicked only very rarely", and that "simply adding more links does not increase the overall number of clicks taken from a page. Instead, links compete with each other for user attention." This was reported in: {{cite conference |first1=Ashwin |last1=Paranjape |first2=Bob |last2=West |first3=Jure |last3=Leskovec |first4=Leila |last4=Zia |contribution=Improving Website Hyperlink Structure Using Server Logs |title=WSDM'16: Proceedings of the Ninth ACM International Conference on Web Search and Data Mining |date=February 22–25, 2016 |publisher=] |location=San Francisco |url= http://infolab.stanford.edu/~west1/pubs/Paranjape-West-Leskovec-Zia_WSDM-16.pdf |isbn=9781450337168 |doi=10.1145/2835776.2835832}} }} <span id="Familiar terms"></span>A good question to ask yourself is whether reading the article you're about to link to would help someone understand the article you are linking from. Unless a term is particularly relevant to the context in the article, words and terms understood by most readers in context are usually not linked. Be conscious of your own ] when determining whether certain terms have this level of recognizability{{snd}}what is well known in your age group, line of work, or country may be less so for others. Examples include:
* Everyday words (e.g., education, violence, aircraft, river)
* Common occupations (e.g., accountant, politician, actor)
* ], often those relating to time, temperature, length, area, or volume. If both non-metric and metric equivalents are given, as in {{xt|{{convert|5|cm|in|0}}}}, usually neither unit needs to be linked, because almost all readers understand at least one of the units.
* Dates {{crossref|(see {{section link||Chronological items}}, below)}}
* ] pages should not be linked from articles unless ], such as in a hatnote. Instead, use a ] to the appropriate article. For example, use {{mxt|{{y}}<nowiki>]</nowiki>}} for the Disney character, which appears as ] and leads to the intended page{{emdash}}instead of {{!mxt|{{n}}<nowiki>]</nowiki>}}, which appears identical but leads to a disambiguation page.
In addition, {{em|major}} examples of the following categories should generally not be linked:
* Countries (e.g., Brazil/Brazilian, Canada/Canadian, China/Chinese)
* Geographic features (e.g., the Himalayas, Pacific Ocean, South America)
* Settlements or municipalities (e.g., New Delhi; New York City, or just New York if the city context is already clear; London, if the context rules out ]; Southeast Asia)
* Languages (e.g., English, Arabic, Korean, Spanish)
* Nationalities, ethnicities or identities (e.g., British, Japanese, Turkish, African American, Nigerian)
* Religions (e.g., Christianity, Islam, Hinduism, Buddhism)

Links may be excessive even if they are informative. For example, because inline links present relatively small tap targets on touchscreen devices, placing several separate inline links close together within a section of text can make navigation more difficult for readers, especially if they have limited dexterity or coordination. Balance readability, information, and accessibility when adding multiple links in one section of text. As of 2024, most stub articles average two links per sentence, or about 10 to 20 links total. Most longer articles average somewhere around one link per 20 words. The lead of an article usually has a greater density of links than later parts of the article.

{{Anchor|Circular|Circ}}
{{Shortcut|MOS:CIRCULAR|MOS:CIRC}}
Do not link to pages that ] the link is on (unless the link is to a ] that links to an appropriate ''section'' of the current article).

The purpose of linking is to clarify and to provide reasonable navigation opportunities, not to emphasize a particular word. Do not link solely to draw attention to certain words or ideas, or as a mark of respect.

External links normally should not be placed in the body of an article (see ]).

====<span id="Repeated links"></span><span id="DUPLINK"></span> Duplicate and repeat links====
{{Shortcut|MOS:REPEATLINK|MOS:LINKONCE|MOS:DUPLICATELINK|MOS:DUPLINK|MOS:DL|MOS:REFLINK|WP:LINKFIRST}}
Link a term at most once per major section,{{efn|1=Major sections are generally detailed sections with a level-2 heading, but consensus at an article may determine a lower-level subsection is major, especially when a preceding subsection is especially long, when an article's structure puts most content under level-3 headings with level-2 ones primarily used for thematic grouping, or when a subsection is a link target at which many readers arrive directly.}} at first occurrence. Common sense applies; do not re-link in other sections if not contextually important there. Other mentions may be linked if helpful, such as in ], ], ], ], and ].

] stand alone in their usage, so there is no problem with repeating the same link in many citations within an article; e.g. <code><nowiki>|work=]</nowiki></code>.

In ], which are primarily referred to for encyclopedic entries on specific terms rather than read from top to bottom like a regular article, it is usually desirable to repeat links (including to other terms in the glossary) that were not already linked in the same entry {{crossref|(see ])}}.

Duplicate linking in ] is permissible if it significantly aids the reader. This is most often the case when the list is presenting information that could just as aptly be formatted in a table, and is expected to be parsed for particular bits of data, not read from top to bottom. If the list is normal article prose that happens to be formatted as a list, treat it as normal article prose.

Duplicate links in an article can be found using the ] sidebar tool.

====Lead section====
{{Shortcut|MOS:LEADLINK}}
{{for|links in the first sentence|Misplaced Pages:Manual of Style/Lead section#Contextual links}}
Too many links can make the lead hard to read. In technical articles that use uncommon terms, a higher-than-usual link density in the ] may be necessary. In such cases, try to provide an informal explanation in the lead, avoiding using too many technical terms until later in the article. (See ] and ].)

Most ] contain about 12 to 25 links in the lead, with an average of about 1.5 links per sentence, or one link for every 16 words.<ref>{{cite web |title=User:WhatamIdoing/Sandbox 3 |date=January 30, 2023 |url= https://en.wikipedia.org/search/?title=User:WhatamIdoing/Sandbox_3&oldid=1136368242 |work=Misplaced Pages |edition=English |access-date=August 31, 2023}}</ref>


====<span class="anchor" id="An example article"></span>An example article====
If possible, avoid placing two links next to each other in the text so they look like a single link, as in <code><nowiki>]</nowiki>&nbsp;<nowiki>]</nowiki></code> (]&nbsp;]). Consider rephrasing the sentence, omitting one of the links, or using a single more specific link instead.
{{Shortcut|MOS:LE|MOS:LINKEXAMPLES|MOS:EXAMPLELINKS|MOS:COMMONWORDS}}


For example, in the article on ]: For example, in the article on ]:
* almost certainly link ] and ] as these are technical terms that many readers are unlikely to understand at first sight; * Almost certainly link "]" and "]", as these are technical terms that many readers are unlikely to understand at first sight.
* consider linking ] and ] only if these common words have technical dimensions that are specifically relevant to the topic (a section-link is generally preferable in this case); * Consider linking "]" and "]" only if these common words have technical dimensions that are specifically relevant to the topic.
* do not link to the "United States", because that is a very large article with no explicit connection to supply and demand. * Do not link to the "United States", because that is an article on a very broad topic with no direct connection to supply and demand.
* definitely do not link "potato", because it is a common term with no particular relationship to the article on supply and demand, beyond its arbitrary use as an example of traded goods in that article. * Definitely do not link "wheat", because it is a common term with no particular relationship to the article on supply and demand, beyond its arbitrary use as an example of traded goods in that article.
* Make sure that the links are directed to the correct articles: in this example, you should link ], not ], which goes to a page on the philosophical concept. Many common dictionary words are ambiguous terms in Misplaced Pages and linking to them is often unhelpful to readers; "Good" is a surname and the name of albums, companies, etc., and the article title ] is used to index those.


== Techniques == ===Link clarity===
{{Shortcut|MOS:LINKCLARITY}}
=== Piped links ===
{{See also|#Piped links}}
It is possible to ] that are not exactly the same as the linked article title—for example, <code><nowiki>]</nowiki></code>. However, make sure that it is still clear what the link refers to without having to follow the link.


The article linked to should correspond as closely as possible to the term showing as the link, given the context.
*'''Plurals and possessives.''' When forming plurals, do so thus: <code><nowiki>]s</nowiki></code>. This is clearer to read in wiki form than<code><nowiki> ]</nowiki></code>—and easier to type. This syntax is also applicable to adjective constructs such as <code><nowiki>]n</nowiki></code> and the like. Hyphens and apostrophes must be included in the link to show as part of the same word. For example, <code><nowiki>]</nowiki></code> or <code><nowiki>]</nowiki></code>. Keeping possessive apostrophes inside the link, where possible, makes for more readable text and source, though either form is acceptable for possessive forms of links such as <code><nowiki>]'s</nowiki></code> or <code><nowiki>]</nowiki></code>.


For example, a link to the article ] should be clear that it is Mozart's Requiem in particular, rather than requiems in general. The link target and the link label do not have to match exactly, but the link must be as intuitive as possible (see {{slink||Intuitiveness}}).
*'''Case sensitivity.''' Links are not sensitive to initial capitalization, so there is no need to use piping where the only difference between the text and the target is the case of the initial letter (Misplaced Pages article titles almost always begin with a capital, whereas the linked words in context often do not). However, links are case-sensitive for all but the initial character.


{| class="wikitable"
*'''Piping and redirects.''' Do not use a piped link where it is possible to use a redirected term that fits well within the scope of the text. This assists in determining when a significant number of references to redirected links warrant more detailed articles. {{example needed}} Automated processes should not convert links to redirects into piped links; the link should always be examined in context. For more information, see ] and ].
!
! Article text
! ]
! Note
|-
|{{tick}}
| When Mozart wrote ]
| <syntaxhighlight lang="wikitext" inline>When Mozart wrote ]</syntaxhighlight>
| Includes the word "his" to specify
|-
|{{cross}}
| When Mozart wrote his ]
| <syntaxhighlight lang="wikitext" inline>When Mozart wrote his ]</syntaxhighlight>
| Only word "Requiem"
|-
|{{tick}}
| Previn conducted ]
| <syntaxhighlight lang="wikitext" inline>Previn conducted ]</syntaxhighlight> <br/> '''or''' <syntaxhighlight lang="wikitext" inline>Previn conducted ]</syntaxhighlight>
| Specifying that it is "Mozart's"
|-
|{{cross}}
| Previn conducted Mozart's ]
| <syntaxhighlight lang="wikitext" inline>Previn conducted Mozart's ]</syntaxhighlight>
| Only word "Requiem"
|}


===Link specificity===
*'''Intuitiveness.'''{{Anchor|EGG}}{{shortcut|WP:EGG}} Keep piped links as intuitive as possible. Do not use them to create "] links", that require the reader to follow them to understand the term. Misplaced Pages's articles are sometimes read in hard copy, where the option of following a link is not available. For example, do not write this:
{{Shortcut|MOS:SPECIFICLINK}}
:... and by mid-century the puns and sexual humor were back to stay (with a few <nowiki>]</nowiki>).

:The readers will not see the hidden reference to Thomas Bowdler unless they click on or hover over the piped ] link; in hard copy, the reference to Bowdler is completely lost. Instead, reference the article with an explicit "see also" or by rephrasing:
Always link to the article on the most specific topic appropriate to the context from which you link: it generally contains more focused information, as well as links to more general topics.
:... and by mid-century the puns and sexual humor were back to stay (with only a few exceptions; <nowiki>see ]</nowiki>).

:... and by mid-century the puns and sexual humor were back to stay, aside from a few exceptions such as the writings of <nowiki>]</nowiki>.
{| class="wikitable"
! What you type
! How it appears
! Specificity
|-
| <syntaxhighlight lang="wikitext" inline>]</syntaxhighlight> || ]
| Specific (preferred)
|-
| <syntaxhighlight lang="wikitext" inline>] orthography</syntaxhighlight> || ] orthography
| Related but less specific
|-
| <syntaxhighlight lang="wikitext" inline>Icelandic ]</syntaxhighlight> || Icelandic ]
| Unspecific
|-
| <syntaxhighlight lang="wikitext" inline>the ]</syntaxhighlight>|| the ]
| Specific (preferred)
|-
| <syntaxhighlight lang="wikitext" inline>the ] of ]</syntaxhighlight> || the ] of ]
| Unspecific
|-
| <syntaxhighlight lang="wikitext" inline>]</syntaxhighlight>|| ]
| Specific (preferred)
|-
| <syntaxhighlight lang="wikitext" inline>]</syntaxhighlight>|| ]
| Unspecific
|}

If there is no article about the most specific topic, do one of the following things:
* Consider ] yourself.
* If an article on the specific topic does not yet exist, create a redirect page to the article about a more general topic, as described in section {{section link||Redirects}}. For example, if no article yet exists on the song "Sad Statue" from the album ''Mezmerize'', create a new article called ] that is a redirect to the article '']''.
* If there is no article on a more general topic either, then create a ], but first, read {{section link||Red links}} below.

When neither a redirect nor a red link appears appropriate, consider linking to a more general article instead.

For example, instead of
<p>{{cross}}{{xt|]}} (an article which, as of 2023, had never been created),</p>
write
<p>{{tick}}{{xt|] hairstyles}} (which provides a link to the Baroque era),</p>
<p>{{tick}}{{xt|Baroque ]s}} (which provides a link to the article on hairstyle),</p>
<p>{{tick}}{{xt|Baroque hairstyles}} (which provides no link at all, and which may be preferable depending on context),</p>
or
<p>{{tick}}{{xt|]s of the ]}} (which provides separate links to both topics);</p>
however, do not create
<p>{{cross}}{{xt|] ]s}} as ] because they may be misinterpreted as linking to a single article on that topic.</p>

====Section links====
{{Shortcut|MOS:SECTIONLINKS|MOS:SECLINK|MOS:SL}}
{{Further|Help:Link#Section linking (anchors)|Help:Section#Section linking}}

If an existing article has a section specifically about a topic, linking to that section takes the reader directly to the relevant information. Section-linking options are ], ], and the {{tlx|Section link}} template, which also generates the {{char|§}} character.

====<span id="Broken section links"><span id="RENAMESECTION">Avoiding broken section links</span></span>====
{{shortcut |MOS:RENAMESECTION |MOS:BROKENSECTIONLINKS}}

A problem can arise if the title of the section is changed for any reason, because this action breaks any incoming section links or ]. (If this occurs, incoming links default to the top of the linked article.) The ] to prevent this breakage is to use a {{tlxs|Anchor}} template specifying the section's prior name.

{{anchor|HIDDENLINKADVICE}}{{shortcut|MOS:HIDDENLINKADVICE}}
An alternative, supplementary method has been to add a hidden comment to the target section such as {{nowrap|<code><nowiki><!-- "Quark" links here --></nowiki></code>}}{{efn|1=The hidden message (<code><nowiki><!-- "Article" links here --></nowiki></code>) must be added to the target section with a break between the header and the hidden message, or problems arise. Note the two lines:<br />
<code><nowiki>==Target section==</nowiki></code><br />
<code><nowiki><!-- "Article" links here --></nowiki></code><br />
See ] for further information about valid and invalid placement of heading comments.}} so that someone changing the title of that section can fix the incoming links. This method is weaker, since it puts the workload on the editor seeking to change the section title.

There are some bots aimed to fix broken anchors: ], {{U|Dexbot}}, and {{U|FrescoBot}}.

==Techniques==
===Redirects===
{{Shortcut|MOS:RDR|MOS:REDIR}}
{{Main|Misplaced Pages:Redirect}}

Suppose you need to link ''poodle'', and there is no such article yet. You might want to create a redirect from "poodle" to "dog" as follows: Link as usual: <code><nowiki>She owned a ]</nowiki></code>. When you save or preview this, you see: {{xt|She owned a ]}}. Follow the red link, and you are invited to create a new page for ''poodle''; enter (perhaps) <code><nowiki>#REDIRECT ]</nowiki></code>, so that readers clicking on ''poodle'' are taken, for now, to the dog article.

The redirect ] in a case like this than a direct link like <code><nowiki>]</nowiki></code>, because when an actual ''poodle'' article is eventually created (replacing the redirect), readers following the ''poodle'' link are taken there automatically without anyone needing to review all the links to ''dog'' to see which ones should actually go to ''poodle''.

To link to a redirect page without following the underlying redirect, use e.g. <code><nowiki>{{no redirect|poodle}}</nowiki></code>.
Avoid linking redirects that are ] (]).

===Piped links===
{{Shortcut|MOS:PIPE|MOS:PIPEDLINK}}
{{Further information|Misplaced Pages:Piped link}}<!--not a policy or guideline-->

Though a wikilink defaults to displaying the title of the target article, it is possible to choose more specific or more appropriate display text for the intended context. This can be done with the use of the pipe character ('''|'''). For example, {{xt|<code><nowiki>]</nowiki></code>}} displays as {{xt|]}}. However, make sure that it is still clear what the link is about without having to follow the link. Think about what the reader may believe the text refers to. For example, when seeing the link {{xt|<code><nowiki>]</nowiki></code>}}, which displays as {{xt|]}}, the reader would probably expect this link to go to a general article on ], rather than {{xt|]}} specifically. An exception to this is when it is clear from the context that a link refers to a specific article; for instance, in {{xt|]}} all links go to articles about these particular games.

====Style====
{{shortcut|MOS:PIPESTYLE}}
* '''Plurals and other derived names.''' {{xt|<code><nowiki>]s</nowiki></code>}} displays as {{xt|]s}}, and this is simpler and clearer than {{xt|<code><nowiki>]</nowiki></code>}}. Similarly: {{xt|<code><nowiki>]ing</nowiki></code>}}, {{xt|<code><nowiki>]ed</nowiki></code>}}, {{xt|<code><nowiki>]dest</nowiki></code>}}. Some characters do not work after the link; see ] for more details.
* '''Case sensitivity.''' Links are not sensitive to initial capitalization, so there is no need to use the pipe character where the case of the initial letter is the only difference between the link text and the target page. (Misplaced Pages article titles almost always begin with a capital, whereas the linked words in context often do not.) However, links are case-sensitive for all characters after the initial one.

====Intuitiveness====
{{redirect|MOS:EGG|text=You may also be looking for ]}}
{{shortcut|MOS:EGG|MOS:EASTEREGG|MOS:SUBMARINE}}{{Anchor|EGG|SUBMARINE|ASTONISH}}
]

Keep piped links as intuitive as possible. Per the ], make sure that the reader knows what to expect when following a link. You should plan your page structure and links so that everything appears reasonable and makes sense.

A link's visible label does not need to match the exact title of the article being linked, such as in {{Mxt|<nowiki>]</nowiki>}} or {{Mxt|<nowiki>]</nowiki>}}. However, avoid "]" or "submarine" links, which are links that unexpectedly hide relevant information underneath the link's label. For example, do not write:<br />{{in5}}<code>{{!mxt|Richard Feynman was also known for work in <nowiki>]</nowiki>.}}</code><br />Here readers would see the link displayed as {{xt|]}}, not the hidden reference to the page {{xt|]}}, unless they followed the link or inspected the target title e.g. by ] it. If a physical copy of the article were printed, or the article saved as an audio file, the reference to the parton model would be lost.

Instead, refer to the separate article with an explicit ''see also X'', or by rephrasing the sentence, as in:<br />{{in5}}<code>{{mxt|Richard Feynman was also known for work in <nowiki>]</nowiki>, especially the <nowiki>]</nowiki> model.}}</code>

====More words into a link====
{{shortcut|MOS:MORELINK|MOS:MORELINKWORDS}}{{Anchor|MORELINK|MORELINKWORDS}}
Sometimes moving other words into the bluelinked text avoids surprise.

For example, in an article on the history of Texas:<br />{{in5}}<code>{{!mxt|In 1845, the Republic of Texas was <nowiki>]</nowiki> by the United States.}}</code><br>appears as:<br>{{in5}}In 1845, the Republic of Texas was ] by the United States.<br>
which looks the same as a link to the generic topic of ] would.<br />However:<br>{{in5}}<code>{{mxt|In 1845, the <nowiki>]</nowiki> by the United States.}}</code><br>
appears as:<br>{{in5}}In 1845, the ] by the United States.<br>
and is clear that the 1845 annexation of Texas is linked.

====Names in names====
{{shortcut|MOS:LINKINNAME|MOS:PARTIALNAMELINK}}
Do not place a link to a name within another name. For example:
{| style="text-align:right; margin-left:44.8px"
! Write:
| <code>{{mxt|<nowiki>]</nowiki>}}</code> || → ]
|-
! Do not write:
| <code>{{!mxt|<nowiki>] Avenue</nowiki>}}</code> || → ] Avenue
|-
! Write:
| <code>{{mxt|<nowiki>]</nowiki>}}</code> || → ]
|-
! Do not write:
| <code>{{!mxt|<nowiki>] diagram</nowiki>}}</code> || → ] diagram
|}
The above applies regardless of whether linking to the full name creates a ]; for example, even if there is no article titled ]:
{| style="text-align:right; margin-left:44.8px"
! Do not write:
| <code>{{!mxt|<nowiki>] Avenue</nowiki>}}</code> || → ] Avenue
|}

See also {{slink||Link clarity}}.

====Piping and redirects<span class="anchor" id="NOPIPE"></span><span class="anchor" id="Piping and redirects"></span>====
{{Shortcut|MOS:NOPIPE|MOS:DYKPIPE}}
As per ] and {{section link||Link specificity}} above, do not use a piped link where it is possible to use a redirected term that fits well within the scope of the text. For example, the page {{xt|]}} is a redirect to the article about Mozart's opera '']'' (since Papageno is a character in The Magic Flute). While editing some other article, you might want to link the term {{xt|Papageno}}; here, you might be tempted to avoid the redirect by using a pipe within the link, as in {{!xt|<code><nowiki>]</nowiki></code>}}. Instead, write simply {{xt|<code><nowiki>]</nowiki></code>}} and let the system handle the rest. This has two advantages: first, if an article is written later about the more specific subject (in this case, "Papageno", the character), fewer links need to be changed to accommodate the new article; second, it indicates that the article is ].

An exception to this rule is when linking to articles in ] (DYK) "]" ], where piping links to prevent readers from seeing a redirect notice is preferable, and the hook is live only for a short time. {{crossref|(See also {{section link|WP:Piped link#When not to use}}.)}}

====<span id="Linking to sections of articles"></span> Piped links and redirects to sections of articles====
{{Shortcut|MOS:SECTLINK}}
{{See|#Section links|Help:Link#Section linking (anchors)|Misplaced Pages:Redirect#Targeted and untargeted redirects}}

As ], links to sections can take the reader directly to relevant information.

'''''Piped links.'''''

Using a piped link to sections avoids the unsightly ''Article name#Section name'' in the display text.

The format for a piped link is <code>{{mxt|<nowiki>]</nowiki>}}</code>. For example, to link to the "Culture" subsection of the article ], type
* <code>{{mxt|<nowiki>]</nowiki>}}</code> (note that the section name is case-sensitive),
which displays as {{xt|]}}. Then add a ] to the target section such as <code><nowiki><!--</nowiki> The article {{var|ArticleName}} links here. <nowiki>--></nowiki></code> so that if another user edits the title of that section, they can fix the incoming links (or, in cases where a section has a large number of incoming links, use {{tlx|Anchor}} on the anchor page).

To link to a section within the same article, write: <code><nowiki>]</nowiki></code>.

'''''Redirects to sections which may become articles.'''''

Many topics useful for linking may currently appear only as sections of other Misplaced Pages articles, but are potentially notable enough to become articles on their own. For example, the article {{xt|Eastern Anyshire}} might have a small "History" section, but this does not prevent the article {{xt|History of Eastern Anyshire}} being written eventually. A ] page from such a sub-topic to a general topic may exist already; if not, a redirect can be created when the occasion arises. It is bad practice to create links in article text using the format <code><nowiki>]</nowiki></code>; navigation then becomes difficult if the section is expanded into a new article. Instead, link using a redirect to the main topic; ] and makes improvements easier. Thus:
* In a redirect page named "<samp>History&nbsp;of&nbsp;{{var|Topic}}</samp>", use <code>{{mxt|#REDIRECT <nowiki>]</nowiki>}}</code>.
* In another article, use <code>{{mxt|<nowiki>]</nowiki>}}</code>.
* Avoid: <code>{{!mxt|<nowiki>]</nowiki>}}</code>.


==== Links to non-English language pages ====
:Similarly, use:
See {{section link|Help:Interlanguage links|Inline links}}.
::After an earlier disaster (see ]),... or
::After an earlier disaster (]),... or
::After the earlier ],...
:rather than:
::After an ],...


===Links to Misplaced Pages's categories===
:Piped links should never be used to introduce tendentious subtext, as in "He denied the <nowiki>]</nowiki>." (See also: ])
{{See also|Misplaced Pages:Colon trick}}
Misplaced Pages has categories of articles; for example, "Phrases". Adding the wikitext {{xt|<code><nowiki>]</nowiki></code>}} to an article will add that article to the category "Phrases". (This will not create any visible addition to the body text of the article.)


If you instead want to create a visible link to a category, add a colon in front of the word "Category". For example, {{xt|<code><nowiki>]</nowiki></code>}} creates the link ]. As with other links, piping can be used: ].
====Linking to sections of articles====
Linking to particular ] of articles can be useful, since it can take the reader immediately to the information that is most focused on the original topic. The format for a subsection link is <code><nowiki>]</nowiki></code>. For example, to link to the "Culture" subsection of the ] article, type <code><nowiki>]</nowiki></code>. When naming a ], think about what the reader will believe the link is about; in this example, the piped section-link should not be named "Oman", because the reader will think that link goes to the general article on Oman.


The {{tl|See also cat}} template can be used instead:
Although it is common to used piped links when linking to sections, e.g.:
{{xt|<code><nowiki>{{See also cat|Phrases}}</nowiki></code>}} creates: {{See also cat|Phrases}}
:<tt><nowiki>]</nowiki></tt>
:(])
this often becomes unwieldy in the main prose, so it may be preferable to create and link to a redirect, e.g.:
:<tt><nowiki>]</nowiki></tt>
:(])
which points to a section within the main ] article, and may also become a separate article in the future (see also ]). In addition, ] currently provides no way to determine which pages link to which section(s) of a given article, so creating redirects offers a way to filter incoming links and identify related articles.


=== Red links === ===Red links===
{{Shortcut|MOS:REDLINKS|MOS:REDLINK|MOS:RL}}
{{Main|Misplaced Pages:Red link}} {{Main|Misplaced Pages:Red link}}
An internal link that displays <font color=#CC2200>]</font> points to a page that does not exist by that name. Some red links come about due to errors (misspelling, or failure to check the exact name of the target article); these should be fixed by correcting the spelling, using a piped link or, if appropriate, creating a redirect. However many red links are perfectly legitimate, serving to point to an article which may exist in the future, and indeed encouraging editors to create such an article.<ref>Academic research has suggested that red links may be a driving force in Misplaced Pages growth; see ] and ] (2008): The collaborative organization of knowledge. In ], August 2008, 51(8), 68–73. DOI:10.1145/1378704.1378720. Quote: "Most new articles are created shortly after a corresponding reference to them is entered into the system". See also ]</ref>


Overlinking in general is a style issue partly because of the undesirable effect upon readability. But if too many ''blue'' links is distracting, then a ''red'' link is even more so. The ''unassuming'' coloration of the text (probably black) is the most productive.
Legitimate red links should not be resolved by simply removing the bracket. If a red link is within the context of the article, and it is a topic with the potential to eventually be a ], ] and ] article, then the link should be kept. Such links do not have an expiration date, beyond which they must be "fixed". Red links should be removed only if they point to articles that are unlikely ever to be created, such as the names of book chapters, or if they would have little significance in the context of the present article even if they were created.


In prose, if it seems that the level of red linking is overlinking, remember that red links have been found to be a driving force that encourages contributions,{{efn|1=Academic research has suggested that red links may be a driving force in Misplaced Pages growth; see: {{cite journal |title=The collaborative organization of knowledge |last1=Spinellis |first1=Diomidis |author1-link=Diomidis Spinellis |last2=Louridas |first2=Panagiotis |date=2008 |journal=] |volume=51 |issue=8 |pages=68–73 |publisher=] |doi=10.1145/1378704.1378720 |s2cid=77400 |quote=Most new articles are created shortly after a corresponding reference to them is entered into the system}} See also ].}} and then use that fact to balance the perceived stylistic issues of "overlinking" the red links.
Red is only the default color for these links for logged-in users, who can change their preferences to select another color.
(Legitimate red links are titles to unfulfilled coverage of topics that do not violate "]" policy.) Given a certain number of red links needed, if marking {{em|all}} of them could be overlinking, then just {{em|how many}} should be marked could be a style issue, and just {{em|which ones}} are priority is a helpful contribution.
To make a link more useful to readers when no article currently exists, it may be useful to create a redirect to a relevant existing article or section, or to create a ] for the new article (check similar articles for conventions on ] and ]).


In ], overlinking red links can occur when every item on a list is a red link. If the list is uniform, where each item is obviously qualified for an article, a {{em|single}} red link (or blue link) could indicate that. If the list is not uniform, the research effort to mark all possible red links is a risky investment: while red means "approved" status, "black" remains ambiguous, even though it meant "disapproved" {{em|after research}}. Valid ] for the future creation of each title in a list, or in prose, may also be a risky investment when the number of red links could be perceived by ''other'' editors as overlinking, and then removed before the investment was fruitful. The removal of massive numbers of red links from an overlinked list is best handled by an editor skilled in the automation of ].
=== Checking links as they are created ===
One of the most common errors in linking occurs when editors do not check to see whether a link they have created goes to the intended location. This is especially true when a mistake is not obvious to the reader or to other editors. The text of links needs to be exact, and many Misplaced Pages destinations have a number of similar titles. To avoid such problems, which can be irritating for readers, the following procedure is recommended, especially for editors who are new to creating links.
#Carefully key in the link.
#Click on "Show preview".
#In the display-mode, click on the links to check they go where you intend; if they do not, fix them. If a destination page does not appear to exist, do a quick search to determine whether the article has a differently worded title or the subject is treated in a section of another article. Adjust the link accordingly, or leave it as a red link.
#Return to the "Show preview" page using your browser's return button.
#Click on "Save page".


Red links can also be removed if they violate policy or the ], but otherwise red links do not have an expiration date. If you remain convinced there is overlinking of red links, consider turning some of them blue. The methods to do so are by creating a simple ], a ], or a ] page. All of these require the certainty that the red link was legitimate in the first place, such as the conventions on ].
By following ], an internal link will be much more likely to lead to an existing article. When there is not yet an article about the subject, a good link will make the creation of a correctly named article much easier for subsequent writers.


====Colored links====
== Specific cases ==
{{main|Misplaced Pages:Manual of Style/Text formatting#Color}}
=== Chronological items ===
In prose, refrain from implementing colored links, as these may impede user ability to distinguish links from regular text. See the guides to editing articles for accessibility at ] and ].
====Month-day linking====
Month-day articles (] and ]) should not be linked unless their content is germane and topical to the subject. Such links should share an important connection with that subject other than that the events occurred on the same date. For example, editors should not link the date (or year) in a sentence such as (from ]): "The Sydney Opera House was made a UNESCO World Heritage Site on 28 June 2007", because little, if any, of the contents of either ] or ] are germane to either UNESCO, a World Heritage Site, or the Sydney Opera House.<p>References to commemorative days (]) are treated as for any other link. Intrinsically chronological articles (], ], and ]) may themselves contain linked chronological items.


===Checking links as they are created===
====Year linking====
{{Shortcut|WP:TESTLINK}}
Year articles (], ], ]) should not be linked unless they contain information that is germane and topical to the subject matter—that is, the events in the year article should share an important connection other than merely that they occurred in the same year. For instance, ] may be linked to from another article about WWII, and so too may ] when writing about a particular development on the metric system in that year. However, the years of birth and death of architect ] should ''not'' be linked, because little, if any, of the contents of ] and ] are germane to either Johnson or to architecture.


It's easy to create an erroneous link without realizing it. When adding a new link, it's a good idea to use the "Show preview" button and then (from the preview) open the link in a new browser tab to check that it goes where you intend.
== External links ==
{{main|Misplaced Pages:External links}}
Misplaced Pages is not a link collection and an article comprising only links is contrary to the ].


By following ], an internal link is much more likely to lead to an existing article. When there is not yet an article about the subject, a good link makes it easier to create a correctly named article later.
=== Syntax ===
The syntax for referencing a ] is simple. Just enclose it in single brackets:


==Specific cases==
:<code><nowiki></nowiki></code>
===<span id="Chronological items"></span><span id="Year linking"></span><span id="Month-and-day linking"></span>Linking month-and-day or year===
{{Shortcut|WP:DATELINK|WP:YEARLINK|WP:LINKYEAR}}


Month-and-day articles (e.g. ] and ]) and year articles (e.g. ], ], ]) should not be linked unless the linked date or year has a significant connection to the subject of the linking article, beyond that of the date itself, so that the linking enhances the reader's understanding of the subject.
The URL must begin with<code><nowiki> http:// </nowiki></code>or another common protocol, such as<code><nowiki> ftp:// </nowiki></code>or<code><nowiki> news://</nowiki></code>.
For example:
* The date (or year) should not be linked in a sentence such as (from ]): "{{xt|The Sydney Opera House was made a UNESCO World Heritage Site on 28 June 2007}}", because little if any content of either ] or ] pertains to either UNESCO, World Heritage Sites, or the Sydney Opera House.
* The years of birth and death of architect ] should not be linked, because little if any content of ] or ] enhances the reader's understanding of Johnson or his work.
* <code><nowiki>]</nowiki></code> might be linked from another article about WWII.
* <code><nowiki>]</nowiki></code> might be linked from a passage discussing a particular development in the metric system which occurred in that year.
However, in intrinsically chronological articles (], ], and ]), links to specific month-and-day, month-and year, or year articles are not discouraged.


Commemorative days (]) are not considered month-and-day items for the purposes of the above.
In addition, putting URLs in plain text with no markup automatically produces a link, for example http://www.example.org/. However, this feature may disappear in a future release. Therefore, in cases where you wish to display the URL because it is intrinsically valuable information, it is better to use the short form of the URL (host name) as the optional text:<code><nowiki> </nowiki></code>produces .


===<span id="Units"></span> Units of measurement that are not obscure===
=== Link titles ===
Generally, a unit should be linked only if it is likely to be obscure to many readers or is itself being discussed. For example, the ], ], ], ], ], ], or ] might be considered obscure even if they are well-known ''within their field of use''. Other units may be obscure in some countries even if well known in others.
{{main|Misplaced Pages:Embedded citations}}
You should not add a descriptive title to an embedded HTML link within an article. Instead, when giving an embedded link as a source within an article, simply enclose the URL in square brackets, like this: . However, you should add a descriptive title when an external link is offered in the References, Further reading, or External links section. This is done by supplying descriptive text after the URL, separated by a space and enclosing it all in square brackets.


==External links section==
For example, to add a title to a bare URL such as<code><nowiki> http://en.wikipedia.org/ </nowiki></code>(this is rendered as "http://en.wikipedia.org/"), use the following syntax:<code><nowiki> </nowiki></code>(this is rendered as "").
{{Main|Misplaced Pages:External links}}


Misplaced Pages is not a link collection, and an article comprising only links is contrary to what the ] dictates.
Generally, URLs are ugly and uninformative; it is better for a meaningful title to be displayed rather than the URL itself. For example, "" is much more reader-friendly than "http://www.esa.int/export/esaCP/index.html". There may be exceptions where the URL is well known or is the company name. In this case, putting both the url and a valid title will be more informative: for example, "".


===Syntax===
If the URL ''is'' displayed, make it as simple as possible; for example, if the ''index.html'' is superfluous, remove it (but be sure to check in preview mode first).
The syntax for referencing a web address is simple. Just enclose it in single brackets with a space between the URL and the text that is displayed when the page is previewed or saved:
:<code><nowiki></nowiki></code>
The text appears as:
:


The URL must begin with either <code><nowiki>http://</nowiki></code> or <code><nowiki>https://</nowiki></code> (preferring <code><nowiki>https://</nowiki></code>, where available), or another common protocol, such as <code><nowiki>ftp://</nowiki></code> or <code><nowiki>news://</nowiki></code>. If no protocol is used, the square brackets display normally&nbsp;– &nbsp;– and can be used in the standard way.
The "printable version" of a page displays all URLs in full, including those given a title, so no information is lost.


In addition, putting URLs in plain text with no markup automatically produces a link, for example <code><nowiki>https://www.example.org/</nowiki></code> → {{xt|https://www.example.org/}}. However, this feature may disappear in a future release. Therefore, in cases where you wish to display the URL because it is intrinsically valuable information, it is better to use the short form of the URL (domain name) as the optional text: <code><nowiki></nowiki></code> produces {{xt|}}.
=== URLs as embedded (numbered) links ===
Without the optional text, external references appear as automatically numbered links: For example,
:<code><nowiki></nowiki></code>
is displayed like this:
:


] such as {{tlx|cite web}} should not be used in the <code>==External links==</code> section. ] such as {{tlx|official website}} are used instead of citation templates.
When an embedded HTML link is used to provide an inline source in an article, a numbered link should be used after the punctuation, like this, with a full citation given in the References section. See ] and ] for more information.


===Link titles===
When placed in the References and External links sections, these links should be expanded with link text, and preferably a full citation, including the name of the article, the author, the journal or newspaper the article appeared in, the date it was published, and the date retrieved.
{{Main|Misplaced Pages:Embedded citations}}


Embedded HTML links within an article are a now-deprecated way to supply a bare URL as a source within an article, by simply enclosing the URL in square brackets, like this: <code><nowiki></nowiki></code> → {{xt|}}. However, you should add a descriptive title when an external link is offered in the ], ], or ] sections. This is done by supplying descriptive text after the URL, separated by a space and enclosing it all in square brackets.
=== Position in article ===
Embedded links are positioned after the sentence or paragraph they are being used as a source for, and after the punctuation, like this.


For example, to add a title to a bare URL such as <code><nowiki>https://en.wikipedia.org/</nowiki></code> (this is rendered as {{xt|https://en.wikipedia.org/}}), use the following syntax: <code><nowiki></nowiki></code> (this is rendered as "{{xt|}}").
A full citation should then be added to the References section. Links not used as sources can be listed in the External links section:


{{Shortcut|MOS:URL|MOS:DOMAINNAME}}{{anchor|URL|reason=This is the target of the shortcuts.}}
: <code><nowiki>== External links ==</nowiki></code>
Generally, URLs and domain names are ugly and uninformative; it is better for a meaningful title or description to be displayed rather than the URL or domain itself. For example, {{xt|}} is much more reader-friendly than {{xt|http://www.esa.int/ESA}}. There may be exceptions where the domain name is well known or is also the company or publication name. When a URL or domain name is given, putting both a plain-English title or description and the URL is often more informative: for example, {{xt|}}.
: <code><nowiki>* [http:// </nowiki></code>
: <code><nowiki>* [http:// </nowiki></code>
As with other top-level headings, two equal signs should be used to mark up the external links heading (see ''Headings'' elsewhere in the article).


If the URL or domain name {{em|is}} displayed, make it as simple as possible; for example, if the <code>index.html</code> is superfluous, remove it (but be sure to check in preview mode first). Many but not all sites can be trimmed of a leading "www."; test it to be sure. Use ] to make a displayed domain more readable, e.g. {{xt|WashingtonPost.com}} versus {{xt|washingtonpost.com}}.
If there is a dispute on the position of an embedded link, consider organizing alphabetically.


The "printable version" of a Misplaced Pages article displays all URLs in full, including those given a title, so no information is lost.
See ] for how to format these, and ], which is policy.

===URLs as embedded (numbered) links===
Without the optional text, external references appear as automatically numbered links: For example,
:<code><nowiki></nowiki></code>
is displayed like this:
:
Numbered links of this type used to be used after the punctuation, like this, with a full citation given in the References section. This style of referencing is now deprecated, because such links are susceptible to ]. See ] and ] for more information.

===Position in article===
{{Main|MOS:ORDER}}

Embedded links that support information in an article are positioned in the same manner as any other reference in the article, following the usual standards about ] and ].

Links that are '''not''' used as sources can be listed in the External links section, like this:

: <code><nowiki>==External links==</nowiki></code>
: <code><nowiki>* </nowiki></code>
: <code><nowiki>* </nowiki></code>
As with other top-level headings, two equal signs should be used to mark up the external links heading (see {{section link|Misplaced Pages:Manual of Style/Layout|Headings}}). ''External links'' should always be the last section in an article. It precedes categories and some kinds of ].

If there is a dispute on the position of an embedded link, consider organizing alphabetically.


=== Non-English-language sites === ===Non-English-language sites===
Webpages in English are highly preferred. Linking to non-English pages may still be useful for readers in the following cases: Webpages in English are highly preferred. Linking to non-English pages may still be useful for readers in the following cases:
* When the website is the subject of the article
* When linking to pages with maps, diagrams, photos, tables (explain the key terms with the link, so that people who do not know the language can interpret them)
* When the webpage contains information found on no English-language site of comparable quality, and is used as a citation (or when translations on English-language sites are not authoritative).


If the language is one that most readers could not be expected to recognize, or is for some other reason unclear from the name of the publication or the book or article or page title, consider indicating what language the site is in.
* when the website is the subject of the article
* Example: {{xt|, an Albanian-language newspaper from ]}}
* when linking to pages with maps, diagrams, photos, tables (explain the key terms with the link, so that people who do not know the language can interpret them)
* Example: {{Xt|, a Spanish-language newspaper from ]}}
* when the webpage contains key or authoritative information found on no English-language site and is used as a citation (or when translations on English-language sites are not authoritative).


You can also indicate the language by putting a language template after the link. This is done using ] by typing {{Tlx|In lang|&lt;{{var|language code}}>}}. For example, {{Tlx|In lang|es}} displays as: {{xt|{{in lang|es}}}}. See ].
In such cases, indicate what language the site is in. For example:


When using one of the {{cs1}} or {{cs2}} templates, instead of the {{tld|In lang}} template, use the {{para|language}} parameter. This parameter accepts language names or language codes; see ]. (Use of language codes is to be preferred because cs1|2 automatically renders language names in the language of the local Misplaced Pages.)
*, a Spanish-language newspaper from ]


===File type and size===
You can also indicate the language by putting a language icon after the link. This is done using ] by typing <nowiki>{{Languageicon|<language code>|<language name>}}</nowiki>. For example, <nowiki>{{Languageicon|es}}</nowiki> displays as: {{Languageicon|es}}. Alternatively, type <nowiki>{{xx icon}}</nowiki>, where xx is the language code. For example, <nowiki>{{pl icon}}</nowiki> gives: {{pl icon}}. See ] for a list of these templates and the ].
If the link is not to an ] or ] file (the latter is identified automatically by the software with an icon like this: {{xt|}}), identify the file type. Useful templates are available: {{tl|DOClink}}, {{tl|RTFlink}}. If a ] is required to view the file, mention that as well. If a link is to a PDF file but doesn't end with <code>.pdf</code>, you can put a <code>#.pdf</code> at the end to flag it as a PDF.


If the link is to a very large page (considering all its elements, including images), a note about that is useful since someone with a slow or expensive connection may decide not to visit it.
=== File type and size ===
If the link is not to an ] or ] file (the latter is identified automatically by the software with an icon like this ), identify the file type. Useful templates are available: {{tl|DOClink}}, {{tl|RTFlink}}. If a browser plugin is required to view the file, mention that as well.


==Interwiki links==
If the link is to a large file (in the case of HTML, consider the size of the entire page, including the images), a note about that is useful too. Someone with a slow connection may decide not to use it.
{{Shortcut|MOS:IWL|MOS:INTERWIKI|MOS:INTERLINK}}
{{Main|Help:Interlanguage links|Help:Interwiki linking}}
{{further|Misplaced Pages:Wikimedia sister projects}}


===Linking===
== Interwiki links ==
Using links to ] as an example, interwiki links can take the form of:
{{main|Misplaced Pages:Interlanguage links|Misplaced Pages:Interwikimedia links}}
:<code><nowiki>]</nowiki></code> which appears as: ]
Links to articles in other Wikimedia Foundation projects such as Wiktionary and Wikiquote can be done with special link templates such as ]. These will display as a blue box with a logo. Similar templates exist for some free content resources that are not run by the Wikimedia Foundation. These boxes are formatted in light green to distinguish them from Misplaced Pages's official sister projects. A list of such templates can be found at ].


The pipe symbol suppresses the prefix:
== Link maintenance ==
:<code><nowiki>]</nowiki></code> → ]
Linking and continual change are both central features of Misplaced Pages; however, continual change makes linking vulnerable to acquired technical faults and the provision of different information from that which was originally intended. This is true of both "outgoing" links (''from'' an article) and "incoming" links (''to'' an article).
*''Outgoing links:'' These should be checked from time to time for unintended changes that are undesirable; if the opportunity arises to improve their formatting, appropriateness and focus, this should be done.
*''Incoming links:'' Creating an article will turn blue any existing red links to its title (redlinks are usually created in the hope that an article will eventually be written). Therefore, when creating an article, it is wise to check "What links here" to identify such redlinks, if any, and that they are appropriate.


Adding text after the pipe allows either the same or a different text (with no prefix):
==Notes==
:<code><nowiki>]</nowiki></code> → ]
{{reflist}}
:<code><nowiki>]</nowiki></code> → ]

To avoid reader confusion, inline interlanguage, or interwiki, linking within an article's body text is generally discouraged. Exceptions: ] and ] entries may be linked inline (e.g. to an unusual word or the text of a document being discussed), and {{tl|Interlanguage link}} template may be helpful to show a ] accompanied by an interlanguage link if no article exists in English Misplaced Pages.

===Floating boxes===
{{wikiquote|Jimmy Wales}}Floating boxes for links to articles in other Wikimedia Foundation projects such as Wiktionary and Wikiquote can be added using ], for example <code><nowiki>{{Wikiquote|Jimmy Wales}}</nowiki></code>. These display as a shaded box with a logo.

(There is a related set of templates for some free content resources that are not run by the Wikimedia Foundation. Rather than creating a sidebar link, they create text suitable for using as a bulleted entry in an "External links" section. A list of such templates can be found at ].)

==Link maintenance==
Linking and continual change are both central features of Misplaced Pages. However, continual change makes linking vulnerable to acquired technical faults, and to the later provision of different information from that which was originally intended. This is true of both "outgoing" links (''from'' an article) and "incoming" links (''to'' an article).
* ''Outgoing links:'' These should be checked from time to time for unintended changes that are undesirable. If the opportunity arises to improve their formatting, appropriateness, and focus, this should be done.
* ''Incoming links:'' Creating an article turns blue any existing red links to its title. Proper redlinks are created only in the hope that an article will eventually be written. Therefore, when creating an article, it is wise to check "What links here" to identify such redlinks, if any, and that they are appropriate.
<!--==Transclusion in talk pages via linking==
] means the inclusion of the content of one document in another document by reference, such as by linking. It is best to use transclusion linking rather than copying entire sections, such as in talk page discussions, so as to avoid ].-->

==Buttons==
{{Shortcut|MOS:BUTTONS}}
] should not be used in articles. If the desire is to "navigate" a reader to a new page, taking them away from the current page, a link is preferred. Buttons are used within Misplaced Pages to trigger an "action", such as {{Clickable button|]|color=blue}} or {{Clickable button|]|color=blue}} or {{Clickable button|]|color=blue}} or {{Clickable button|]|color=blue}}.<ref>{{cite web |url= https://doc.wikimedia.org/codex/latest/components/demos/button.html |title=Codex: Wikimedia Design System |at="Components: Button" section |date=2024 |work=Doc.Wikimedia.org |publisher=]}}</ref>


==See also== ==See also==
{{Columns-list|colwidth=30em|
* ]
* ] (information page summarizing the key points of this guideline)
* ]
* ] * ]
* ]
* ]
* ]
* ]
* ]
* ], pages without internal links
* ]
* ]
* ], pages without incoming links
* ] * ]
* ] * ]
* {{Section link|Misplaced Pages:What Misplaced Pages is not|Misplaced Pages is not an indiscriminate collection of information}}
* ], pages without internal links
* ], pages without incoming links * ], the idea that every single word should be a link
* ] * ], editors dedicated to clearing up the immense backlog of orphaned articles
* ], a tutorial on high-quality linking with practice questions
* ]
* ], a script to highlight links occuring more than once in an article
* ]
}}
* ]

* ]
==Notes==
* ], the idea that every single word should be a link ''(historical)''
{{Notelist}}


==References==
{{Reflist}}


==External links==
]
*
]
* {{cite journal
|last1=Silvers |first1=V. L.
|last2=Kreiner |first2=D. S.
|date=1997
|title=The Effects of Pre-existing Inappropriate Highlighting on Reading Comprehension
|journal=Reading Research and Instruction
|volume=36
|issue=3
|pages=217–223
|doi=10.1080/19388079709558240
|id={{MASID|3889799}}
}}
* for automatic detection of ] in Misplaced Pages


{{Style wide}}
]
<noinclude>
]
] ]
] ]
</noinclude>
]
]
]
]
]

Latest revision as of 11:31, 25 December 2024

English Misplaced Pages guideline For technical information about link formatting, see Help:Link. For information on adding external links to articles, see Misplaced Pages:External links.

This guideline is a part of the English Misplaced Pages's Manual of Style.
It is a generally accepted standard that editors should attempt to follow, though occasional exceptions may apply. Any substantive edit to this page should reflect consensus. When in doubt, discuss first on the talk page.
Shortcuts
Manual of Style (MoS)

Content
Formatting
Images
Layout
Lists
By topic area
Legal
Arts
Music
History
Regional
Religion
Science
Sports
Related guidelines
Linking and
page manipulation
Linking and diffs
Categorization
Moving and redirecting
Merging
Splitting
Importing and copying
Protecting
Additional

Linking through hyperlinks is an important feature of Misplaced Pages. Internal links bind the project together into an interconnected whole. Interwikimedia links bind the project to sister projects such as Wikisource, Wiktionary and Misplaced Pages in other languages, and external links bind Misplaced Pages to the World Wide Web.

Appropriate links provide instant pathways to locations within and outside the project that can increase readers' understanding of the topic at hand. Whenever writing or editing an article, consider not only what to put in the article, but what links to include to help the reader find related information, and also which other pages should have links to the article. Avoid both underlinking and overlinking, as described below.

This page provides guidelines as to when links should and should not be used, and how to format links. For information about the syntax used to create links, see Help:Link. For links on disambiguation pages, see Misplaced Pages:Manual of Style/Disambiguation pages.

Principles

"WP:BUILD" redirects here. For the behavioral guideline, see Misplaced Pages:Here to build an encyclopedia. Shortcuts

Misplaced Pages is based on hypertext, and aims to "build the web" to enable readers to access relevant information on other Misplaced Pages pages easily. The page from which the hyperlink is activated is called the anchor; the page the link points to is called the target.

In adding or removing links, consider an article's place in the knowledge tree. Internal links can add to the cohesion and utility of Misplaced Pages, allowing readers to deepen their understanding of a topic by conveniently accessing other articles. Ask yourself, "How likely is it that the reader will also want to read that other article?" Consider including links where readers might want to use them; for example, in article leads, at the openings of new sections, in the cells of tables, and in file captions. But as a rule of thumb, link only the first occurrence of a term in the text of the article.

General points on linking style

Shortcuts
  • As explained in more detail at Help:Link § Wikilinks, linking can be direct (], which results in Riverside, California), or piped (], which results in Riverside in the text, but still links to the article "Riverside, California"—although the pipe trick is an easier way to create this particular link).
  • ShortcutSection headings should not themselves contain links; instead, a {{main}} or {{see also}} template should be placed immediately after the heading.
  • Links should not be placed in the boldface reiteration of the title in the opening sentence of a lead.
  • ShortcutBe conservative when linking within quotations; link only to targets that correspond to the meaning clearly intended by the quote's author. Where possible, link from text outside of the quotation instead – either before it or soon after.
  • ShortcutsWhen possible, do not place links next to each other, to avoid appearing like a single link, as in chess tournament (] ]). Instead, consider rephrasing the sentence (tournament of chess), omitting one of the links (chess tournament), or using a single, more specific link as in chess tournament (]).
  • ShortcutFor a geographical location expressed as a sequence of two or more territorial units, link only the first unit.
    • For example, avoid
    ☒NSydney, Australia (], ])
    or
    ☒NQuothquan, South Lanarkshire, Scotland (], ], ])
    or
    ☒NBuffalo, New York, United States (], ], ])
    • Instead, use
    checkYSydney, Australia (], Australia)
    or
    checkYQuothquan, South Lanarkshire, Scotland (], South Lanarkshire, Scotland)
    or
    checkYBuffalo, New York, United States (], United States)
  • Linked text should avoid leading and trailing spaces. Punctuation, including spaces, should be external to the linked items.
  • Articles on technical subjects might demand a higher density of links than general-interest articles, because they are likely to contain more technical terms that general dictionaries are unlikely to explain in context.
  • Beware of linking to an article without first confirming that the target article covers the appropriate topic. For example, an article mentioning the physics unit "barn" should link to barn (unit), not barn.
  • ShortcutIn articles, do not link to pages outside the article namespace, except in articles about Misplaced Pages itself (and even in that case with care – see Misplaced Pages:Manual of Style/Self-references to avoid).
  • Do not unnecessarily make a reader chase links: if a highly technical term can be simply explained with very few words, do so.
  • Shortcuts Use a link when appropriate, but as far as possible do not force a reader to use that link to understand the sentence. The text needs to make sense to readers who cannot follow links. Users may print articles or read offline, and Misplaced Pages content may be encountered in republished form, often without links.
  • Refrain from implementing colored links that may impede user ability to distinguish links from regular text, or color links for purely aesthetic reasons.

Overlinking and underlinking

"WP:CONTEXT" redirects here. For context in the lead of a biography, see MOS:CONTEXTBIO. For subject context in articles, see WP:AUDIENCE. For notices that can be added to articles, see Template:Overlinked and Template:Underlinked.

What generally should be linked

"MOS:UL" redirects here. For unordered lists, see Misplaced Pages:Manual of Style/Lists § Embedded lists. For underlining, see Misplaced Pages:Manual of Style/Text formatting § How not to apply emphasis. Shortcuts

An article is said to be underlinked if unlinked words are needed to aid understanding of the article. In general, links should be created for:

  • Relevant connections to the subject of another article that help readers understand the article more fully (see the example below). This can include people, events, and topics that already have an article or that clearly deserve one, as long as the link is relevant to the article in question.
  • Articles with relevant information, for example: "see Fourier series for relevant background"
  • Articles explaining words of technical terms, jargon or slang expressions or phrases—but you could also give a concise definition instead of or in addition to a link. If there is no appropriate Misplaced Pages article, an interwikimedia link to Wiktionary could be used.
  • Proper names that are likely to be unfamiliar to readers

If you feel that a link is relevant to the topic of the article but does not belong in the body of an article, consider moving it to a "See also" section.

Links may be created to potential articles that do not yet exist (see § Red links). If an article exists on a non-English language Misplaced Pages but not yet in English, consider a red link that also links to the non-English language article (see Help:Interlanguage links § Inline links).

What generally should not be linked

Shortcuts

An article is said to be overlinked if it contains an excessive number of links, making it difficult to identify those likely to aid a reader's understanding. A good question to ask yourself is whether reading the article you're about to link to would help someone understand the article you are linking from. Unless a term is particularly relevant to the context in the article, words and terms understood by most readers in context are usually not linked. Be conscious of your own demographic biases when determining whether certain terms have this level of recognizability – what is well known in your age group, line of work, or country may be less so for others. Examples include:

  • Everyday words (e.g., education, violence, aircraft, river)
  • Common occupations (e.g., accountant, politician, actor)
  • Common units of measurement, often those relating to time, temperature, length, area, or volume. If both non-metric and metric equivalents are given, as in 5 centimetres (2 in), usually neither unit needs to be linked, because almost all readers understand at least one of the units.
  • Dates (see § Chronological items, below)
  • Disambiguation pages should not be linked from articles unless the link is purposeful, such as in a hatnote. Instead, use a piped link to the appropriate article. For example, use Green tickY] for the Disney character, which appears as Moana and leads to the intended page—instead of Red XN], which appears identical but leads to a disambiguation page.

In addition, major examples of the following categories should generally not be linked:

  • Countries (e.g., Brazil/Brazilian, Canada/Canadian, China/Chinese)
  • Geographic features (e.g., the Himalayas, Pacific Ocean, South America)
  • Settlements or municipalities (e.g., New Delhi; New York City, or just New York if the city context is already clear; London, if the context rules out London, Ontario; Southeast Asia)
  • Languages (e.g., English, Arabic, Korean, Spanish)
  • Nationalities, ethnicities or identities (e.g., British, Japanese, Turkish, African American, Nigerian)
  • Religions (e.g., Christianity, Islam, Hinduism, Buddhism)

Links may be excessive even if they are informative. For example, because inline links present relatively small tap targets on touchscreen devices, placing several separate inline links close together within a section of text can make navigation more difficult for readers, especially if they have limited dexterity or coordination. Balance readability, information, and accessibility when adding multiple links in one section of text. As of 2024, most stub articles average two links per sentence, or about 10 to 20 links total. Most longer articles average somewhere around one link per 20 words. The lead of an article usually has a greater density of links than later parts of the article.

Shortcuts

Do not link to pages that redirect back to the page the link is on (unless the link is to a redirect with possibilities that links to an appropriate section of the current article).

The purpose of linking is to clarify and to provide reasonable navigation opportunities, not to emphasize a particular word. Do not link solely to draw attention to certain words or ideas, or as a mark of respect.

External links normally should not be placed in the body of an article (see Misplaced Pages:External links).

Duplicate and repeat links

Shortcuts

Link a term at most once per major section, at first occurrence. Common sense applies; do not re-link in other sections if not contextually important there. Other mentions may be linked if helpful, such as in infoboxes, tables, image captions, footnotes, and hatnotes.

Citations stand alone in their usage, so there is no problem with repeating the same link in many citations within an article; e.g. |work=].

In glossaries, which are primarily referred to for encyclopedic entries on specific terms rather than read from top to bottom like a regular article, it is usually desirable to repeat links (including to other terms in the glossary) that were not already linked in the same entry (see Template:Glossary link).

Duplicate linking in stand-alone and embedded lists is permissible if it significantly aids the reader. This is most often the case when the list is presenting information that could just as aptly be formatted in a table, and is expected to be parsed for particular bits of data, not read from top to bottom. If the list is normal article prose that happens to be formatted as a list, treat it as normal article prose.

Duplicate links in an article can be found using the duplinks-alt sidebar tool.

Lead section

Shortcut For links in the first sentence, see Misplaced Pages:Manual of Style/Lead section § Contextual links.

Too many links can make the lead hard to read. In technical articles that use uncommon terms, a higher-than-usual link density in the lead section may be necessary. In such cases, try to provide an informal explanation in the lead, avoiding using too many technical terms until later in the article. (See Misplaced Pages:Make technical articles understandable and Misplaced Pages is not a scientific journal.)

Most Featured Articles contain about 12 to 25 links in the lead, with an average of about 1.5 links per sentence, or one link for every 16 words.

An example article

Shortcuts

For example, in the article on supply and demand:

  • Almost certainly link "microeconomics" and "general equilibrium theory", as these are technical terms that many readers are unlikely to understand at first sight.
  • Consider linking "price" and "goods" only if these common words have technical dimensions that are specifically relevant to the topic.
  • Do not link to the "United States", because that is an article on a very broad topic with no direct connection to supply and demand.
  • Definitely do not link "wheat", because it is a common term with no particular relationship to the article on supply and demand, beyond its arbitrary use as an example of traded goods in that article.
  • Make sure that the links are directed to the correct articles: in this example, you should link goods, not good, which goes to a page on the philosophical concept. Many common dictionary words are ambiguous terms in Misplaced Pages and linking to them is often unhelpful to readers; "Good" is a surname and the name of albums, companies, etc., and the article title Good (disambiguation) is used to index those.

Link clarity

Shortcut See also: § Piped links

The article linked to should correspond as closely as possible to the term showing as the link, given the context.

For example, a link to the article Requiem (Mozart) should be clear that it is Mozart's Requiem in particular, rather than requiems in general. The link target and the link label do not have to match exactly, but the link must be as intuitive as possible (see § Intuitiveness).

Article text Wikitext Note
checkY When Mozart wrote his Requiem When Mozart wrote ] Includes the word "his" to specify
☒N When Mozart wrote his Requiem When Mozart wrote his ] Only word "Requiem"
checkY Previn conducted Mozart's Requiem Previn conducted ]
or Previn conducted ]
Specifying that it is "Mozart's"
☒N Previn conducted Mozart's Requiem Previn conducted Mozart's ] Only word "Requiem"

Link specificity

Shortcut

Always link to the article on the most specific topic appropriate to the context from which you link: it generally contains more focused information, as well as links to more general topics.

What you type How it appears Specificity
] Icelandic orthography Specific (preferred)
] orthography Icelandic orthography Related but less specific
Icelandic ] Icelandic orthography Unspecific
the ] the flag of Tokelau Specific (preferred)
the ] of ] the flag of Tokelau Unspecific
] Requiem Specific (preferred)
] Requiem Unspecific

If there is no article about the most specific topic, do one of the following things:

  • Consider creating the article yourself.
  • If an article on the specific topic does not yet exist, create a redirect page to the article about a more general topic, as described in section § Redirects. For example, if no article yet exists on the song "Sad Statue" from the album Mezmerize, create a new article called Sad Statue that is a redirect to the article Mezmerize.
  • If there is no article on a more general topic either, then create a red link, but first, read § Red links below.

When neither a redirect nor a red link appears appropriate, consider linking to a more general article instead.

For example, instead of

☒NBaroque hairstyles (an article which, as of 2023, had never been created),

write

checkYBaroque hairstyles (which provides a link to the Baroque era),

checkYBaroque hairstyles (which provides a link to the article on hairstyle),

checkYBaroque hairstyles (which provides no link at all, and which may be preferable depending on context),

or

checkYhairstyles of the Baroque (which provides separate links to both topics);

however, do not create

☒NBaroque hairstyles as two adjacent links because they may be misinterpreted as linking to a single article on that topic.

Section links

Shortcuts Further information: Help:Link § Section linking (anchors), and Help:Section § Section linking

If an existing article has a section specifically about a topic, linking to that section takes the reader directly to the relevant information. Section-linking options are piped links, redirects, and the {{Section link}} template, which also generates the § character.

Avoiding broken section links

Shortcuts

A problem can arise if the title of the section is changed for any reason, because this action breaks any incoming section links or excerpts. (If this occurs, incoming links default to the top of the linked article.) The recommended way to prevent this breakage is to use a {{subst:Anchor}} template specifying the section's prior name.

Shortcut

An alternative, supplementary method has been to add a hidden comment to the target section such as <!-- "Quark" links here --> so that someone changing the title of that section can fix the incoming links. This method is weaker, since it puts the workload on the editor seeking to change the section title.

There are some bots aimed to fix broken anchors: cewbot, Dexbot, and FrescoBot.

Techniques

Redirects

Shortcuts Main page: Misplaced Pages:Redirect

Suppose you need to link poodle, and there is no such article yet. You might want to create a redirect from "poodle" to "dog" as follows: Link as usual: She owned a ]. When you save or preview this, you see: She owned a poodle. Follow the red link, and you are invited to create a new page for poodle; enter (perhaps) #REDIRECT ], so that readers clicking on poodle are taken, for now, to the dog article.

The redirect is better in a case like this than a direct link like ], because when an actual poodle article is eventually created (replacing the redirect), readers following the poodle link are taken there automatically without anyone needing to review all the links to dog to see which ones should actually go to poodle.

To link to a redirect page without following the underlying redirect, use e.g. {{no redirect|poodle}}. Avoid linking redirects that are self links (WP:SELFRED).

Piped links

Shortcuts Further information: Misplaced Pages:Piped link

Though a wikilink defaults to displaying the title of the target article, it is possible to choose more specific or more appropriate display text for the intended context. This can be done with the use of the pipe character (|). For example, ] displays as Henry II. However, make sure that it is still clear what the link is about without having to follow the link. Think about what the reader may believe the text refers to. For example, when seeing the link ], which displays as Archery, the reader would probably expect this link to go to a general article on archery, rather than Archery at the 2008 Summer Olympics specifically. An exception to this is when it is clear from the context that a link refers to a specific article; for instance, in Template:Events at the 2008 Summer Olympics all links go to articles about these particular games.

Style

Shortcut
  • Plurals and other derived names. ]s displays as apples, and this is simpler and clearer than ]. Similarly: ]ing, ]ed, ]dest. Some characters do not work after the link; see Help:Link for more details.
  • Case sensitivity. Links are not sensitive to initial capitalization, so there is no need to use the pipe character where the case of the initial letter is the only difference between the link text and the target page. (Misplaced Pages article titles almost always begin with a capital, whereas the linked words in context often do not.) However, links are case-sensitive for all characters after the initial one.

Intuitiveness

"MOS:EGG" redirects here. You may also be looking for WP:EASTEREGG. Shortcuts

young child looks under some green plants
Is there anything hidden in here?

Keep piped links as intuitive as possible. Per the principle of least astonishment, make sure that the reader knows what to expect when following a link. You should plan your page structure and links so that everything appears reasonable and makes sense.

A link's visible label does not need to match the exact title of the article being linked, such as in ] or ]. However, avoid "Easter egg" or "submarine" links, which are links that unexpectedly hide relevant information underneath the link's label. For example, do not write:
     Richard Feynman was also known for work in ].
Here readers would see the link displayed as particle physics, not the hidden reference to the page Parton (particle physics), unless they followed the link or inspected the target title e.g. by mousing over it. If a physical copy of the article were printed, or the article saved as an audio file, the reference to the parton model would be lost.

Instead, refer to the separate article with an explicit see also X, or by rephrasing the sentence, as in:
     Richard Feynman was also known for work in ], especially the ] model.

More words into a link

Shortcuts

Sometimes moving other words into the bluelinked text avoids surprise.

For example, in an article on the history of Texas:
     In 1845, the Republic of Texas was ] by the United States.
appears as:
     In 1845, the Republic of Texas was annexed by the United States.
which looks the same as a link to the generic topic of annexation would.
However:
     In 1845, the ] by the United States.
appears as:
     In 1845, the Republic of Texas was annexed by the United States.
and is clear that the 1845 annexation of Texas is linked.

Names in names

Shortcuts

Do not place a link to a name within another name. For example:

Write: ] Columbus Avenue
Do not write: ] Avenue Columbus Avenue
Write: ] Feynman diagram
Do not write: ] diagram Feynman diagram

The above applies regardless of whether linking to the full name creates a red link; for example, even if there is no article titled Lafayette Avenue (Brooklyn):

Do not write: ] Avenue Lafayette Avenue

See also § Link clarity.

Piping and redirects

Shortcuts

As per WP:NOTBROKEN and § Link specificity above, do not use a piped link where it is possible to use a redirected term that fits well within the scope of the text. For example, the page Papageno is a redirect to the article about Mozart's opera The Magic Flute (since Papageno is a character in The Magic Flute). While editing some other article, you might want to link the term Papageno; here, you might be tempted to avoid the redirect by using a pipe within the link, as in ]. Instead, write simply ] and let the system handle the rest. This has two advantages: first, if an article is written later about the more specific subject (in this case, "Papageno", the character), fewer links need to be changed to accommodate the new article; second, it indicates that the article is wanted.

An exception to this rule is when linking to articles in Did you know (DYK) "hooks" on the Main Page, where piping links to prevent readers from seeing a redirect notice is preferable, and the hook is live only for a short time. (See also WP:Piped link § When not to use.)

Piped links and redirects to sections of articles

Shortcut Further information: § Section links, Help:Link § Section linking (anchors), and Misplaced Pages:Redirect § Targeted and untargeted redirects

As explained above, links to sections can take the reader directly to relevant information.

Piped links.

Using a piped link to sections avoids the unsightly Article name#Section name in the display text.

The format for a piped link is ]. For example, to link to the "Culture" subsection of the article Oman, type

  • ] (note that the section name is case-sensitive),

which displays as culture of Oman. Then add a hidden comment to the target section such as <!-- The article ArticleName links here. --> so that if another user edits the title of that section, they can fix the incoming links (or, in cases where a section has a large number of incoming links, use {{Anchor}} on the anchor page).

To link to a section within the same article, write: ].

Redirects to sections which may become articles.

Many topics useful for linking may currently appear only as sections of other Misplaced Pages articles, but are potentially notable enough to become articles on their own. For example, the article Eastern Anyshire might have a small "History" section, but this does not prevent the article History of Eastern Anyshire being written eventually. A redirect page from such a sub-topic to a general topic may exist already; if not, a redirect can be created when the occasion arises. It is bad practice to create links in article text using the format ]; navigation then becomes difficult if the section is expanded into a new article. Instead, link using a redirect to the main topic; it costs little and makes improvements easier. Thus:

  • In a redirect page named "History of Topic", use #REDIRECT ].
  • In another article, use ].
  • Avoid: ].

Links to non-English language pages

See Help:Interlanguage links § Inline links.

Links to Misplaced Pages's categories

See also: Misplaced Pages:Colon trick

Misplaced Pages has categories of articles; for example, "Phrases". Adding the wikitext ] to an article will add that article to the category "Phrases". (This will not create any visible addition to the body text of the article.)

If you instead want to create a visible link to a category, add a colon in front of the word "Category". For example, ] creates the link Category:Phrases. As with other links, piping can be used: Phrases.

The {{See also cat}} template can be used instead:

{{See also cat|Phrases}} creates:

See also: Category:Phrases

Red links

Shortcuts Main page: Misplaced Pages:Red link

Overlinking in general is a style issue partly because of the undesirable effect upon readability. But if too many blue links is distracting, then a red link is even more so. The unassuming coloration of the text (probably black) is the most productive.

In prose, if it seems that the level of red linking is overlinking, remember that red links have been found to be a driving force that encourages contributions, and then use that fact to balance the perceived stylistic issues of "overlinking" the red links. (Legitimate red links are titles to unfulfilled coverage of topics that do not violate "What Misplaced Pages is not" policy.) Given a certain number of red links needed, if marking all of them could be overlinking, then just how many should be marked could be a style issue, and just which ones are priority is a helpful contribution.

In lists, overlinking red links can occur when every item on a list is a red link. If the list is uniform, where each item is obviously qualified for an article, a single red link (or blue link) could indicate that. If the list is not uniform, the research effort to mark all possible red links is a risky investment: while red means "approved" status, "black" remains ambiguous, even though it meant "disapproved" after research. Valid requests for the future creation of each title in a list, or in prose, may also be a risky investment when the number of red links could be perceived by other editors as overlinking, and then removed before the investment was fruitful. The removal of massive numbers of red links from an overlinked list is best handled by an editor skilled in the automation of text processing.

Red links can also be removed if they violate policy or the guideline for red links, but otherwise red links do not have an expiration date. If you remain convinced there is overlinking of red links, consider turning some of them blue. The methods to do so are by creating a simple stub, a redirect, or a disambiguation page. All of these require the certainty that the red link was legitimate in the first place, such as the conventions on article titles.

Colored links

Main page: Misplaced Pages:Manual of Style/Text formatting § Color

In prose, refrain from implementing colored links, as these may impede user ability to distinguish links from regular text. See the guides to editing articles for accessibility at contrast and navbox colors.

Checking links as they are created

Shortcut

It's easy to create an erroneous link without realizing it. When adding a new link, it's a good idea to use the "Show preview" button and then (from the preview) open the link in a new browser tab to check that it goes where you intend.

By following naming conventions, an internal link is much more likely to lead to an existing article. When there is not yet an article about the subject, a good link makes it easier to create a correctly named article later.

Specific cases

Linking month-and-day or year

Shortcuts

Month-and-day articles (e.g. February 24 and 10 July) and year articles (e.g. 1795, 1955, 2007) should not be linked unless the linked date or year has a significant connection to the subject of the linking article, beyond that of the date itself, so that the linking enhances the reader's understanding of the subject. For example:

  • The date (or year) should not be linked in a sentence such as (from Sydney Opera House): "The Sydney Opera House was made a UNESCO World Heritage Site on 28 June 2007", because little if any content of either June 28 or 2007 pertains to either UNESCO, World Heritage Sites, or the Sydney Opera House.
  • The years of birth and death of architect Philip Johnson should not be linked, because little if any content of 1906 or 2005 enhances the reader's understanding of Johnson or his work.
  • ] might be linked from another article about WWII.
  • ] might be linked from a passage discussing a particular development in the metric system which occurred in that year.

However, in intrinsically chronological articles (1789, January, and 1940s), links to specific month-and-day, month-and year, or year articles are not discouraged.

Commemorative days (Saint Patrick's Day) are not considered month-and-day items for the purposes of the above.

Units of measurement that are not obscure

Generally, a unit should be linked only if it is likely to be obscure to many readers or is itself being discussed. For example, the troy ounce, bushel, hand, candela, knot, mho, or millibarn might be considered obscure even if they are well-known within their field of use. Other units may be obscure in some countries even if well known in others.

External links section

Main page: Misplaced Pages:External links

Misplaced Pages is not a link collection, and an article comprising only links is contrary to what the "what Misplaced Pages is not" policy dictates.

Syntax

The syntax for referencing a web address is simple. Just enclose it in single brackets with a space between the URL and the text that is displayed when the page is previewed or saved:

The text appears as:

Text to display

The URL must begin with either http:// or https:// (preferring https://, where available), or another common protocol, such as ftp:// or news://. If no protocol is used, the square brackets display normally –  – and can be used in the standard way.

In addition, putting URLs in plain text with no markup automatically produces a link, for example https://www.example.org/https://www.example.org/. However, this feature may disappear in a future release. Therefore, in cases where you wish to display the URL because it is intrinsically valuable information, it is better to use the short form of the URL (domain name) as the optional text: produces example.org.

Citations templates such as {{cite web}} should not be used in the ==External links== section. External link templates such as {{official website}} are used instead of citation templates.

Link titles

Main page: Misplaced Pages:Embedded citations

Embedded HTML links within an article are a now-deprecated way to supply a bare URL as a source within an article, by simply enclosing the URL in square brackets, like this: . However, you should add a descriptive title when an external link is offered in the References, Further reading, or External links sections. This is done by supplying descriptive text after the URL, separated by a space and enclosing it all in square brackets.

For example, to add a title to a bare URL such as https://en.wikipedia.org/ (this is rendered as https://en.wikipedia.org/), use the following syntax: (this is rendered as "an open-content encyclopedia").

Shortcuts

Generally, URLs and domain names are ugly and uninformative; it is better for a meaningful title or description to be displayed rather than the URL or domain itself. For example, European Space Agency website is much more reader-friendly than http://www.esa.int/ESA. There may be exceptions where the domain name is well known or is also the company or publication name. When a URL or domain name is given, putting both a plain-English title or description and the URL is often more informative: for example, European Space Agency website, www.esa.int.

If the URL or domain name is displayed, make it as simple as possible; for example, if the index.html is superfluous, remove it (but be sure to check in preview mode first). Many but not all sites can be trimmed of a leading "www."; test it to be sure. Use camel case to make a displayed domain more readable, e.g. WashingtonPost.com versus washingtonpost.com.

The "printable version" of a Misplaced Pages article displays all URLs in full, including those given a title, so no information is lost.

URLs as embedded (numbered) links

Without the optional text, external references appear as automatically numbered links: For example,

is displayed like this:

Numbered links of this type used to be used after the punctuation, like this, with a full citation given in the References section. This style of referencing is now deprecated, because such links are susceptible to link rot. See Misplaced Pages:Citing sources and Misplaced Pages:Verifiability for more information.

Position in article

Main page: MOS:ORDER

Embedded links that support information in an article are positioned in the same manner as any other reference in the article, following the usual standards about citation formatting and placement in relation to punctuation.

Links that are not used as sources can be listed in the External links section, like this:

==External links==
*
*

As with other top-level headings, two equal signs should be used to mark up the external links heading (see Misplaced Pages:Manual of Style/Layout § Headings). External links should always be the last section in an article. It precedes categories and some kinds of navigation templates.

If there is a dispute on the position of an embedded link, consider organizing alphabetically.

Non-English-language sites

Webpages in English are highly preferred. Linking to non-English pages may still be useful for readers in the following cases:

  • When the website is the subject of the article
  • When linking to pages with maps, diagrams, photos, tables (explain the key terms with the link, so that people who do not know the language can interpret them)
  • When the webpage contains information found on no English-language site of comparable quality, and is used as a citation (or when translations on English-language sites are not authoritative).

If the language is one that most readers could not be expected to recognize, or is for some other reason unclear from the name of the publication or the book or article or page title, consider indicating what language the site is in.

You can also indicate the language by putting a language template after the link. This is done using Template:In lang by typing {{In lang|<language code>}}. For example, {{In lang|es}} displays as: (in Spanish). See list of ISO 639 codes.

When using one of the Citation Style 1 or Citation Style 2 templates, instead of the {{In lang}} template, use the |language= parameter. This parameter accepts language names or language codes; see this list of supported names and codes. (Use of language codes is to be preferred because cs1|2 automatically renders language names in the language of the local Misplaced Pages.)

File type and size

If the link is not to an HTML or PDF file (the latter is identified automatically by the software with an icon like this: ), identify the file type. Useful templates are available: {{DOClink}}, {{RTFlink}}. If a browser plugin is required to view the file, mention that as well. If a link is to a PDF file but doesn't end with .pdf, you can put a #.pdf at the end to flag it as a PDF.

If the link is to a very large page (considering all its elements, including images), a note about that is useful since someone with a slow or expensive connection may decide not to visit it.

Interwiki links

Shortcuts Main pages: Help:Interlanguage links and Help:Interwiki linking Further information: Misplaced Pages:Wikimedia sister projects

Linking

Using links to wiktionary as an example, interwiki links can take the form of:

] which appears as: wikt:article

The pipe symbol suppresses the prefix:

]article

Adding text after the pipe allows either the same or a different text (with no prefix):

]article
]Any text

To avoid reader confusion, inline interlanguage, or interwiki, linking within an article's body text is generally discouraged. Exceptions: Wiktionary and Wikisource entries may be linked inline (e.g. to an unusual word or the text of a document being discussed), and {{Interlanguage link}} template may be helpful to show a red link accompanied by an interlanguage link if no article exists in English Misplaced Pages.

Floating boxes

Floating boxes for links to articles in other Wikimedia Foundation projects such as Wiktionary and Wikiquote can be added using interwiki link sidebar templates, for example {{Wikiquote|Jimmy Wales}}. These display as a shaded box with a logo.

(There is a related set of templates for some free content resources that are not run by the Wikimedia Foundation. Rather than creating a sidebar link, they create text suitable for using as a bulleted entry in an "External links" section. A list of such templates can be found at Misplaced Pages:List of templates linking to other free content projects.)

Link maintenance

Linking and continual change are both central features of Misplaced Pages. However, continual change makes linking vulnerable to acquired technical faults, and to the later provision of different information from that which was originally intended. This is true of both "outgoing" links (from an article) and "incoming" links (to an article).

  • Outgoing links: These should be checked from time to time for unintended changes that are undesirable. If the opportunity arises to improve their formatting, appropriateness, and focus, this should be done.
  • Incoming links: Creating an article turns blue any existing red links to its title. Proper redlinks are created only in the hope that an article will eventually be written. Therefore, when creating an article, it is wise to check "What links here" to identify such redlinks, if any, and that they are appropriate.

Buttons

Shortcut

Buttons should not be used in articles. If the desire is to "navigate" a reader to a new page, taking them away from the current page, a link is preferred. Buttons are used within Misplaced Pages to trigger an "action", such as Show preview or Create account or Reply or Ask a question.

See also

Notes

  1. Many, but not all, articles repeat the article title in bold face in the first line of the article. Linking the article to itself produces boldface text; this practice is discouraged as page moves result in a useless circular link through a redirect. Linking part of the bolded text is also discouraged because it changes the visual effect of bolding; some readers can miss the visual cue which is the purpose of using bold face in the first place.
  2. If quoting hypertext that includes a Misplaced Pages link particularly salient to the quote's use, a editorial note may be added. notes should generally be avoided, because if the clarification is needed badly enough to justify disrupting the flow of text, the link is probably not conservative and should be omitted.
  3. A 2015 study of log data found that "in the English Misplaced Pages, of all the 800,000 links added ... in February 2015, the majority (66%) were not clicked even a single time in March 2015, and among the rest most links were clicked only very rarely", and that "simply adding more links does not increase the overall number of clicks taken from a page. Instead, links compete with each other for user attention." This was reported in: Paranjape, Ashwin; West, Bob; Leskovec, Jure; Zia, Leila (February 22–25, 2016). "Improving Website Hyperlink Structure Using Server Logs". WSDM'16: Proceedings of the Ninth ACM International Conference on Web Search and Data Mining (PDF). San Francisco: Association for Computing Machinery. doi:10.1145/2835776.2835832. ISBN 9781450337168.
  4. Major sections are generally detailed sections with a level-2 heading, but consensus at an article may determine a lower-level subsection is major, especially when a preceding subsection is especially long, when an article's structure puts most content under level-3 headings with level-2 ones primarily used for thematic grouping, or when a subsection is a link target at which many readers arrive directly.
  5. The hidden message (<!-- "Article" links here -->) must be added to the target section with a break between the header and the hidden message, or problems arise. Note the two lines:
    ==Target section==
    <!-- "Article" links here -->
    See MOS:HEADINGS for further information about valid and invalid placement of heading comments.
  6. Academic research has suggested that red links may be a driving force in Misplaced Pages growth; see: Spinellis, Diomidis; Louridas, Panagiotis (2008). "The collaborative organization of knowledge". Communications of the ACM. 51 (8). Association for Computing Machinery: 68–73. doi:10.1145/1378704.1378720. S2CID 77400. Most new articles are created shortly after a corresponding reference to them is entered into the system See also Misplaced Pages:Inflationary hypothesis of Misplaced Pages growth.

References

  1. Dvorak, John C. (April 16, 2002). "Missing Links". PC Magazine. Archived from the original on August 6, 2011. Retrieved August 16, 2021.
  2. "User:WhatamIdoing/Sandbox 3". Misplaced Pages (English ed.). January 30, 2023. Retrieved August 31, 2023.
  3. "Codex: Wikimedia Design System". Doc.Wikimedia.org. Wikimedia Foundation. 2024. "Components: Button" section.

External links

Manual of Style
Content
Formatting
Images
Layout
Lists
By topic area
Legal
Arts
Music
History
Regional
Religion
Science
Sports
Related guidelines
Search
Categories: