Jump to content

Help:Links

This is a fully translated help. Click here for more information.
From DawoumWiki, the free Mathematics self-learning

미디어위키에서 다섯 종류의 하이퍼텍스트 링크가 있습니다:

  1. 내부 링크는 같은 위키의 다른 페이지로 연결합니다 (공통적으로 "위키링크"라고 불림)
  2. 외부 링크는 다른 웹싸이트에 페이지로 연결합니다
  3. 내부 페이지에 대한 외부 링크는 같은 위키에서 내부 페이지를 외부 링크로 연결합니다
  4. 인터위키 링크는 사전 등록된 특수 접두사를 사용하여 다른 웹사이트로 연결합니다
  5. 인터랭귀지 링크는 현재 위키의 다른 언어 버전으로 등록된 다른 위키에 연결합니다

이 목록은 각각 페이지를 카테고리에 배치하는 것에 사용되고 이미지 또는 다른 미디어 파일을 표시하기 위해 사용되는 카테고리 링크파일 링크를 포함하지 않습니다.

같은 위키 ("wikilink")의 페이지에 대한 소위 내부 링크를 만들기 위해, 이중 대괄호 위키 마크업, [[like this]]을 사용하십시오. 변경 사항을 미리보거나 저장할 때, 대상 페이지로 연결될 수 있는 링크가 표시될 것입니다. 만약 페이지가 존재하면 그 링크는 (이 단락의 첫 번째 문장에서 단어 "만들기"에서 처럼) 파란색으로 표시됩니다; 만약 페이지가 존재하지 않으면, 그 링크는 빨간색으로 나타납니다 (따라서 [[like this]] 링크가 실제로 like this 렌더링됩니다). 만약 위키의 색 구성표가 기본값에서 변경되면 그 색깔은 다를 수 있음을 주목하십시오. 누락된 페이지 (실제로 빨간색이든 아니든)에 대한 그러한 "redlink"를 따라가면 보통 사용자에게 페이지를 만들 수 있도록 활성화될 것입니다.

어떤 임의적인 텍스트의 문자열 (페이지 제목일 필요는 없음)을 링크로 만들려면, 다음과 같이 "수직 막대" 또는 "파이프" 문자를 사용하십시오: [[Help:Categories|category links]]는 링크 카테고리 링크를 결과로 초래합니다.

링크 대상의 첫 글자는 보통 대소문자를 구분하지 않으며 (위키가 그렇게 구성되지 않는 한), 링크는 대문자로 표시될 수도 있고 그렇지 않을 수도 있음을 의미합니다 (따라서 기여하는 방법과 기여하는 방법은 동일합니다). 그러나 모든 후속 편지의 대소 문자는 대상 페이지와 정확히 일치해야합니다 (따라서 How to contributehow to contribute은 동등합니다). 페이지 제목의 공백은 밑줄로 표시될 수 있지만 (따라서 How to contributeHow_to_contribute은 다시 동등합니다), 링크에 밑줄을 사용하면 페이지 텍스트에 밑줄이 표시할 것입니다 (그러나 이것은 "파이프"를 사용함으로써 방지될 수 있습니다).

만약 링크하려는 페이지 제목이 편집중인 페이지의 제목이면, 그 결과는 하이퍼링크가 아니라 단순히 굵은 텍스트입니다 (예를 들어, 이 페이지에서 마크업 [[Help:Links]]는 결과 Help:Links를 제공합니다). 만약 현재 페이지에 대한 위키링크를 만들려고 시도하면, 아마도 특정 섹션 또는 페이지 내의 앵커에 링크를 원할 것입니다; 아래 예제를 참조하십시오.

미디어위키는 내부 위키링크의 추적을 유지하기 위해 페이지링크 데이터베이스 테이블을 사용합니다.

이름/설명 구문 결과
Internal link
[[Main Page]]

[[Help:Contents]]

[[Extension:DynamicPageList (Wikimedia)]]

Main Page

Help:Contents

Extension:DynamicPageList (Wikimedia)

Piped link
[[Help:Editing pages|editing help]]

Links to a section/anchor within the target page.

