「ヘルプ:Links」を編集中
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
1行目: | 1行目: | ||
+ | {{TNT|PD Help Page}} | ||
<languages/> | <languages/> | ||
− | |||
<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 | + | (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--> | ||
36行目: | 36行目: | ||
|<translate><!--T:9--> | |<translate><!--T:9--> | ||
Internal link</translate> | Internal link</translate> | ||
− | |<pre> | + | |<pre>[[Main Page]]</pre> |
− | [[Main Page]] | ||
− | |||
− | |||
− | |||
− | |||
− | </pre> | ||
|[[Main Page]] | |[[Main Page]] | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|<translate><!--T:10--> | |<translate><!--T:10--> | ||
Piped link</translate> | Piped link</translate> | ||
− | |<pre>[[Main Page|different text | + | |<pre>[[Main Page|different text]]</pre> |
− | |||
− | |||
<translate><!--T:11--> | <translate><!--T:11--> | ||
− | See also | + | See also {{mediawiki|Meta:Help:Piped link}}</translate> |
|[[Main Page|different text]] | |[[Main Page|different text]] | ||
− | |||
− | |||
|- | |- | ||
|[[w:Help:Pipe_trick|Pipe trick]] | |[[w:Help:Pipe_trick|Pipe trick]] | ||
116行目: | 102行目: | ||
|<pre>#REDIRECT [[Main Page]]</pre> | |<pre>#REDIRECT [[Main Page]]</pre> | ||
<translate><!--T:16--> | <translate><!--T:16--> | ||
− | See also [[ | + | See also [[Help:Redirects]]</translate> |
| → [[Main Page]] | | → [[Main Page]] | ||
|- | |- | ||
122行目: | 108行目: | ||
Internal link to an anchor</translate> | Internal link to an anchor</translate> | ||
|<pre>[[#See also]]</pre> | |<pre>[[#See also]]</pre> | ||
− | + | [[Help:Formatting|Section headings]] and the [[#top|top]] of the page are automatically anchored. | |
− | [[ | ||
|[[#See also]] | |[[#See also]] | ||
|- | |- | ||
146行目: | 131行目: | ||
|<pre>[[{{TALKPAGENAME}}|Discussion]]</pre> | |<pre>[[{{TALKPAGENAME}}|Discussion]]</pre> | ||
<translate><!--T:22--> | <translate><!--T:22--> | ||
− | See also [[ | + | See also [[Help:Magic_words#Page_names]]</translate> |
|[[{{TALKPAGENAME}}|Discussion]] | |[[{{TALKPAGENAME}}|Discussion]] | ||
|- | |- | ||
152行目: | 137行目: | ||
Internal link to a subpage</translate> | Internal link to a subpage</translate> | ||
|<pre>[[/example]]</pre> | |<pre>[[/example]]</pre> | ||
− | + | Shortcut for <code><nowiki>[[Help:Links/example|/example]]</nowiki></code>. See also [[Help:Subpages]]. | |
− | Shortcut for <code><nowiki>[[Help:Links/example|/example]]</nowiki></code>. See also [[ | ||
|[[Help:Links/example|/example]] | |[[Help:Links/example|/example]] | ||
|- | |- | ||
166行目: | 150行目: | ||
|<pre>[[:Category:Help]]</pre> | |<pre>[[:Category:Help]]</pre> | ||
<translate><!--T:26--> | <translate><!--T:26--> | ||
− | See also [[ | + | See also [[Help:Categories]]</translate> |
|[[:Category:Help]] | |[[:Category:Help]] | ||
|- | |- | ||
174行目: | 158行目: | ||
[[media:example.pdf]]</pre> | [[media:example.pdf]]</pre> | ||
− | |||
− | |||
<translate><!--T:28--> | <translate><!--T:28--> | ||
− | See also [[ | + | See also [[Help:Images]]</translate> |
|[[media:example.jpg]] | |[[media:example.jpg]] | ||
[[media:example.pdf]] | [[media:example.pdf]] | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|<translate><!--T:29--> | |<translate><!--T:29--> | ||
215行目: | 193行目: | ||
|<translate><!--T:36--> | |<translate><!--T:36--> | ||
External link</translate> | External link</translate> | ||
− | |<tt><nowiki> | + | |<tt><nowiki>http://mediawiki.org</nowiki></tt> |
− | | | + | |http://mediawiki.org |
|- | |- | ||
|<translate><!--T:37--> | |<translate><!--T:37--> | ||
External link with different label</translate> | External link with different label</translate> | ||
− | |<tt><nowiki>[ | + | |<tt><nowiki>[http://mediawiki.org MediaWiki]</nowiki></tt> |
− | |[ | + | |[http://mediawiki.org MediaWiki] |
|- | |- | ||
|<translate><!--T:38--> | |<translate><!--T:38--> | ||
Numbered external link</translate> | Numbered external link</translate> | ||
− | |<tt><nowiki>[ | + | |<tt><nowiki>[http://mediawiki.org]</nowiki></tt> |
− | |[ | + | |[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>[ | + | [http://en.wikipedia.org/wiki/.avi video] |
− | + | [http://en.wikipedia.org/wiki/.ogg sound] | |
− | + | [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> | ||
| | | | ||
− | [ | + | [http://en.wikipedia.org/wiki/.avi video]<br/> |
− | [ | + | [http://en.wikipedia.org/wiki/.ogg sound]<br/> |
− | [ | + | [http://en.wikipedia.org/wiki/.pdf document]<br/> |
|- | |- | ||
|<translate> | |<translate> | ||
− | + | Protocol relative external link (Will be http if the current site is http, https if the current site is https)</translate> | |
− | Protocol | + | |<tt><nowiki> |
− | |<tt> | + | [//en.wikipedia.org wikipedia]</nowiki><br/><nowiki> |
− | <nowiki>[//en.wikipedia.org | ||
[//en.wikipedia.org //en.wikipedia.org] | [//en.wikipedia.org //en.wikipedia.org] | ||
</nowiki></tt> | </nowiki></tt> | ||
− | <small><translate> | + | <small><translate>This is only supported inside <tt><nowiki>[ ]</nowiki></tt>. //en.wikipedia.org by itself does not make a link.</translate></small> |
− | This is only supported inside | ||
| | | | ||
− | [//en.wikipedia.org | + | [//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> | + | |<tt><nowiki>http://{{SERVERNAME}}/pagename</nowiki></tt> |
− | | | + | |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> | + | |<tt><nowiki>http://google.com/search?q={{PAGENAMEE}}</nowiki></tt><br /> |
− | + | See also: [[Help:Magic_words#URL_encoded_page_names | URL encoded page names]], [[Manual:PAGENAMEE encoding|PAGENAMEE encoding]] | |
− | See also: [[ | + | |http://google.com/search?q={{PAGENAMEE}} |
− | | | ||
|- | |- | ||
|<translate><!--T:43--> | |<translate><!--T:43--> | ||
276行目: | 251行目: | ||
|<tt><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</nowiki></tt> | |<tt><nowiki>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&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] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
304行目: | 271行目: | ||
|<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> | ||
− | |< | + | |<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] |
|- | |- | ||
|<translate><!--T:51--> | |<translate><!--T:51--> | ||
− | External link to the current page's edit page using the [[ | + | External link to the current page's edit page using the [[Help:Magic_words#URL_data | fullurl parser function]]</translate> |
− | |< | + | |<pre>[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]</pre> |
<translate><!--T:52--> | <translate><!--T:52--> | ||
− | See also [[ | + | See also [[Help:Magic_words#URL_data]] and [[<tvar|external>#External links</>|#External links]]</translate> |
|[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page] | |[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page] | ||
|- | |- | ||
|<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> | ||
− | |< | + | |<pre><span class="plainlinks">[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</span></pre> |
<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">[ | + | |<span class="plainlinks">[http://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</span> |
|} | |} | ||
333行目: | 300行目: | ||
Trigger</translate> | Trigger</translate> | ||
|- | |- | ||
− | | [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> |
|} | |} | ||
356行目: | 323行目: | ||
<!--T:60--> | <!--T:60--> | ||
− | When you put a URL on a wiki page | + | When you put a URL on a wiki page it will be automatically converted into an external link, like this: |
</translate> | </translate> | ||
− | + | http://mediawiki.org | |
<translate> | <translate> | ||
366行目: | 333行目: | ||
</translate> | </translate> | ||
− | <pre><nowiki> | + | <pre><nowiki>http://mediawiki.org</nowiki></pre> |
<translate><!--T:62--> | <translate><!--T:62--> | ||
To get this:</translate> | To get this:</translate> | ||
− | <nowiki> | + | <nowiki>http://mediawiki.org</nowiki> |
{{Anchor|Interwiki|Interwiki links}} | {{Anchor|Interwiki|Interwiki links}} | ||
378行目: | 345行目: | ||
<!--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 | + | 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行目: | 351行目: | ||
<!--T:66--> | <!--T:66--> | ||
− | 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>. |
<!--T:67--> | <!--T:67--> | ||
− | More details are at | + | 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}}. |
</translate> | </translate> | ||
395行目: | 362行目: | ||
<!--T:69--> | <!--T:69--> | ||
− | If your wiki has other language versions, you may find “interlanguage links” in the [[ | + | 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}}}}.” |
<!--T:70--> | <!--T:70--> | ||
405行目: | 372行目: | ||
<!--T:72--> | <!--T:72--> | ||
− | + | 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--> | ||
<!--T:74--> | <!--T:74--> | ||
− | * [[ | + | * [[Help:Linked images|Linked images]] |
+ | * [[meta:Help:Links]] | ||
+ | |||
</translate> | </translate> | ||
− | [[Category:Help{{ | + | [[Category:Help{{langcat|Links}}|Links]] |
− | [[Category:Link{{ | + | [[Category:Link{{langcat|Links}}|Links]] |