도움말:분류

From mediawiki.org
This page is a translated version of the page Help:Categories and the translation is 49% complete.
PD 주의사항: 이 문서를 편집하면 CC0에 따라 당신의 기여한 것을 배포하는 데 동의하는 것으로 간주됩니다. 자세한 내용은 퍼블릭 도메인 도움말 문서를 확인 하세요. PD

분류는 미디어위키의 특징적인 기능입니다. 유용하게 쓸 수 있는 색인을 마치 도표처럼 자동적으로 보여줍니다.

여러분은 하나 이상의 분류 태그를 문서 안에 삽입해서 문서(페이지)와 파일을 분류할 수 있습니다. 이 태그들은 페이지의 맨 아래에 링크를 생성하고, 이 링크를 통해 해당 분류에 속해 있는 모든 페이지의 목록으로 이동할 수 있습니다. 이 분류 문서 안에서는 관련된 문서들을 쉽게 찾을 수 있습니다.

요약

분류 이름공간 안에 있는 각각의 문서들은 소위 관련되어 있는 페이지들의 집합인 분류를 나타내며, 그 분류 안에 있는 페이지들의 목차를 담고 있습니다. 이 문서는 '분류:도움말 ' 에 속해 있습니다. 만약 당신이 분류 문서를 연다면, 그 페이지에서 이 문서의 링크를 볼 수 있습니다.

페이지가 하나 이상의 분류에 속할 때, 이러한 카테고리는 페이지의 하단에 (또는 사용 중인 스킨에 따라 오른쪽 상단 모서리에) 나타납니다.

분류 페이지들에는 두가지 부분이 포함되어 있습니다.:

  • 페이지 처음에는, 다른 페이지들처럼 수정될 수 있는 텍스트들을 포함할 수 있는 옵션 부분이 있습니다.
  • 페이지 끝에는, 분류안에 있는 모든 페이지들의 알파벳 순으로 실제로는 ASCII 순서대로입니다.

페이지에 분류를 부여하기 위해서는, 페이지의 위키텍스트에 "[[Category:Category name]]"이라는 고리를 추가하면 됩니다. 이 고리는 보통 페이지 맨 바닥에 추가됩니다.

일반 위키 링크처럼 한 페이지 안에 분류 페이지를 링크하기 위해서 (분류로 통하는 페이지의 추가 없이), 링크 이름에 콜론(:)을 붙입니다. 예시: [[:Category:Not in this category]]

다른 일반 페이지와 같은 방식으로 페이지를 할당하기 전에 새 카테고리를 생성 할 수 있습니다.

개별적인 위키들은 위키백과의 Category:Contents와 같은 최고 수준의 고유한 분류를 가지고 있을 수 있습니다.

적어도 한 문서가 포함되어 있는 모든 분류의 목록을 보려면 Special:Categories을 보십시오.

문서가 없는 분류를 포함해, 생성되거나 편집된 모든 분류의 목록을 보려면 Special:Allpages/Category:을 보십시오(뒤쪽의 쌍점을 주의하십시오).

분류 추가 방법

To add a page or uploaded file to a category, simply edit the page and add the following text (where Name is the name of the category you want to add it to).

[[Category:이름]]

Any number of Category tags may be added to the page and the page will be listed in all of them. Category tags, along with interwiki language links placed in the sidebar, are usually added at the very bottom of the page for the convenience of other editors.

On a categorised page, categories are displayed in the Categories: box strictly in the order they appear in the wikitext.

If $wgUseCategoryBrowser is set to true, under the first list each category is listed again, breadcrumb-style, with all its parent categories, sorted alphabetically. (At least in MediaWiki 1.18.2) if a category is a subcategory of more than one parent, both hierarchies will be listed, but the tagged category will be stripped off all but one of these. This creates the potential for what appear to be duplicate entries if a category with multiple parents and one of its parents are both tagged on a page. For example suppose Maryanne is a subcategory of both Mary and Anne. If a page tags categories Maryanne and Anne then the Category breadcrumbs will show

Anne 
Anne
Mary -> Maryanne

"Anne" appears to be duplicated, but what is meant is

Anne 
Anne -> Maryanne
Mary -> Maryanne

이것은 버그이며, phab:T35614에 제보되어 있습니다.

