「ヘルプ:Links」を編集中

移動先: 案内検索

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

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
1行目: 1行目:
 +
{{TNT|PD Help Page}}
 
<languages/>
 
<languages/>
{{TNT|PD Help Page}}
 
 
<translate>
 
<translate>
 
<!--T:1-->
 
<!--T:1-->
19行目: 19行目:
 
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.
 
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.
 
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 <code><nowiki>[[#top|current page]]</nowiki></code> which always links to the top.)
+
(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.)
  
 
<!--T:5-->
 
<!--T:5-->
51行目: 51行目:
 
|<translate><!--T:10-->
 
|<translate><!--T:10-->
 
Piped link</translate>  
 
Piped link</translate>  
|<pre>[[Main Page|different text]]
+
|<pre>[[Main Page|different text]]</pre>
 
 
[[Main Page#Concrete_Paragraph|different text2]]</pre>
 
 
<translate><!--T:11-->
 
<translate><!--T:11-->
 
See also [[<tvar|meta>meta:Special:MyLanguage/Help:Piped link</>|meta:Help:Piped link]]</translate>
 
See also [[<tvar|meta>meta:Special:MyLanguage/Help:Piped link</>|meta:Help:Piped link]]</translate>
 
|[[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]]
174行目: 170行目:
  
 
[[media:example.pdf]]</pre>
 
[[media:example.pdf]]</pre>
Linking directly to a file page without creating a thumbnail is done by the following syntax:
 
<nowiki>[[:File:example.pdf]]</nowiki>
 
 
<translate><!--T:28-->
 
<translate><!--T:28-->
 
See also [[<tvar|images>Special:MyLanguage/Help:Images</>|Help:Images]]</translate>
 
See also [[<tvar|images>Special:MyLanguage/Help:Images</>|Help:Images]]</translate>
181行目: 175行目:
  
 
[[media:example.pdf]]
 
[[media:example.pdf]]
<br />
 
<br />
 
<br />
 
[[:File:example.pdf]]
 
 
|-
 
|-
 
|<translate><!--T:29-->
 
|<translate><!--T:29-->
199行目: 189行目:
 
{{Anchor|External|External links}}
 
{{Anchor|External|External links}}
 
<translate>
 
<translate>
 
 
== External links == <!--T:31-->
 
== External links == <!--T:31-->
  
215行目: 204行目:
 
|<translate><!--T:36-->
 
|<translate><!--T:36-->
 
External link</translate>
 
External link</translate>
|<tt><nowiki>https://mediawiki.org</nowiki></tt>
+
|<tt><nowiki>http://mediawiki.org</nowiki></tt>
|https://mediawiki.org
+
|http://mediawiki.org
 
|-
 
|-
 
|<translate><!--T:37-->
 
|<translate><!--T:37-->
 
External link with different label</translate>
 
External link with different label</translate>
|<tt><nowiki>[https://mediawiki.org MediaWiki]</nowiki></tt>
+
|<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt>
|[https://mediawiki.org MediaWiki]
+
|[http://mediawiki.org MediaWiki]
 
|-
 
|-
 
|<translate><!--T:38-->
 
|<translate><!--T:38-->
 
Numbered external link</translate>
 
Numbered external link</translate>
|<tt><nowiki>[https://mediawiki.org]</nowiki></tt>
+
|<tt><nowiki>[http://mediawiki.org]</nowiki></tt>
|[https://mediawiki.org]
+
|[http://mediawiki.org]
 
|-
 
|-
 
|<translate><!--T:39-->
 
|<translate><!--T:39-->
 
External links with file icons</translate>
 
External links with file icons</translate>
|<tt>
+
|<tt><nowiki>
<nowiki>[https://en.wikipedia.org/wiki/.avi video]</nowiki>
+
[http://en.wikipedia.org/wiki/.avi video]
<nowiki>[https://en.wikipedia.org/wiki/.ogg sound]</nowiki>
+
[http://en.wikipedia.org/wiki/.ogg sound]
<nowiki>[https://en.wikipedia.org/wiki/.pdf document]</nowiki>
+
[http://en.wikipedia.org/wiki/.pdf document]
</tt>
+
</nowiki></tt>
 
<small><translate><!--T:40-->
 
<small><translate><!--T:40-->
 
See [[<tvar|external3>#External link icons</>]] for currently supported icons and extensions.</translate></small>
 
See [[<tvar|external3>#External link icons</>]] for currently supported icons and extensions.</translate></small>
 
|
 
|
[[:en:.avi|video]]<br/>
+
[http://en.wikipedia.org/wiki/.avi video]<br/>
[[:en:.ogg|sound]]<br/>
+
[http://en.wikipedia.org/wiki/.ogg sound]<br/>
[[:en:.pdf|document]]<br/>
+
[http://en.wikipedia.org/wiki/.pdf document]<br/>
 
|-
 
|-
 
|<translate>
 
|<translate>
 
<!--T:75-->
 
<!--T:75-->
Protocol-relative external link (Will be http if the current URL uses http, or https if it uses https)</translate>
+
Protocol relative external link (Will be http if the current site is http, https if the current site is https)</translate>
|<tt>
+
|<tt><nowiki>
<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><translate><!--T:76-->
 
<small><translate><!--T:76-->
This is only supported inside square brackets <tt><nowiki>[ ]</nowiki></tt> &ndash; //en.wikipedia.org by itself does not make a link.</translate></small>
+
This is only supported inside <tt><nowiki>[ ]</nowiki></tt>. //en.wikipedia.org by itself does not make a link.</translate></small>
 
|
 
|
[//en.wikipedia.org Wikipedia]<br/>
+
[//en.wikipedia.org wikipedia]<br/>
 
[//en.wikipedia.org //en.wikipedia.org]
 
[//en.wikipedia.org //en.wikipedia.org]
 
|-
 
|-
 
|<translate><!--T:41-->
 
|<translate><!--T:41-->
 
External link to the same host</translate>
 
External link to the same host</translate>
|<tt><nowiki>https://{{SERVERNAME}}/pagename</nowiki></tt>
+
|<tt><nowiki>http://{{SERVERNAME}}/pagename</nowiki></tt>
|https://www.mediawiki.org/pagename
+
|http://{{SERVERNAME}}/pagename
 
|-
 
|-
 
|<translate><!--T:42-->
 
|<translate><!--T:42-->
 
External link to other host passing the pagename</translate>
 
External link to other host passing the pagename</translate>
|<tt><nowiki>https://google.com/search?q={{PAGENAMEE}}</nowiki></tt><br />
+
|<tt><nowiki>http://google.com/search?q={{PAGENAMEE}}</nowiki></tt><br />
 
<translate><!--T:79-->
 
<translate><!--T:79-->
 
See also: [[<tvar|encoded>Special:MyLanguage/Help:Magic_words#URL_encoded_page_names</>|URL encoded page names]], [[<tvar|PAGENAMEE>Special:MyLanguage/Manual:PAGENAMEE encoding</>|PAGENAMEE encoding]]</translate>
 
See also: [[<tvar|encoded>Special:MyLanguage/Help:Magic_words#URL_encoded_page_names</>|URL encoded page names]], [[<tvar|PAGENAMEE>Special:MyLanguage/Manual:PAGENAMEE encoding</>|PAGENAMEE encoding]]</translate>
|https://google.com/search?q=Links
+
|http://google.com/search?q={{PAGENAMEE}}
 
|-
 
|-
 
|<translate><!--T:43-->
 
|<translate><!--T:43-->
276行目: 265行目:
 
|<tt><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&amp;body=Body%20Text info]</nowiki></tt>
 
|<tt><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&amp;body=Body%20Text info]</nowiki></tt>
 
|[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
 
|[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
|-
 
|<translate><!--T:80-->
 
Custom URI</translate>
 
||<tt><nowiki>[skype:echo123 call me]</nowiki></tt>
 
<small><translate><!--T:81-->
 
Any URI you wish to add needs to be first declared through <tvar|UrlProtocols>{{ll|Manual:$wgUrlProtocols|$wgUrlProtocols}}</>.</translate></small>
 
|[skype:echo123 call me]<br /><translate><!--T:82-->
 
(Disabled on mediawiki.org)</translate>
 
 
|}
 
|}
  
304行目: 285行目:
 
|<translate><!--T:50-->
 
|<translate><!--T:50-->
 
External link to the current page's edit page</translate>
 
External link to the current page's edit page</translate>
|<div class="mw-code"><nowiki>[https://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</nowiki></div>
+
|<div class="mw-code"><nowiki>[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</nowiki></div>
|[https://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]
 
|-
 
|-
 
|<translate><!--T:51-->
 
|<translate><!--T:51-->
316行目: 297行目:
 
|<translate><!--T:53-->
 
|<translate><!--T:53-->
 
External link to the current page's edit page, and styled to look like an internal link</translate>
 
External link to the current page's edit page, and styled to look like an internal link</translate>
|<div class="mw-code"><nowiki><span class="plainlinks">[https://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</nowiki><nowiki></span></nowiki></div>
+
|<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>
 
<translate><!--T:54-->
 
<translate><!--T:54-->
 
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.</translate>  
 
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.</translate>  
|<span class="plainlinks">[https://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>
 
|}
 
|}
  
333行目: 314行目:
 
Trigger</translate>
 
Trigger</translate>
 
|-
 
|-
| [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>, <code>[//]</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>
 
|}
 
|}
  
356行目: 337行目:
  
 
<!--T:60-->
 
<!--T:60-->
When you put a URL on a wiki page, it will be automatically converted into an external link, like this:
+
When you put a URL on a wiki page it will be automatically converted into an external link, like this:
 
</translate>
 
</translate>
  
https://mediawiki.org
+
http://mediawiki.org
  
 
<translate>
 
<translate>
366行目: 347行目:
 
</translate>
 
</translate>
  
<pre>&lt;nowiki&gt;https://mediawiki.org&lt;/nowiki&gt;</pre>
+
<pre>&lt;nowiki&gt;http://mediawiki.org&lt;/nowiki&gt;</pre>
  
 
<translate><!--T:62-->
 
<translate><!--T:62-->
 
To get this:</translate>
 
To get this:</translate>
  
<nowiki>https://mediawiki.org</nowiki>
+
<nowiki>http://mediawiki.org</nowiki>
  
 
{{Anchor|Interwiki|Interwiki links}}
 
{{Anchor|Interwiki|Interwiki links}}
378行目: 359行目:
  
 
<!--T:64-->
 
<!--T:64-->
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 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.  
  
 
<!--T:65-->
 
<!--T:65-->
384行目: 365行目:
  
 
<!--T:66-->
 
<!--T:66-->
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>.
  
 
<!--T:67-->
 
<!--T:67-->
More details are at [[<tvar|interwiki>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 [[<tvar|interwiki-table>Special:MyLanguage/Manual:Interwiki table</>|Manual:Interwiki table]] on your site.
+
More details are at [[<tvar|interwiki>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 [[<tvar|interwiki-table>Special:MyLanguage/Manual:Interwiki table</>|Manual:Interwiki table]] on your site, see the [[<tvar|ext-interwiki>Special:MyLanguage/Extension:Interwiki</>|Interwiki extension]].
 
</translate>
 
</translate>
  
405行目: 386行目:
  
 
<!--T:72-->
 
<!--T:72-->
<!-- This isn't working for me here nor on Commons today (I get https://en.wikipedia.org/wiki/en:Sunflower): 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]]'''.
 
</translate>
 
</translate>
  
 
{{anchor|See also}}
 
{{anchor|See also}}
 
<translate>
 
<translate>
 
 
== See also == <!--T:73-->
 
== See also == <!--T:73-->
  

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

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

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