Jump to content

도움말:넘겨주기

From mediawiki.org
This page is a translated version of the page Help:Redirects and the translation is 31% complete.

For information oriented towards site admins and developers, see Manual:Redirects instead

넘겨주기는 사용자들을 한 페이지에서 다른 페이지로 넘겨주는 데 사용됩니다. 특정문서가 여러 이름으로 참조되거나, 다른 구두점 ,대소문자, 철자법등을 가질 때 유용합니다.

Types of redirects

Two types of redirections exist:

  • Hard redirection: Readers navigating to the redirect page are taken directly to the target page (usually other pages of the same wiki).

넘겨주기를 사용한 문서의 이름을 치거나 그 문서로 연결된 링크를 클릭하면 바로 넘겨받는 문서로 이동한 것을 확인할 수 있습니다. Only hard redirection is described in this article.

  • Soft redirection: Readers are left on the redirect page but given the option of clicking the link to the target page.

Usually this is achieved via a template; see corresponding article on Meta.

In wikis with $wgDisableHardRedirects enabled (such as most public Wikimedia projects), it's not possible to create a hard redirect to special pages (e.g. Special:MyLanguage) or pages located on another wiki; they will be automatically "softened".

Appearance

Following a redirect

When a hard redirect is followed, the target page is immediately displayed, with a small notice below the page title to indicate you arrived here indirectly.

Help:Redirects
MediaWiki
(Help:Redirect에서 넘어옴)

You can use the link in this notice to view the redirect page. This link adds the &redirect=no URL parameter.

넘겨주기 보기

When a redirect page is displayed, the small notice below the page title indicates this, and the link after the arrow icon displays the target of the redirect.

Help:Redirect
MediaWiki
넘겨주기 문서

Help:Redirects

넘겨주기는 위키의 모든 문서에서 할 수 있습니다. You can go to the associated discussion page to discuss the redirect. 역사보기를 통해서 넘겨주기를 사용한 기록을 포함한 기록을 볼 수 있습니다. You can edit the page if the redirect is wrong, and you can revert to an older version to remove the redirect.

넘겨주기 만들기

When a page is moved, a redirect from the old to the new page name is automatically created.

suppressredirect 권한이 있는 사용자는 넘겨주기 만들기 없이 문서를 옮길 수 있습니다. 기본적으로 이런 권한은 관리자와 봇에게 있습니다.

넘겨주기가 시작되는 페이지 이름을 갖는 새 페이지에서 시작할 수 있습니다.(도움말:새 페이지 시작하기 참조). 또한 윗쪽에 있는 "수정"탭을 사용하거나 그 페이지로 가도록 해서 페이지를 비활성화시키는 방법으로 기존 페이지를 사용할 수 있습니다. 어떤 경우든지, 그 페이지의 수정 창에서 맨 앞쪽에 다음 코드를 삽입해야만 합니다.

#REDIRECT [["문서이름"]]

"문서이름"이 목적 문서의 이름 "redirect" 단어는 대소문자를 가리지 않지만, "#" 기호 전에 공백이 있어서는 안됩니다. 코드 전에 있는 어떠한 문자는 그 코드를 비활성화 시켜서 넘겨주기가 동작하지 않습니다. 그러나, 이 줄 이후의 본문이나 다른 콘텐츠는 무시됩니다. This is often used to add redirects to categories.

Redirections can be simple page names or specified using a namespace. They can be suffixed with a section name if you have the corresponding anchor defined on the target page.

Examples of valid operational redirections:

  • #REDIRECT[[Help:Magic_words#Page_names]]
  • #redirect [[Help:Magic_words#URL_encoded_page_names]]
  • #Redirect [[Manual:$wgConf]]
  • #REDIRECT [[MediaWiki/fr]]

올바른 넘겨받는 문서를 입력했는지 확인하기 위해서 미리보기(편집창 아래의 버튼, 혹은 Alt+P를 누르면 됩니다.)를 해야합니다.

When the redirect is valid, it will appear in preview as shown in the "Viewing a redirect" section above.

When the redirect is not valid, it will appear in preview like a numbered list item:

  1. REDIRECT 문서이름

만약 입력한 문서이름이 존재하지 않는다면, 빨간색으로 보일 것입니다. 넘겨주기는 반드시 넘겨받는 문서가 있어야합니다.

Limitations

A redirect target cannot depend on a variable, template, or parser function. If that is the case, the browser will not be automatically redirected on visiting the page.

Example of redirection not allowed (not operational):

  • #REDIRECT [[{{ll|Help:Magic_words#Page_names}}]] although {{ll|Help:Magic_words#Page_names}} is operational.

JavaScript page redirect

In order to avoid JavaScript functionality from breaking, all JavaScript pages have a different redirect syntax from regular pages. This syntax allows for proper execution of the page by the browser's JavaScript engine, as well as being recognised by MediaWiki as a redirect. To create a JavaScript page redirect, the format that must be used is as follows:

/* #REDIRECT */mw.loader.load( "{{fullurl:Target.js|action=raw&ctype=text/javascript}}" );

Where Target.js is the target page name.

넘겨주기 삭제하기

일반적으로 넘겨주기를 삭제할 필요는 없습니다. 왜냐하면 그렇게 많은 용량을 차지하지 않기 때문이죠. If a page name is vaguely meaningful, there's no harm, and some benefit, in having it as a redirect to the more relevant or current page.

If you want to move a page over a redirect that has only one edit in its history and targeted to the old page name, there is no need to delete the redirect: it is overwritten. If the redirect has more than one history entry, or the redirect target is somewhere else, then it can only be deleted-and-moved by an administrator.

문서의 이름이 공격적이거나 그 이름으로 문서의 내용을 받아들이지 않았으면 하는 등의 이유로 인해서 넘겨주기를 삭제하고 싶다면, 위에 적힌 대로 넘겨주기를 한 문서로 가서 도움말:삭제 및 되살리기 순서대로 하면 됩니다.

Problematic redirects

이중 넘겨주기

A double redirect is a page redirecting to a page which is itself a redirect, and it will not work. Instead, people will be presented with a view of the next redirect page. This is a deliberate restriction, partly to prevent infinite loops, and partly to keep things simple.

However, you could look out for double redirects and eliminate them by changing them to be one-step redirects instead. You are most likely to need to do this after a significant page move. Use the 여기를 가리키는 문서 toolbox link to find double redirects to a particular page, or use Special:DoubleRedirects to find them throughout the whole wiki.

There is an option, $wgFixDoubleRedirects , to automatically fix double redirects with a job queue. However, it tends to aggravate page move vandalism, so it is disabled by default. The __STATICREDIRECT__ magic word can be used to skip the double-redirect fix on a particular page.

미디어위키 버전:
1.44
Gerrit change 1090544
Since 1.44, MediaWiki shows a warning if you try to save a page that redirects to a target that is also a redirect.

Broken redirects

If the target page does not exist, the redirect is broken: redirection will not occur. You may find all broken redirects at Special:BrokenRedirects.

미디어위키 버전:
1.44
Gerrit change 1089205
Since 1.44, MediaWiki shows a warning if you try to save a page that redirects to an nonexistent page.

Transcluding a redirect

When a page called for inclusion is a redirect page, the redirect target is included instead, with the same parameters, without any redirect message. A double redirect does not work.

This allows to create several names for the same template.

An internal link to a redirect page has CSS class mw-redirect. This can be useful to make them stand out, for clean-up work involving bypassing redirects.

같이 보기