정렬 키

By default, a page is sorted within a category under the first letter of its name — without the namespace. Also, MediaWiki groups accented characters separately from their unaccented version, so pages starting by À, Á, Ä, will be listed under separate headings, instead of under heading A. (If you have shell access, these defaults can be changed using $wgCategoryCollation .)

A sort key specifies under which letter heading, and where in the category list, the page will appear. You can add a sort key by placing it inside the tag after a pipe character. For example, the tag below will add the page under heading "S".

[[Category:이름|정렬]]

정렬 키가 대소문자를 구별하는지는 사용자의 설정과 관련이 있습니다. The order of the sections within a category follows the Unicode sort order. The sort key does not change the page title displayed in the category.

Spaces and other characters are perfectly valid.

See Help:Sorting for further information on category sorting.

카테고리 페이지를 만드는 방법

Categories exist even if their page has not been created, but these categories are isolated from others and serve little purpose for organisation or navigation.

A category is created by creating a page in the Category: namespace. A category page can be created the same way as other wiki pages (see 도움말:새 페이지 시작하기 ); just add "Category:" before the page title.

To avoid extra work, try searching within your wiki before creating a new category. The list of all categories can be found in "특수 문서 목록" in the "도구" box of the sidebar.

분류 계층 관리하기

분류는 계층에 따라 다른 분류들에 속할 수 있다. 분류 페이지들은 다른 페이지와 유사하기 때문에, Category 태그가 분류 페이지의 바닥에 추가될 수 있다.

하나의 최상위 분류를 이용하는 계층으로 모든 분류들을 정리하는 것은 바람직하다. 그러한 분류 구조는 별도의 브랜치들을 가지는 트리 형태가 될 수 있으나, 종종 그래프 구조인 경우가 더 많을 것이다. 일반적으로 각 분류와 최상위 계층 분류 사이에는 부모-자식 연결들과 같은 연속적 체인이 형성되어야 한다.

Category tree

Since MediaWiki 1.31, CategoryTree extension is packaged by default, allowing Special:CategoryTree and ‎<categorytree> to provide a tree-like structure display for the categories.

숨은 카테고리들

The categories that a page is in are normally listed at the bottom of the page. In MediaWiki 1.13+, a category can be hidden from this list by adding the magic word "__HIDDENCAT__" to the category page.

Users can choose to see hidden categories in a separate "숨은 분류" list, by checking "숨은 분류 보이기" in the "보이기" section of Special:Preferences.

Hidden categories are automatically added to Category:Hidden categories. This category is specified in the system message MediaWiki:Hidden-category-category.

분류 페이지로 링크 걸기

To create a link to a category, use a leading colon before the category name (without this colon, the current page would be added to the category):

[[:Category:Help]]Category:Help

To change the link text, write the text inside the link tag after a pipe:

[[:Category:Help|Help category]]Help category

Redirect pages that redirect to categories must also use the colon, otherwise they will be added to the category instead of redirecting.

Categories and templates (transcluded pages)

If you add [[Category:Cats]] inside a template (a transcluded page), both the template and pages which transclude this template will be categorised as Cats.

  • If you want only the template to be categorised, you should ensure to write category marker inside <noinclude> tags.
  • If you want only the pages which uses the template to be categorised, but not the template itself, you should ensure to write category marker inside <includeonly> tags.

Due to caching issues, editing categories applied through templates may take a while to be visible everywhere. You can perform a null edit on a page to update immediately its categories.

분류 이동하기

Like normal wiki pages, category pages can be redirected to other normal or category pages. However, this is not recommended, as pages categorised in redirected categories do not get categorised in the target category (phab:T5311). Some Wikimedia sites use a "category redirect" template to mark redirected categories, allowing manual or automated cleanup of pages categorised there.

추적용 분류

이미지 링크가 깨지거나, 너무 많은 파서 함수를 사용하는 등, 특정 문법 오류가 발생하면 문서가 추적용 분류에 포함될 수 있습니다. 자세한 사항은 Help:Tracking categories 을 참고하십시오.

분류 이름 바꾸기

분류를 이동할 경우, 분류에서는 넘겨주기가 작동하지 않기 때문에, 모든 분류 태그를 고쳐주어야 합니다.

같이 보기