「ヘルプ:Links/ja」を編集中
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
1行目: | 1行目: | ||
+ | {{TNT|PD Help Page}} | ||
<languages/> | <languages/> | ||
− | |||
MediaWiki には5種類のリンクがあります: | MediaWiki には5種類のリンクがあります: | ||
12行目: | 12行目: | ||
== 内部リンク == | == 内部リンク == | ||
− | + | To add an internal link, enclose the name of the page you want to link to in double square brackets. When you save the page, you'll see the new link pointing to your page. If the page exists already it is displayed in blue, if it does not, in red. | |
− | + | Selflinks to the current page are not transformed in URLs but displayed in bold. | |
− | ( | + | (If you really want to link to the current page, use an anchor (see below), or <nowiki>[[#top|current page]]</nowiki> which always links to the top.) |
The first letter of the target page is automatically capitalized, unless otherwise set by the admins, and spaces are represented as underscores (typing an underscore in the link will have a similar effect as typing a space, but is not recommended, since the underscore will also be shown in the text). | The first letter of the target page is automatically capitalized, unless otherwise set by the admins, and spaces are represented as underscores (typing an underscore in the link will have a similar effect as typing a space, but is not recommended, since the underscore will also be shown in the text). | ||
190行目: | 190行目: | ||
[http://en.wikipedia.org/wiki/.pdf document]<br/> | [http://en.wikipedia.org/wiki/.pdf document]<br/> | ||
|- | |- | ||
− | |Protocol | + | |Protocol relative external link (Will be http if the current site is http, https if the current site is https) |
|<tt><nowiki> | |<tt><nowiki> | ||
[//en.wikipedia.org wikipedia]</nowiki><br/><nowiki> | [//en.wikipedia.org wikipedia]</nowiki><br/><nowiki> | ||
[//en.wikipedia.org //en.wikipedia.org] | [//en.wikipedia.org //en.wikipedia.org] | ||
</nowiki></tt> | </nowiki></tt> | ||
− | <small>This is only supported inside | + | <small>This is only supported inside <tt><nowiki>[ ]</nowiki></tt>. //en.wikipedia.org by itself does not make a link.</small> |
| | | | ||
[//en.wikipedia.org wikipedia]<br/> | [//en.wikipedia.org wikipedia]<br/> | ||
249行目: | 249行目: | ||
! リンクの例 !! アイコン !! トリガー | ! リンクの例 !! アイコン !! トリガー | ||
|- | |- | ||
− | | [http://.] || [ | + | | [http://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/external-link-ltr-icon.png external-link-ltr-icon.png] || <code>http://</code>, <code>gopher://</code>, <code>[//]</code> |
|- | |- | ||
− | | [https://.] || [ | + | | [https://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/lock-icon.png lock-icon.png] || <code>https://</code> |
|- | |- | ||
− | | [mailto:.] || [ | + | | [mailto:.] || [http://bits.wikimedia.org/skins-1.17/vector/images/mail-icon.png mail-icon.png] || <code>mailto:</code> |
|- | |- | ||
− | | [news://.] || [ | + | | [news://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/news-icon.png news-icon.png] || <code>news<nowiki/>://</code> |
|- | |- | ||
− | | [ftp://.] || [ | + | | [ftp://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/file-icon.png file-icon.png] || <code>ftp://</code> |
|- | |- | ||
− | | [irc://.] || [ | + | | [irc://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/talk-icon.png talk-icon.png] || <code>irc://</code> |
|- | |- | ||
− | | [http://.ogg] || [ | + | | [http://.ogg] || [http://bits.wikimedia.org/skins-1.17/vector/images/audio-icon.png audio-icon.png] || <code>.ogg</code>, <code>.mid</code>, <code>.midi</code>, <code>.mp3</code>, <code>.wav</code>, <code>.wma</code> |
|- | |- | ||
− | | [http://.ogm] || [ | + | | [http://.ogm] || [http://bits.wikimedia.org/skins-1.17/vector/images/video-icon.png video-icon.png] || <code>.ogm</code>, <code>.avi</code>, <code>.mpeg</code>, <code>.mpg</code> |
|- | |- | ||
− | | [http://.pdf] || [ | + | | [http://.pdf] || [http://bits.wikimedia.org/skins-1.17/vector/images/document-icon.png document-icon.png] || <code>.pdf</code>, <code>.pdf#</code>, <code>.pdf?</code> |
|} | |} | ||
− | |||
=== 自動リンクを回避する方法 === | === 自動リンクを回避する方法 === | ||
284行目: | 283行目: | ||
{{Anchor|Interwiki|Interwiki links}} | {{Anchor|Interwiki|Interwiki links}} | ||
− | == | + | == 内部リンク == |
− | Interwiki links are links with the internal link markup to a website registered in advance. For example, you can link to the article http://en.wikipedia.org/wiki/Sunflower by typing <code><nowiki>[[wikipedia:Sunflower]]</nowiki></code>, which will result in a link [[wikipedia:Sunflower]]. This | + | Interwiki links are links with the internal link markup to a website registered in advance. For example, you can link to the article http://en.wikipedia.org/wiki/Sunflower by typing <code><nowiki>[[wikipedia:Sunflower]]</nowiki></code>, which will result in a link [[wikipedia:Sunflower]]. This is because <code><nowiki>http://en.wikipedia.org/wiki/</nowiki></code> is registered to your wiki by default with the prefix of <code>wikipedia</code>. (''This link may not work properly if the admin of your wiki has changed the setting.'') Unlike internal links, interwiki links do not use page existence detection, so an interwiki link will appear blue even if the page does not exist on the remote wiki. |
Similar to internal page links, you can create piped links, with alternate link label, e.g. <code><nowiki>[[wikipedia:Sunflower|big yellow flower]]</nowiki></code> is the link [[wikipedia:Sunflower|big yellow flower]] and <code><nowiki>[[wikipedia:Sunflower|]]</nowiki></code> is the link [[wikipedia:Sunflower|Sunflower]]. | Similar to internal page links, you can create piped links, with alternate link label, e.g. <code><nowiki>[[wikipedia:Sunflower|big yellow flower]]</nowiki></code> is the link [[wikipedia:Sunflower|big yellow flower]] and <code><nowiki>[[wikipedia:Sunflower|]]</nowiki></code> is the link [[wikipedia:Sunflower|Sunflower]]. | ||
− | Basically, interwiki links are abbreviations for commonly | + | Basically, interwiki links are abbreviations for commonly used longer external links. A very similar link could be created as <code><nowiki>[http://en.wikipedia.org/wiki/Sunflower big yellow flower]</nowiki></code>. |
− | More details are at [[Special:MyLanguage/Manual:Interwiki|Manual:Interwiki]] and [[m:Help:Interwiki linking]]. | + | More details are at [[Special:MyLanguage/Manual:Interwiki|Manual:Interwiki]] and [[m:Help:Interwiki linking]]. See the [https://git.wikimedia.org/blob/mediawiki%2Fcore//maintenance%2Finterwiki.list default interwiki prefixes]. To edit the [[Special:MyLanguage/Manual:Interwiki table|Manual:Interwiki table]] on your site, see the [[Special:MyLanguage/Extension:Interwiki|Interwiki extension]]. |
{{anchor|Interlanguage links}} | {{anchor|Interlanguage links}} | ||
307行目: | 306行目: | ||
{{anchor|See also}} | {{anchor|See also}} | ||
− | |||
== 関連ページ == | == 関連ページ == | ||