More actions
| Line 164: | Line 164: | ||
*'''Piping and redirects.''' As per {{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, let's assume that the page {{xt|[[Wikipedia:Papageno|Papageno]]}} is a redirect to the article about Mozart's opera ''[[Wikipedia:The Magic Flute|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>[[Wikipedia:The Magic Flute|Papageno]]</nowiki></code>}}. Instead, write simply {{xt|<code><nowiki>[[Papageno]]</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"), fewer links will need to be changed to accommodate the new article; second, it indicates that the article is [[Wikipedia:WP:Most wanted articles|wanted]]. | *'''Piping and redirects.''' As per {{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, let's assume that the page {{xt|[[Wikipedia:Papageno|Papageno]]}} is a redirect to the article about Mozart's opera ''[[Wikipedia:The Magic Flute|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>[[Wikipedia:The Magic Flute|Papageno]]</nowiki></code>}}. Instead, write simply {{xt|<code><nowiki>[[Papageno]]</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"), fewer links will need to be changed to accommodate the new article; second, it indicates that the article is [[Wikipedia:WP:Most wanted articles|wanted]]. | ||
==== | ====Piped links and redirects to sections of articles==== | ||
{{see also|UniWiki:Manual of Style/Linking#Section links}} | |||
{{see| | |||
Linking to particular [[Wikipedia:Section|sections]] of articles can be useful, inasmuch as it can take the reader immediately to the information that is most focused on the original topic. Use of a piped link here avoids the unsightly ''Article name#Section name'' in the display text (alternative methods are to use a [[#Redirects|redirect]] or {{Tl|Section link}}). The format for a link to a page section is {{xt|<code><nowiki>[[Article#Section|name of link]]</nowiki></code>}}. For example, to link to the "Culture" subsection of the article {{xt|[[Oman]]}}, type {{xt|<code><nowiki>[[Oman#Culture|culture of Oman]]</nowiki></code>}}; this displays as {{xt|[[Oman#Culture|culture of Oman]]}} (note that the section name is case-sensitive). When doing this, add a [[ | Linking to particular [[Wikipedia:Wikipedia:Section|sections]] of articles can be useful, inasmuch as it can take the reader immediately to the information that is most focused on the original topic. Use of a piped link here avoids the unsightly ''Article name#Section name'' in the display text (alternative methods are to use a [[#Redirects|redirect]] or {{Tl|Section link}}). The format for a link to a page section is {{xt|<code><nowiki>[[Article#Section|name of link]]</nowiki></code>}}. For example, to link to the "Culture" subsection of the article {{xt|[[Wikipedia:Oman|Oman]]}}, type {{xt|<code><nowiki>[[Oman#Culture|culture of Oman]]</nowiki></code>}}; this displays as {{xt|[[Wikipedia:Oman#Culture|culture of Oman]]}} (note that the section name is case-sensitive). When doing this, add a [[UniWiki:Manual of Style#Invisible comments|hidden comment]] to the target section such as <code><nowiki><!-- the article ''X'' links here --></nowiki></code> so that if another user edits the title of that section, they can fix the incoming links. | ||
{| align=right style="margin-left:24px; margin-bottom:20px" | {| align=right style="margin-left:24px; margin-bottom:20px" | ||
| Line 177: | Line 176: | ||
|} | |} | ||
Many topics useful for linking may currently appear only as sections of other | Many topics useful for linking may currently appear only as sections of other UniWiki 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. Usually, a [[Wikipedia:WP:redirect|redirect]] page from such a sub-topic to a general topic will exist already; if not, they can be created when the occasion arises. It is bad practice to create links in article text using the format <code><nowiki>[[Article#Section]]</nowiki></code>; navigation then becomes difficult if the section is expanded into a new article. Instead, link using a redirect to the main topic; [[Wikipedia:WP:NOTBROKEN|it costs little]] and makes improvements easier. | ||
===Links to Wikipedia's categories=== | ===Links to Wikipedia's categories=== | ||