More actions
Fix link. |
|||
| (14 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{hatnote|For technical information about link formatting, see [[Wikipedia:Help:Link].}} | {{hatnote|For technical information about link formatting, see [[Wikipedia:Help:Link]].}} | ||
{{hatnote|For information on adding external links to articles, see [[Wikipedia:Wikipedia:External links|Wikipedia:External links]].}} | {{hatnote|For information on adding external links to articles, see [[Wikipedia:Wikipedia:External links|Wikipedia:External links]].}} | ||
{{UMoS guideline}} | {{UMoS guideline}} | ||
| Line 5: | Line 5: | ||
'''Linking''' through [[Wikipedia:Hyperlink|hyperlinks]] is an important feature of the UniWiki (and MediaWiki software in general. Internal links bind the project together into an interconnected whole. [[Wikipedia:Interwiki links|Interwiki links]] bind the UniWiki to other useful resources such as [[Wikipedia:Wikipedia|Wikipedia]], [[Wikipedia:Wiktionary|Wiktionary]], and external links bind the UniWiki to the [[Wikipedia:World Wide Web|World Wide Web]]. | '''Linking''' through [[Wikipedia:Hyperlink|hyperlinks]] is an important feature of the UniWiki (and MediaWiki software in general. Internal links bind the project together into an interconnected whole. [[Wikipedia:Interwiki links|Interwiki links]] bind the UniWiki to other useful resources such as [[Wikipedia:Wikipedia|Wikipedia]], [[Wikipedia:Wiktionary|Wiktionary]], and external links bind the UniWiki to the [[Wikipedia:World Wide Web|World Wide Web]]. | ||
Appropriate links provide instant pathways to locations within and outside the project that are likely to increase readers' understanding of the topic at hand. Whenever writing or editing an article, it is important to consider not only what to put in the article, but what links to include to help the reader find related information, as well as which other pages should carry links ''to'' the article. Care should be taken to avoid both [[# | Appropriate links provide instant pathways to locations within and outside the project that are likely to increase readers' understanding of the topic at hand. Whenever writing or editing an article, it is important to consider not only what to put in the article, but what links to include to help the reader find related information, as well as which other pages should carry links ''to'' the article. Care should be taken to avoid both [[#Overlinking and underlinking|underlinking]] and [[#Overlinking and underlinking|overlinking]], as described below. | ||
This page provides guidelines as to when links should and should not be used, and how to format links. Detailed information about the syntax used to create links can be found at [[Wikipedia:Help:Link]]. The rules on linking applicable to [[Wikipedia:WP:Disambiguation|disambiguation]] pages are set out in the [[UniWiki:Manual of Style/Disambiguation pages|disambiguation style guide]]. | This page provides guidelines as to when links should and should not be used, and how to format links. Detailed information about the syntax used to create links can be found at [[Wikipedia:Help:Link]]. The rules on linking applicable to [[Wikipedia:WP:Disambiguation|disambiguation]] pages are set out in the [[UniWiki:Manual of Style/Disambiguation pages|disambiguation style guide]]. | ||
| Line 17: | Line 17: | ||
===General points on linking style=== | ===General points on linking style=== | ||
*As explained in more detail at [[Wikipedia:Help:Link|Wikipedia:Wikilinks | *As explained in more detail at [[Wikipedia:Help:Link|Wikipedia:Wikilinks]], linking can be "direct" (<code><nowiki>[[Exploration]]</nowiki></code>, which results in {{xt|[[Exploration]]}}), or "piped" (<code><nowiki>[[Exploration|exploring]]</nowiki></code>, which results in {{xt|[[Exploration|exploring]]}} in the text, but still links to the article "[[Exploration]]" (though [[Wikipedia:Help:Pipe trick|Pipe trick]] is an easier way to create this particular link). | ||
*Section headings should not themselves contain links; instead, a {{tl|main}} or {{tl|see also}} template should be placed immediately after the heading. | *Section headings should not themselves contain links; instead, a {{tl|main}} or {{tl|see also}} template should be placed immediately after the heading. | ||
*Links should not be placed in the [[UniWiki:Manual of Style/Lead section#Format of the first sentence|boldface reiteration of the title]] in the opening sentence of a lead.<ref>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 will 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 will miss the visual cue which is the purpose of using bold face in the first place.</ref> | *Links should not be placed in the [[UniWiki:Manual of Style/Lead section#Format of the first sentence|boldface reiteration of the title]] in the opening sentence of a lead.<ref>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 will 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 will miss the visual cue which is the purpose of using bold face in the first place.</ref> | ||
| Line 58: | Line 58: | ||
The function of links is to clarify, not emphasize; do not create links in order to draw attention to certain words or ideas, or as a mark of respect. | The function of links is to clarify, not emphasize; do not create links in order to draw attention to certain words or ideas, or as a mark of respect. | ||
Generally, a link should appear only | Generally, a link should appear only ''once'' in an article, but if helpful for readers, a link may be repeated in [[UniWiki:Manual of Style/Infoboxes|infoboxes]], tables, image captions, [[Wikipedia:Help:Footnotes|footnotes]], [[Wikipedia:Wikipedia:Hatnote|hatnotes]], and at the first occurrence after the lead. | ||
Duplicate linking in 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 linking in 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. | ||
| Line 115: | Line 115: | ||
*Consider [[Wikipedia:Wikipedia:Starting an article|creating the article]] yourself. | *Consider [[Wikipedia:Wikipedia:Starting an article|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 {{section link||Redirects}}. For example, if no article yet exists on the song "Sad Statue" from the album ''Mezmerize'', create a new article called [[Wikipedia:Sad Status|Sad Statue]] that is a redirect to the article ''[[Wikipedia:Mezmerize (album)|Mezmerize]]''. | *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 [[Wikipedia:Sad Status|Sad Statue]] that is a redirect to the article ''[[Wikipedia:Mezmerize (album)|Mezmerize]]''. | ||
*If there is no article on a more general topic either, then create a [[ | *If there is no article on a more general topic either, then create a [[red link|red link]], but first read {{section link||Red links}} below. | ||
When neither a redirect nor a red link appear appropriate, consider linking to a more general article instead. For example, instead of {{xt|[[Wikipedia:Baroque hairstyles|Baroque hairstyles]]}}, write {{xt|[[Wikipedia:Baroque|Baroque]] hairstyles}}, {{xt|Baroque [[Wikipedia:Hairstyle|hairstyles]]}}, {{xt|Baroque hairstyles}}, or {{xt|[[Wikipedia:Hairstyle|hairstyles]] of the [[Wikipedia:Baroque|Baroque]]}} | When neither a redirect nor a red link appear appropriate, consider linking to a more general article instead. For example, instead of {{xt|[[Wikipedia:Baroque hairstyles|Baroque hairstyles]]}}, write {{xt|[[Wikipedia:Baroque|Baroque]] hairstyles}}, {{xt|Baroque [[Wikipedia:Hairstyle|hairstyles]]}}, {{xt|Baroque hairstyles}}, or {{xt|[[Wikipedia:Hairstyle|hairstyles]] of the [[Wikipedia:Baroque|Baroque]]}} | ||
| Line 241: | Line 241: | ||
is displayed like this: | is displayed like this: | ||
:[http://en.wikipedia.org/] | :[http://en.wikipedia.org/] | ||
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, [http://en.wikipedia.org/wiki/WP:CITE] with a full citation given in the References section. This style of referencing is not recommended, because such links are susceptible to [[WP:LR|link rot]] | 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, [http://en.wikipedia.org/wiki/WP:CITE] with a full citation given in the References section. This style of referencing is not recommended, because such links are susceptible to [[Wikipedia:WP:LR|link rot]]. | ||
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. | 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. | ||
===Position in article=== | ===Position in article=== | ||
{{Main | {{Main|UniWiki:Manual of Style/Layout#Order of article elements}} | ||
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 [[Wikipedia:Citing sources#Embedded links|citation formatting]] and [[ | 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 [[Wikipedia:Wikipedia:Citing sources#Embedded links|citation formatting]] and [[UniWiki:Manual of Style#Punctuation and footnotes|placement in relation to punctuation]]. | ||
Links that are '''not''' used as sources can be listed in the External links section, like this: | Links that are '''not''' used as sources can be listed in the External links section, like this: | ||
| Line 255: | Line 255: | ||
: <code><nowiki>*[http:// </nowiki></code> | : <code><nowiki>*[http:// </nowiki></code> | ||
: <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 [[ | As with other top-level headings, two equal signs should be used to mark up the external links heading (see [[UniWiki:Manual of Style/Layout#Headings|Headings]]). ''External links'' should always be the last section in an article. It precedes categories and some kinds of [[Wikipedia:WP:NAVBOX|navigation templates]]. | ||
If there is a dispute on the position of an embedded link, consider organizing alphabetically. | If there is a dispute on the position of an embedded link, consider organizing alphabetically. | ||
===File type and size=== | ===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: {{xt|[http://www.example.com/test.pdf]}}), identify the file type | If the link is not to an [[Wikipedia:HTML|HTML]] or [[Wikipedia:PDF|PDF]] file (the latter is identified automatically by the software with an icon like this: {{xt|[http://www.example.com/test.pdf]}}), identify the file type. If a [[Wikipedia:Browser plugin|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 <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 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 (or expensive) connection may decide not to use it. | 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 (or expensive) connection may decide not to use it. | ||
==Interwiki links== | ==Interwiki links== | ||
{{ | {{hatnote|See also: [[Wikipedia:Help:Interwikimedia links]]}} | ||
===Linking=== | ===Linking=== | ||
Interwiki links can take the form of: | Interwiki links can take the form of: | ||
:<code><nowiki>[[ | :<code><nowiki>[[Wikipedia:article]]</nowiki></code> which appears as: [[Wikipedia:article]] | ||
The pipe symbol suppresses the prefix: | The pipe symbol suppresses the prefix: | ||
| Line 289: | Line 275: | ||
Adding text after the pipe allows different text: | Adding text after the pipe allows different text: | ||
:<code><nowiki>[[ | :<code><nowiki>[[Wikipedia:article|Any text]]</nowiki></code> → [[Wikipedia:article|Any text]] | ||
To avoid reader confusion, inline | To avoid reader confusion, inline interwiki linking within an article's body text is generally discouraged. Exceptions: [[Wikipedia:Wiktionary|Wiktionary]] and [[Wikipedia:Wikipedia|Wikipedia]] entries may be linked inline (e.g. to an unusual word or the text of a document being discussed). | ||
==Link maintenance== | ==Link maintenance== | ||
Linking and continual change are both central features of | Linking and continual change are both central features of the UniWiki. 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. | *''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 | *''Incoming links:'' Creating an article will turn orange any existing red links to its title (proper red links 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 red links, if any, and that they are appropriate. | ||
==See also== | ==See also== | ||
*[[Wikipedia:Wikipedia:Linking dos and don'ts|Wikipedia:Wikipedia:Linking dos and don'ts]] (information page summarizing the key points of this guideline) | |||
*[[Wikipedia:Linking dos and don'ts]] (information page summarizing the key points of this guideline) | *[[Wikipedia:Help:Interwikimedia links]] | ||
*[[Help:Interwikimedia links]] | *[[Wikipedia:Help:Link color]] | ||
*[[Help:Link color]] | *[[Wikipedia:Wikipedia:Dead-end pages|Wikipedia:Dead-end pages]], pages without internal links | ||
*[[ | *[[Wikipedia:Wikipedia:Integrate|Wikipedia:Integrate]] | ||
*[[Wikipedia:Wikipedia:Links to (disambiguation) pages|Wikipedia:Links to (disambiguation) pages]] | |||
*[[Wikipedia:Wikipedia:Orphan|Wikipedia:Orphan]], pages without incoming links | |||
*[[Wikipedia:Wikipedia:Red link|Wikipedia:Red link]] (example [[red link]]) | |||
*[[Wikipedia:Wikipedia:Walled garden|Wikipedia:Walled garden]] | |||
*[[Wikipedia:Integrate]] | |||
*[[Wikipedia:Links to (disambiguation) pages | |||
*[[Wikipedia: | |||
*[[Wikipedia:Red link]] ([[ | |||
*[[Wikipedia:Walled garden | |||
==References== | ==References== | ||
{{Reflist}} | {{Reflist}} | ||