「ヘルプ:Categories/ja」を編集中
この編集を取り消せます。
下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 | 編集中の文章 | ||
1行目: | 1行目: | ||
<languages/> | <languages/> | ||
− | {{ | + | {{PD Help Page}} |
MediaWiki ソフトウェアのカテゴリ機能は自動的なインデックス作成を提供するものであり、そのインデックスは目次として利用できます。 | MediaWiki ソフトウェアのカテゴリ機能は自動的なインデックス作成を提供するものであり、そのインデックスは目次として利用できます。 | ||
7行目: | 7行目: | ||
== 要約 == | == 要約 == | ||
− | Each of the pages in the '''Category''' [[ | + | Each of the pages in the '''Category''' [[Help:Namespace|namespace]] represents a so-called '''category''', a grouping of related pages, and contains an index for the pages of its category. For example, this page belongs to "[[:Category:Help]]". If you open the "[[:Category:Help]]" page, you will see a link to this page there. |
− | + | When a page belongs to one or more categories, these categories appear at the bottom of the page (or in the upper-right corner, depending on the [[Help:Preferences|skin]] being used). | |
カテゴリ ページ自身は 2 つの部分を含んでいます: | カテゴリ ページ自身は 2 つの部分を含んでいます: | ||
* at their beginning, an optional part may contain text that can be edited, like any other page, | * at their beginning, an optional part may contain text that can be edited, like any other page, | ||
− | * at their end, an ever present, automatically generated, alphabetical list of all pages in that category, in the form of links. (In fact, in ASCII order. See [[Help:Special | + | * at their end, an ever present, automatically generated, alphabetical list of all pages in that category, in the form of links. (In fact, in ASCII order. See [[Help:Special page]]). |
To assign a category to a page, simply add the link "<nowiki>[[</nowiki>Category:''Category name'']]" to the page's wikitext. The usual place to add it is at the bottom of the page. | To assign a category to a page, simply add the link "<nowiki>[[</nowiki>Category:''Category name'']]" to the page's wikitext. The usual place to add it is at the bottom of the page. | ||
26行目: | 26行目: | ||
For a complete list of all categories which have at least one page, see [[Special:Categories]]. | For a complete list of all categories which have at least one page, see [[Special:Categories]]. | ||
− | For a complete list of all created/edited categories, including the ones that don't have any | + | For a complete list of all created/edited categories, including the ones that don't have any page, see [[Special:Allpages/Category:]] (note the colon at the end). |
== ページをカテゴリに追加 == | == ページをカテゴリに追加 == | ||
50行目: | 50行目: | ||
Mary -> Maryanne | Mary -> Maryanne | ||
− | This is a bug, and has been reported in [https:// | + | This is probably a bug, and has been reported in [https://bugzilla.wikimedia.org/show_bug.cgi?id=33614 Bug 33614]. |
=== ソートキー === | === ソートキー === | ||
70行目: | 70行目: | ||
カテゴリは他のページと同じ方法で '''''Category:''''' 名前空間に作成できます([[Help:Starting a new page/ja]]参照)。ただ、カテゴリ名の前に <code>{{ns:category}}:</code> を追加するだけです。 | カテゴリは他のページと同じ方法で '''''Category:''''' 名前空間に作成できます([[Help:Starting a new page/ja]]参照)。ただ、カテゴリ名の前に <code>{{ns:category}}:</code> を追加するだけです。 | ||
− | 無駄な手間を生じさせないためにも、カテゴリを新規作成する前にウィキ内にあるカテゴリをよく調査した方がよいでしょう。[[Help:Navigation | + | 無駄な手間を生じさせないためにも、カテゴリを新規作成する前にウィキ内にあるカテゴリをよく調査した方がよいでしょう。[[Help:Navigation#Sidebar|サイドバー]]の「{{lcfirst:{{int:toolbox}}}}」にある「{{lcfirst:{{int:specialpages}}}}」のリンクからウィキ内の全カテゴリの一覧にアクセスできます。 |
+ | |||
+ | 他のページと異なり、カテゴリの改名(移動)はできません。改名が必要な場合、新しくカテゴリを作り直し、カテゴリに入れるページのカテゴリタグをすべて貼り替えなければなりません。この方法はカテゴリの履歴を失うことになり、カテゴリページに説明用テキストが多く含まれる場合にはあまりよくありません。 | ||
==カテゴリの階層の保守== | ==カテゴリの階層の保守== | ||
82行目: | 84行目: | ||
The categories that a page is in are normally listed at the bottom of the page. | The categories that a page is in are normally listed at the bottom of the page. | ||
In Mediawiki 1.13+, | In Mediawiki 1.13+, | ||
− | a category can be hidden from this list by adding the [[Help:Magic words|magic word]] "<code><nowiki>__HIDDENCAT__</nowiki></code>" to the category page. | + | a category can be hidden from this list by adding the [[Help:Magic words|magic word]] "<code><nowiki>__HIDDENCAT__</nowiki></code>" to the category page. Hidden categories are not hidden from category pages ({{bugzilla|15550}}). |
Users can choose to see hidden categories in a separate "{{int:hidden-categories}}" list, by checking "{{int:tog-showhiddencats}}" in the "{{int:prefs-rendering}}" section of [[Special:Preferences]]. | Users can choose to see hidden categories in a separate "{{int:hidden-categories}}" list, by checking "{{int:tog-showhiddencats}}" in the "{{int:prefs-rendering}}" section of [[Special:Preferences]]. |