[[Help:Editing pages#Preview|previewing]]

Piped link to an anchor on the same page

[[#See also|different text]]

See also meta:Help:Piped link.

editing help

previewing

different text

Pipe trick
[[Manual:Extensions|]]

[[User:John Doe|]]

[[Extension:DynamicPageList (Wikimedia)|]]

[[Extension:DynamicPageList (third-party)|]]

The pipe trick involves less typing for editors, but is potentially confusing to readers, as seen in these DynamicPageList examples.

Extensions

John Doe

DynamicPageList

DynamicPageList

Word-ending links
[[Help]]s

[[Help]]ing

[[Help]]ers

[[Help]]almostanylettersyoulikehere

[[Help]]BUTnotalways

Follows so-called "linktrail rules" localised per each language.

Helps

Helping

Helpers

Helpalmostanylettersyoulikehere

HelpBUTnotalways

Avoiding word-ending links
[[Help]]<nowiki />ful advice

[[wikipedia:GNU General Public License|GPL]]<nowiki />v3

Helpful advice

GPLv3

Link to an anchor on the same page
[[#See also]]

Anchors are provided automatically on section headings and to the top ([[#top]]) of the page.

#See also
Setting an anchor for incoming links
<div id="Unique anchor name 1">optional text</div>

<span id="Unique anchor name 2">optional text</span>

Rendered block-level and inline, respectively. Doing this would allow for [[#Unique anchor name 1]] on the same page or [[Help:Links#Unique anchor name 1]] on a different page. Omit the "optional text" for an invisible anchor.

Setting an anchor in a section heading

==<span id="Alternate Section Title"></span>Section heading==

Note the placement. This must be a "span" tag, not a "div". (Such anchors allow sections to be retitled without breaking incoming links.)

optional text

optional text

Section heading
Link to an anchor at another page
[[Help:Images#Supported media types for images]]
Help:Images#Supported media types for images
Link to the current page's talk page
[[{{TALKPAGENAME}}|Discussion]]

See also Help:Magic words#Page names

Discussion
Link to a subpage
[[/example]]

Shortcut for [[Help:Links/example|/example]]. See also [[Help:Subpages}}.

/example
Link to a subpage without the leading slash
[[/example/]]

Shortcut for [[Help:Links/example|example]].

example
Link to a subpage of parent page for current page. Can only be used on subpages.
[[../example2]]

Shortcut for [[Help:Links/example2|example2]] if you post the link on [[Help:Links/example|example]] page.

example2
Visible link to a category page
[[:Category:Help]]

Without the leading colon the link would not be visible and the page would instead be placed into the category; this is a very common mistake. See also Help:Categories.

Category:Help
Visible link to an image or media file

File:Example.jpg

this example

Media:Example.jpg

Link to a page specific to each reader (user page, etc.)
[[Special:MyPage]]

[[Special:MyTalk]]

[[Special:Preferences]]

Special:MyPage

Special:MyTalk

Special:Preferences

Internal link to a specific revision
[[Special:PermanentLink/2393992]]

Revision numbers can be found in each page's edit history. (It is very common to see links to specific revisions implemented as external links because it's easy to cut-and-paste an entire URL to form an external link.)

Special:PermanentLink/2393992
Internal link to a "diff"
[[Special:Diff/2393992]]

[[Special:Diff/2390639/2393992]]

The default (in the first example above) is to show the changes from the previous revision. See also the comments in the previous item.

Special:Diff/2393992

Special:Diff/2390639/2393992

Redirect
#REDIRECT [[Main Page]]

Should be the first and only line on the page. See Help:Redirects.

 Main Page


보통 다른 웹 사이트의 페이지로 연결되는 외부 링크를 만들기 위해, URL 뒤에 공백과 링크 텍스트를 하나의 대괄호로 묶습니다 (아래 예제를 참조하십시오). 페이지를 저장하거나 미리볼 때, 내부 위키링크와 약간 다르게 렌더링된 링크를 볼 것입니다. 다른 사이트로 연결될 수 있음을 나타내는 다른 색상 및/또는 화살표 아이콘이 뒤따를 수 있습니다.

설명 입력하십시오 화면에 표시됩니다
External link with specified link text
[https://mediawiki.org MediaWiki]
MediaWiki
Numbered external link
[https://mediawiki.org]

This is what happens if you omit the link text. Multiple links of this type on the same page are numbered sequentially.

[1]
Bare external link
https://mediawiki.org

URLs beginning with "http://" and "https://" are automatically linked, even when no brackets are used.

https://mediawiki.org
Avoiding auto-linked URLs
<nowiki>https://mediawiki.org</nowiki>
https://mediawiki.org
Protocol-relative external link
[//en.wikipedia.org Wikipedia]

[//en.wikipedia.org //en.wikipedia.org]

The link will be HTTP or HTTPS depending on the protocol of the page currently being viewed (which could be different for different users). This is only supported inside of square brackets [ ]. Using "//en.wikipedia.org" by itself does not result in a link.

Wikipedia

//en.wikipedia.org

External link to the current server
https://{{SERVERNAME}}/pagename
https://dawoum.duckdns.org/pagename
External link to other host passing the pagename
https://google.com/search?q={{PAGENAMEE}}

See also: URL encoded page names, PAGENAMEE encoding

https://google.com/search?q=Links
Mailto link
[mailto:info@example.org email me]
email me
Mailto named with subject line and body
[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]
info
Custom URI
[skype:echo123 call me]

Any URI you wish to add needs to be first declared through $wgUrlProtocols. (This example is not enabled on MediaWiki.org)

[skype:echo123 call me]

URL 쿼리 매개변수를 사용하여 같은 위키의 페이지에 링크를 더하기 위해, 외부 링크 구문을 사용할 필요가 있을 수 있습니다.

설명 입력하십시오 화면에 표시됩니다
External link to the current page's edit page
[https://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]

[{{fullurl:{{FULLPAGENAME}}|action=edit}} Edit this page]

See also Help:Magic_words#URL_data and External links above.

Edit this page

Edit this page

External link to the current page's edit page, and styled to look like an internal link
<span class="plainlinks">[https://www.mediawiki.org/w/index.php?title=Help:Links&action=edit Edit this page]</span>

The 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.

Edit this page

인터위키 링크는 다른 웹사이트에 대한 내부-스타일 링크입니다 (이것은 이름에도 불구하고 위키일 필요는 없습니다). 예를 들어, 기사 https://en.wikipedia.org/wiki/Sunflower[[wikipedia:Sunflower]]로 타이핑하거나, 이 위키에서, 더 짧게 [[w:Sunflower]]로 타이핑함으로써 링크할 수 있습니다. 둘 다는 링크 wikipedia:Sunflower를 초래할 것입니다. 이것은 기본적으로 wikipedia:를 [[ ]] 내부에 사용될 때 https://en.wikipedia.org/wiki/로 바뀌는 "인터위키 접두가"로 구성하기 때문에 동작합니다. (위키 관리자가 설정을 변경하면 작동하지 않을 수 있습니다.) 내부 링크와 달리, 인터위키 링크는 페이지 존재 감지를 사용하지 않으므로, 인터위키 링크는 심지어 그 페이지가 원격 위키에 존재하지 않더라도 파란색으로 나타날 것입니다.

내부 페이지 링크와 비슷하게, 교체하는 링크 이름과 함께, 파이프된 링크를 생성할 수 있는데, 예를 들어, [[wikipedia:Sunflower|big yellow flower]]는 링크 big yellow flower[[wikipedia:Sunflower|]]는 링크 Sunflower입니다.

기본적으로, 인터위키 링크는 공통적으로-사용된 더 긴 외부 링크에 대한 축약입니다. 매우 비슷한 링크는 [https://en.wikipedia.org/wiki/Sunflower big yellow flower]로 생성될 수 있습니다.

보다 자세한 것은 Manual:Interwikim:Help:Interwiki linking에 있습니다. 여러분의 위키는 그것이 지원하는 인터위키 접두사를 목록화하는 Special:Interwiki 페이지를 가질 것입니다; 이것이 기본 인터위키 목록입니다. 여러분은 여러분 사이트에서 인터위키 테이블을 편집할 수 있습니다.

만약 여러분의 위키가 다른 언어 버전을 가지면, 여러분은 사이드바에서 인터랭귀지 링크를 찾을 수 있으며, Toolbox 바로 아래에 "In other languages"으로 이름-지어진 섹션에 있습니다.

위키 마크업에서, 인터랭귀지 링크는 인터위키 링크와 매우 유사하지만, 특별한 방법으로 렌더링된다는 점에서 카테고리 링크와 유사하게 행동합니다. 카테고리 링크는 보통 페이지 바닥에서 특수 목록에 표시되지만, 인터랭귀지 링크는 페이지의 사이드바의 특수 목록에 표시됩니다 (또는, 위키의 구성과 사용된 스킨에 따라 달라집니다).

인터랭귀지 링크의 목적은 같은 주제에 대한 페이지를 다른 언어로 연결하는 것입니다. 인터랭귀지 링크를 생성하기 위해, 페이지의 아무 곳에서나 [[language prefix:page name]]를 입력하십시오 (카테고리 링크와 같이, 바닥을 선호합니다); 언어 접두사는 다른 언어 버전에 대해 위키에서 지정된 접두사입니다 (전형적으로 ISO 639-1 언어 코드를 사용합니다). 인터랭귀지 링크는 일방적이며, 그것은 다른 언어에서 해당 페이지에서 되돌아가는 지점을 향하지 않습니다. 해당 목적에 대해, 동등한 되돌링-링크는 마찬가지로 거기에 배치되어야 합니다. 그것은 위키피디아-언어 버전의 언어 섹션에 있는 "Edit links"처럼 작동하지 않습니다. 그러나 그것은 'User:'를 포함한 모든 이름 공간에 걸쳐 다른 언어에서 하나의 다른 프로필을 가리키기 위해 사용될 수 있습니다.

만약 사이드바가 아닌 페이지 컨텐츠에서 특정 위치에 인터랭귀지 링크를 표시하기를 원하면, 언어 접두사 앞에 콜론을 추가하십시오:

[[:en:Sunflower]]en:Sunflower

하나의 링크가 인터위키와 인터랭귀지 둘 다에 있으면, 그 순서는 wikipedia:en:Sunflower입니다.

자세한 정보에 대해, m:Help:Interwiki linking#Interlanguage links를 참조하십시오.

Limits

내부 위키 링크는 최대 mw:page title 크기로 제한됩니다.

See also