「ヘルプ:Links/ja」を編集中

移動先: 案内検索

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
1行目: 1行目:
 +
{{TNT|PD Help Page}}
 
<languages/>
 
<languages/>
{{TNT|PD Help Page}}
 
 
MediaWiki には5種類のリンクがあります:  
 
MediaWiki には5種類のリンクがあります:  
  
9行目: 9行目:
 
# ウィキの他言語版として登録済みの他のウェブサイトへの'''[[#Interlanguage links|言語間リンク]]'''
 
# ウィキの他言語版として登録済みの他のウェブサイトへの'''[[#Interlanguage links|言語間リンク]]'''
  
{{Anchor|Internal|Internal links}}
+
{{Anchor|Internal}}
 
== 内部リンク ==
 
== 内部リンク ==
  
内部リンクを追加する場合は、二重角括弧 (<code><nowiki>[[</nowiki></code> と <code><nowiki>]]</nowiki></code>) でリンクしたいページの名前を囲んでください。編集したページを保存すると、指定したページへの新しいリンクが表示されます。対象のページが既に存在する場合はリンクは青色で表示され、存在しない場合は、リンクは赤色で表示されます。
+
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.
同一ページへのリンクはURLには変換されず、太字で表示されます。
+
Selflinks to the current page are not transformed in URLs but displayed in bold.
(同一ページにリンクしたい場合は、アンカー (下記参照) または <nowiki>[[#top|現在のページ]]</nowiki> (必ずページ上部へのリンクになります) を使用してください。)
+
(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).
25行目: 25行目:
 
|-
 
|-
 
|内部リンク
 
|内部リンク
|<pre>
+
|<pre>[[Main Page]]</pre>
[[Main Page]]
 
 
 
[[Help:Contents]]
 
 
 
[[Extension:DynamicPageList (Wikimedia)]]
 
</pre>
 
 
|[[Main Page]]
 
|[[Main Page]]
 
[[Help:Contents]]
 
 
[[Extension:DynamicPageList (Wikimedia)]]
 
 
|-
 
|-
 
|パイプのリンク  
 
|パイプのリンク  
|<pre>[[Main Page|different text]]
+
|<pre>[[Main Page|different text]]</pre>
 
+
{{mediawiki|Meta:Help:Piped link}}もご覧ください
[[Main Page#Concrete_Paragraph|different text2]]</pre>
 
[[meta:Special:MyLanguage/Help:Piped link|meta:Help:Piped link]] も参照してください
 
 
|[[Main Page|different text]]
 
|[[Main Page|different text]]
 
[[Main Page#Concrete_Paragraph|different text2]]
 
 
|-
 
|-
 
|[[w:Help:Pipe_trick|Pipe trick]]
 
|[[w:Help:Pipe_trick|Pipe trick]]
98行目: 84行目:
 
|転送
 
|転送
 
|<pre>#REDIRECT [[Main Page]]</pre>
 
|<pre>#REDIRECT [[Main Page]]</pre>
[[Special:MyLanguage/Help:Redirects|Help:リダイレクト]]も参照してください
+
[[Help:Redirects]]もご覧ください
 
| &rarr; [[Main Page]]
 
| &rarr; [[Main Page]]
 
|-
 
|-
 
|アンカーへの内部リンク
 
|アンカーへの内部リンク
 
|<pre>[[#See also]]</pre>
 
|<pre>[[#See also]]</pre>
[[Special:MyLanguage/Help:Formatting|Section headings]] and the [[#top|top]] of the page are automatically anchored.
+
[[Help:Formatting|Section headings]] and the [[#top|top]] of the page are automatically anchored.
 
|[[#See also]]
 
|[[#See also]]
 
|-
 
|-
121行目: 107行目:
 
|現在のページのトークページへの内部リンク
 
|現在のページのトークページへの内部リンク
 
|<pre>[[{{TALKPAGENAME}}|Discussion]]</pre>
 
|<pre>[[{{TALKPAGENAME}}|Discussion]]</pre>
[[Special:MyLanguage/Help:Magic_words#Page_names|Help:マジックワード#ページ名]]も参照してください
+
See also [[Help:Magic_words#Page_names]]
 
|[[{{TALKPAGENAME}}|Discussion]]
 
|[[{{TALKPAGENAME}}|Discussion]]
 
|-
 
|-
 
|サブページへの内部リンク
 
|サブページへの内部リンク
 
|<pre>[[/example]]</pre>
 
|<pre>[[/example]]</pre>
Shortcut for <code><nowiki>[[Help:Links/example|/example]]</nowiki></code>. See also [[Special:MyLanguage/Help:Subpages|Help:Subpages]].
+
Shortcut for <code><nowiki>[[Help:Links/example|/example]]</nowiki></code>. See also [[Help:Subpages]].
 
|[[Help:Links/example|/example]]
 
|[[Help:Links/example|/example]]
 
|-
 
|-
136行目: 122行目:
 
|カテゴリページへの内部リンク
 
|カテゴリページへの内部リンク
 
|<pre>[[:Category:Help]]</pre>
 
|<pre>[[:Category:Help]]</pre>
[[Special:MyLanguage/Help:Categories|Help:カテゴリ]]も参照してください
+
[[Help:Categories]]もご覧ください
 
|[[:Category:Help]]
 
|[[:Category:Help]]
 
|-
 
|-
143行目: 129行目:
  
 
[[media:example.pdf]]</pre>
 
[[media:example.pdf]]</pre>
[[Special:MyLanguage/Help:Images|Help:画像]] も参照してください
+
[[Help:Images]]もご覧ください
 
|[[media:example.jpg]]
 
|[[media:example.jpg]]
  
157行目: 143行目:
 
|}
 
|}
  
{{Anchor|External|External links}}
+
{{Anchor|External}}
 
== 外部リンク ==
 
== 外部リンク ==
  
184行目: 170行目:
 
[http://en.wikipedia.org/wiki/.pdf document]
 
[http://en.wikipedia.org/wiki/.pdf document]
 
</nowiki></tt>
 
</nowiki></tt>
<small>現在対応しているアイコンや拡張機能については [[#External link icons]] を参照してください。</small>
+
<small>See [[#External link icons]] for currently supported icons and extensions.</small>
 
|
 
|
 
[http://en.wikipedia.org/wiki/.avi video]<br/>
 
[http://en.wikipedia.org/wiki/.avi video]<br/>
 
[http://en.wikipedia.org/wiki/.ogg sound]<br/>
 
[http://en.wikipedia.org/wiki/.ogg sound]<br/>
 
[http://en.wikipedia.org/wiki/.pdf document]<br/>
 
[http://en.wikipedia.org/wiki/.pdf document]<br/>
|-
 
|Protocol-relative external link (Will be http if the current URL uses http, or https if it uses https)
 
|<tt><nowiki>
 
[//en.wikipedia.org wikipedia]</nowiki><br/><nowiki>
 
[//en.wikipedia.org //en.wikipedia.org]
 
</nowiki></tt>
 
<small>This is only supported inside square brackets <tt><nowiki>[ ]</nowiki></tt> &ndash; //en.wikipedia.org by itself does not make a link.</small>
 
|
 
[//en.wikipedia.org wikipedia]<br/>
 
[//en.wikipedia.org //en.wikipedia.org]
 
 
|-
 
|-
 
|同じホストへの外部リンク
 
|同じホストへの外部リンク
206行目: 182行目:
 
|ページ名を渡して他のホストに外部リンクする
 
|ページ名を渡して他のホストに外部リンクする
 
|<tt><nowiki>http://google.com/search?q={{PAGENAMEE}}</nowiki></tt><br />
 
|<tt><nowiki>http://google.com/search?q={{PAGENAMEE}}</nowiki></tt><br />
See also: [[Special:MyLanguage/Help:Magic_words#URL_encoded_page_names|URL encoded page names]], [[Special:MyLanguage/Manual:PAGENAMEE encoding|PAGENAMEE encoding]]
+
See also: [[Help:Magic_words#URL_encoded_page_names | URL encoded page names]], [[Manual:PAGENAMEE encoding|PAGENAMEE encoding]]
 
|http://google.com/search?q={{PAGENAMEE}}
 
|http://google.com/search?q={{PAGENAMEE}}
 
|-
 
|-
218行目: 194行目:
 
|}
 
|}
  
{{Anchor|External-to-internal|External links to internal pages}}
+
{{Anchor|External-to-internal}}
 
=== 内部ページへの外部リンク ===
 
=== 内部ページへの外部リンク ===
  
229行目: 205行目:
 
|-
 
|-
 
|現在のページの編集ページへの外部リンク
 
|現在のページの編集ページへの外部リンク
|<div class="mw-code"><nowiki>[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</nowiki></div>
+
|<pre>[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</pre>
 
|[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]
 
|[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]
 
|-
 
|-
|External link to the current page's edit page using the [[Special:MyLanguage/Help:Magic_words#URL_data|fullurl parser function]]
+
|External link to the current page's edit page using the [[Help:Magic_words#URL_data | fullurl parser function]]
|<div class="mw-code"><nowiki>[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]</nowiki></div>
+
|<pre>[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]</pre>
[[Special:MyLanguage/Help:Magic_words#URL_data|Help:マジックワード#URLデータ]] および [[#External links|#外部リンク]] も参照してください
+
See also [[Help:Magic_words#URL_data]] and [[#External links]]
 
|[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]
 
|[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]
 
|-
 
|-
 
|External link to the current page's edit page, and styled to look like an internal link
 
|External link to the current page's edit page, and styled to look like an internal link
|<div class="mw-code"><nowiki><span class="plainlinks">[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</span></nowiki></div>
+
|<pre><span class="plainlinks">[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</span></pre>
 
The [[Plainlinks | plainlinks class]] can be used in cases where you want an external link to look like an internal one, by suppressing the icon that normally appears after it.  
 
The [[Plainlinks | plainlinks class]] can be used in cases where you want an external link to look like an internal one, by suppressing the icon that normally appears after it.  
 
|<span class="plainlinks">[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</span>
 
|<span class="plainlinks">[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</span>
 
|}
 
|}
  
{{anchor|External link icons}}
 
 
=== 外部リンクのアイコン ===
 
=== 外部リンクのアイコン ===
  
249行目: 224行目:
 
! リンクの例 !! アイコン !! トリガー
 
! リンクの例 !! アイコン !! トリガー
 
|-
 
|-
| [http://.] || [[File:Icon External Link.png]] || <code>http://</code>, <code>gopher://</code>, <code>[//]</code>
+
| [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>
 
|-
 
|-
| [https://.] || [[File:Lock icon blue.gif]] || <code>https://</code>
+
| [https://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/lock-icon.png lock-icon.png] || <code>https://</code>
 
|-
 
|-
| [mailto:.] || [[File:Icon External Link E-Mail.png]] || <code>mailto:</code>
+
| [mailto:.] || [http://bits.wikimedia.org/skins-1.17/vector/images/mail-icon.png mail-icon.png] || <code>mailto:</code>
 
|-
 
|-
| [news://.] || [[File:Icon External Link Newsgroups.png]] || <code>news<nowiki/>://</code>
+
| [news://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/news-icon.png news-icon.png] || <code>news<nowiki/>://</code>
 
|-
 
|-
| [ftp://.] || [[File:Icon External Link FTP.png]] || <code>ftp://</code>
+
| [ftp://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/file-icon.png file-icon.png] || <code>ftp://</code>
 
|-
 
|-
| [irc://.] || [[File:Icon External Link IRC.png]] || <code>irc://</code>
+
| [irc://.] || [http://bits.wikimedia.org/skins-1.17/vector/images/talk-icon.png talk-icon.png] || <code>irc://</code>
 
|-
 
|-
| [http://.ogg] || [[File:Icon External Link MP3.png]] || <code>.ogg</code>, <code>.mid</code>, <code>.midi</code>, <code>.mp3</code>, <code>.wav</code>, <code>.wma</code>
+
| [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] || [[File:Icon External Link Video.png]] || <code>.ogm</code>, <code>.avi</code>, <code>.mpeg</code>, <code>.mpg</code>
+
| [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] || [[File:Icons-mini-file acrobat.gif]] || <code>.pdf</code>, <code>.pdf#</code>, <code>.pdf?</code>
+
| [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>
 
|}
 
|}
 
  
 
=== 自動リンクを回避する方法 ===
 
=== 自動リンクを回避する方法 ===
283行目: 257行目:
 
<nowiki>http://mediawiki.org</nowiki>
 
<nowiki>http://mediawiki.org</nowiki>
  
{{Anchor|Interwiki|Interwiki links}}
+
{{Anchor|Interwiki}}
== ウィキ間リンク ==
+
== 内部リンク ==
  
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 works because by default MediaWiki configures <code>wikipedia:</code> as an "interwiki prefix" that turns into <nowiki>http://en.wikipedia.org/wiki/</nowiki> when used inside <nowiki>[[ ]]</nowiki>. (''It may not work 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.  
+
Interwiki links are links with the internal link markup to a website registered in advance. For example, you can link to the Sunflower article on http://en.wikipedia.org 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-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>.
+
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]]. Your wiki may have a [[Special:Interwiki]] page listing the interwiki prefixes it supports; {{git file | file=maintenance/interwiki.list | text=here is the default interwiki list}}. You can edit the [[Special:MyLanguage/Manual:Interwiki table|Manual:Interwiki table]] on your site.
+
More details are at {{mediawiki|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 {{mediawiki|Manual:Interwiki table|interwiki table}} on your site, see the {{mediawiki|Extension:Interwiki|Interwiki extension}}.
  
{{anchor|Interlanguage links}}
 
 
=== 言語間リンク ===
 
=== 言語間リンク ===
  
If your wiki has other language versions, you may find “interlanguage links” in the [[Special:MyLanguage/Help:Navigation#Sidebar|sidebar]], just below [[Special:MyLanguage/Help:Navigation#Toolbox|toolbox]] in the box named “{{lcfirst:{{int:otherlanguages}}}}.”
+
If your wiki has other language versions, you may find “interlanguage links” in the [[Help:Navigation#Sidebar|sidebar]], just below [[Help:Navigation#Toolbox|toolbox]] in the box named “{{lcfirst:{{int:otherlanguages}}}}.”
  
 
Interlanguage links behave similarly to interwiki links, except that they are listed in the sidebar. To create an interlanguage link from a page, just type <code><nowiki>[[</nowiki>''language prefix'':pagename]]</code> wherever you like in the page; the language prefix is the prefix specified at your wiki for the other language version (typically the [[wikipedia:List of ISO 639-1 codes|ISO 639-1 language code]]).
 
Interlanguage links behave similarly to interwiki links, except that they are listed in the sidebar. To create an interlanguage link from a page, just type <code><nowiki>[[</nowiki>''language prefix'':pagename]]</code> wherever you like in the page; the language prefix is the prefix specified at your wiki for the other language version (typically the [[wikipedia:List of ISO 639-1 codes|ISO 639-1 language code]]).
306行目: 279行目:
 
When a link is both interwiki and interlanguage, the order is '''[[wikipedia:en:Sunflower]]'''.
 
When a link is both interwiki and interlanguage, the order is '''[[wikipedia:en:Sunflower]]'''.
  
{{anchor|See also}}
+
== 関連ページ ==
  
== 関連ページ ==
+
* [[Help:Linked images|画像のリンク]]
 +
* [[meta:Help:Links]]
  
* [[Special:MyLanguage/Help:Linked images|画像のリンク]]
 
  
[[Category:Help{{translation}}|Links]]
+
[[Category:Help{{langcat|Links}}|Links]]
[[Category:Link{{translation}}|Links]]
+
[[Category:Link{{langcat|Links}}|Links]]

ひつじ小屋別館2代目への投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細はひつじ小屋別館2代目:著作権を参照)。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し | 編集の仕方 (新しいウィンドウで開きます)