「ヘルプ:Namespaces/ja」を編集中

移動先: 案内検索

警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を保存して取り消しを完了してください。
最新版 編集中の文章
1行目: 1行目:
 
<languages/>
 
<languages/>
 
{{TNT|PD Help Page}}
 
{{TNT|PD Help Page}}
 +
 
MediaWiki ウィキのページは「'''名前空間'''」と呼ばれる、ページの目的を大まかに区別するための集まりに分類されます。特定の名前区間にあるページは特別な性質を持っていたり、他のページとの相互作用のしかたが異なっていたりします。   
 
MediaWiki ウィキのページは「'''名前空間'''」と呼ばれる、ページの目的を大まかに区別するための集まりに分類されます。特定の名前区間にあるページは特別な性質を持っていたり、他のページとの相互作用のしかたが異なっていたりします。   
  
 
名前空間はページタイトルのなかでページ名の前につく部分の「<tt>名前空間:</tt>」で示されます。このページのタイトル(「{{FULLPAGENAME}}」)の「<tt>{{NAMESPACE}}:</tt>」はこのページが{{NAMESPACE}}名前空間にあることを示しています。個々の名前空間は番号と名前で識別されます。名前は翻訳可能で、別名をもっていることがあります。
 
名前空間はページタイトルのなかでページ名の前につく部分の「<tt>名前空間:</tt>」で示されます。このページのタイトル(「{{FULLPAGENAME}}」)の「<tt>{{NAMESPACE}}:</tt>」はこのページが{{NAMESPACE}}名前空間にあることを示しています。個々の名前空間は番号と名前で識別されます。名前は翻訳可能で、別名をもっていることがあります。
  
A page whose name is ''not'' prefixed by a namespace lies in the [[#blank-ns|mainspace]]. Note, however, that colons and prefixes can also appear in page titles ''without'' indicating a namespace: the page [[Foo:{{PAGENAME}}]] is a page located in the mainspace because the namespace "Foo" does not exist.  Similarly the page [[{{NAMESPACE}}:Foo:{{PAGENAME}}]] is in the "{{NAMESPACE}}" namespace.
+
A page whose name is ''not'' prefixed by a namespace lies in the [[#(Main)|mainspace]]. Note, however, that colons and prefixes can also appear in page titles ''without'' indicating a namespace: the page [[Foo:{{PAGENAME}}]] is a page located in the mainspace because the namespace "Foo" does not exist.  Similarly the page [[{{NAMESPACE}}:Foo:{{PAGENAME}}]] is in the "{{NAMESPACE}}" namespace.
  
==標準名前空間==
+
==標準的な名前空間==
  
 
The standard MediaWiki installation has sixteen namespaces that can contain user-generated content; there are also two special namespaces that contain pages created 'on the fly' by the MediaWiki software.  The standard namespaces are organized in pairs, with each pair containing a "subject namespace" and a "discussion namespace".  The namespaces are numbered from zero such that all subject namespaces have even indices and all talk namespaces have odd indices.
 
The standard MediaWiki installation has sixteen namespaces that can contain user-generated content; there are also two special namespaces that contain pages created 'on the fly' by the MediaWiki software.  The standard namespaces are organized in pairs, with each pair containing a "subject namespace" and a "discussion namespace".  The namespaces are numbered from zero such that all subject namespaces have even indices and all talk namespaces have odd indices.
  
{{Anchor|ns-media}}
+
===={{ns:-2}}====
====メディア====
 
  
This namespace is used for direct linking to media files: the link [[{{ns:-2}}:Wiki.png]] links to just the image rather than the image description page, which would be [[:{{ns:6}}:Wiki.png]].
+
アップロードされたファイルを説明ページを通してリンクするよりも、直接リンクするためにこの名前空間を使用します。
  
====特別====
+
===={{ns:-1}}====
  
この名前空間は、[[Special:MyLanguage/Help:Special pages|特別ページ]]をグループ化するために使用されます。特別ページは、「要求に応じて」MediaWiki が生成するレポートやインターフェイスであり、直接は編集できません。MediaWiki ソフトウェアを変更・拡張しない限り、この名前空間にはページを作成できません。
+
This namespace is used to group [[Help:Special pages|special pages]], reports and interfaces that are generated "on demand" by MediaWiki and that are not directly editable.  It is not possible to create pages in this namespace except by modifying or extending the MediaWiki software.
  
{{Anchor|blank-ns}}
 
 
===={{int:blanknamespace}}====
 
===={{int:blanknamespace}}====
  
コロンで区切られた接頭辞がないこの名前空間。一般に「標準名前空間」または「メイン空間」と呼ばれます。通常この名前空間はウィキの[[Special:MyLanguage/$wgContentNamespaces|コンテンツ ページ]]の大部分を含みます。この名前空間は全体としてみると特別な性質はありません。
+
この名前空間にはコロンで区切られた接頭辞がありません。一般に「標準名前空間」または「メイン空間」と呼ばれます。典型的にはこの名前空間にはウィキの{{mediawiki|$wgContentNamespaces|内容ページ}}の大半が含まれます。この名前空間には特別な性質はありません。
  
====トーク (会話)====
+
===={{ns:1}}====
  
 
「トーク」名前空間はメイン空間に付属する議論の名前空間です。特別な性質はありません。
 
「トーク」名前空間はメイン空間に付属する議論の名前空間です。特別な性質はありません。
  
====利用者====
+
===={{ns:2}}====
  
 
個々の利用者は自分に対応するページを{{ns:2}}名前空間にもっています。このページは編集履歴、最近の更新ページなど、個別の利用者が同定されるときにはいつでもリンクされます。  
 
個々の利用者は自分に対応するページを{{ns:2}}名前空間にもっています。このページは編集履歴、最近の更新ページなど、個別の利用者が同定されるときにはいつでもリンクされます。  
  
This page, and subpages of it, can be used by users to record information about themselves or to test and draft new content.  Pages of the form "<tt style="whitespace:nowrap">{{ns:2}}:''UserName''/Foo'''.js'''</tt>" or "<tt style="whitespace:nowrap">{{ns:2}}:''UserName''/Foo'''.css'''</tt>" can only be edited by the user themselves or by [[Special:MyLanguage/Help:Sysops and permissions|administrators]].
+
This page, and subpages of it, can be used by users to record information about themselves or to test and draft new content.  Pages of the form "<tt style="whitespace:nowrap">{{ns:2}}:''UserName''/Foo'''.js'''</tt>" or "<tt style="whitespace:nowrap">{{ns:2}}:''UserName''/Foo'''.css'''</tt>" can only be edited by the user themselves or by [[Help:Sysops and permissions|administrators]].
  
====利用者・トーク (利用者‐会話) ====
+
===={{ns:3}}====
  
This namespace is the talkspace associated with the {{ns:2}} namespace. Pages in this namespace are mainly used to leave messages for particular users or inform them of discussions that may be of interest to them. To facilitate this, when a page  [[{{ns:3}}:UserName]] is edited, whenever the user "UserName" loads a page, a notice is displayed at the top of the page informing them of the edit:
+
利用者のページ上で議論をするためのページでメッセージを残すことが出来ます。このページが編集されると、利用者が次にログインするときに新しいメッセージがある事を通知するボックスが表示されます。
  
<div class="usermessage plainlinks">
+
<div class="usermessage plainlinks">You have [[{{ns:3}}:UserName|<span style="color:#002bb8">{{MediaWiki:newmessageslink}}</span>]] ([{{fullurl:{{ns:3}}:UserName|diff=cur}} <span style="color:#002bb8">{{MediaWiki:newmessagesdifflink}}</span>]).</div>
{{int:youhavenewmessagesfromusers
 
| [[{{ns:3}}:UserName|<span style="color:#002bb8">{{int:newmessageslinkplural|1}}</span>]]
 
| [{{fullurl:{{ns:3}}:UserName|diff=cur}} <span style="color:#002bb8">{{int:newmessagesdifflinkplural|1}}</span>]
 
|1}}
 
</div>
 
  
 
この通知は利用者が会話ページのメッセージを読むまで表示され続けます。
 
この通知は利用者が会話ページのメッセージを読むまで表示され続けます。
  
====プロジェクト====
+
===={{ns:4}}====
  
 
この名前空間は通常、そのウィキの運営や発展についてのメタ議論のために使われます。特別な性質はありません。
 
この名前空間は通常、そのウィキの運営や発展についてのメタ議論のために使われます。特別な性質はありません。
  
====プロジェクト・トーク====
+
===={{ns:5}}====
  
 
これは通常、対応するプロジェクトページに関する議論に使われるトーク名前空間です。特別な性質はありません。
 
これは通常、対応するプロジェクトページに関する議論に使われるトーク名前空間です。特別な性質はありません。
  
====ファイル====
+
===={{ns:6}}====
  
 
[[Image:Wiki.png|right]]
 
[[Image:Wiki.png|right]]
  
The {{ns:6}} namespace is used to store metadata for images, videos, sound files and other media accessed via the {{ns:-2}} namespace.  Each file has a corresponding page in the {{ns:6}} namespace, which is often used to hold licensing data.  Linking ''directly'' to a page in this namespace instead includes the media file inline in the page: <tt style="white-space:nowrap"><nowiki>[[</nowiki>{{ns:6}}<nowiki>:Wiki.png|right]]</nowiki></tt> produces the image to the right.  See [[Special:MyLanguage/Help:Images|Help:Images]] for more details of this link syntax.  
+
アップロードされたファイルの説明です。これらのページを直接作らないで下さい; ツールボックスにある[[special:upload|アップロードファイル]]をクリックしたときにこれらのページは作成されます。  
  
To create an [[Special:MyLanguage/Help:Links|internal link]] to the file page, you need to add a colon to the front of the namespace: <tt style="white-space:nowrap"><nowiki>[[:</nowiki>{{ns:6}}<nowiki>:Wiki.png|right]]</nowiki></tt> produces [[:{{ns:6}}:Wiki.png]].
+
To create an [[Help:Links|internal link]] to the file page, you need to add a colon to the front of the namespace: <tt style="white-space:nowrap"><nowiki>[[:</nowiki>{{ns:6}}<nowiki>:Wiki.png|right]]</nowiki></tt> produces [[:{{ns:6}}:Wiki.png]].
The standard MediaWiki installation has alias "Image" for {{ns:6}} namespace - See [[#ns-aliases|Namespace aliases]].  
+
The standard MediaWiki installation has alias "Image" for {{ns:6}} namespace - See [[Help:Namespaces#Namespace aliases|Namespace aliases]].  
  
For linking media files directly, bypassing the description page, see [[#ns-media|Media namespace]].
+
For linking media files directly, bypassing the description page, see [[#Media|Media namespace]].
  
====ファイル・トーク (ファイル‐ノート)====
+
===={{ns:7}}====
  
これは通常、対応するメディア ファイルに関する議論に使用されるトーク名前空間です。特別な性質はありません。
+
This is a talk namespace that is normally used for discussions related to the associated media files.  It has no special properties.
  
====MediaWiki====
+
===={{ns:8}}====
  
The MediaWiki namespace is used to hold system messages and other important content. For instance, the page [[{{ns:8}}:Edit]] (or [[{{ns:8}}:Vector-view-edit]] in the default "Vector" skin) contains the text that fills the "{{int:Edit}}" tab at the top of every page.  If that page exists, it overrides the default content, which is "Edit". Similarly, [[{{ns:8}}:Common.css]] is the system message that holds the [[wikipedia:Cascading Style Sheets|CSS]] code that is loaded for all users for each page. It has the special property that the entire namespace is fully protected and can only be edited by administrators.
+
デフォルトのシステムシステムメッセージを変更するために名前空間を使用します。[[meta:Help:System_message|meta上のHelp:System messageもご覧下さい]]
  
====MediaWiki・トーク (MediaWiki‐ノート)====
+
===={{ns:9}}====
  
これは通常、対応するシステム メッセージに関する議論に使用されるトーク名前空間です。特別な性質はありません。
+
This is a talk namespace that is normally used for discussions related to the associated system messages.  It has no special properties.
  
====テンプレート====
+
===={{ns:10}}====
  
The {{ns:10}} namespace is used to hold [[Special:MyLanguage/Help:Templates|templates]], blocks of text or wikicode that are intended to be transcluded into several other pages.  To facilitate this it has the special property that it is the ''default'' namespace for transclusions: the wikicode <tt style="white-space:nowrap"><nowiki>{{Foo}}</nowiki></tt> is equivalent to <tt style="white-space:nowrap"><nowiki>{{</nowiki>'''{{ns:10}}:'''<nowiki>Foo}}</nowiki></tt>.
+
文書の状態を明らかにするタグなど、複数の文書に読み込まれるメタ情報のために使用されます。
  
====テンプレート・トーク (Template‐ノート)====
+
===={{ns:11}}====
  
これは通常、対応するテンプレート ページに関する議論に使用されるトーク名前空間です。特別な性質はありません。
+
This is a talk namespace that is normally used for discussions related to the associated template pages.  It has no special properties.
  
====ヘルプ====
+
===={{ns:12}}====
  
 
{{ns:12}}名前空間は通常、ヘルプファイル、説明書、使い方に関する文書などをおくために使われます。特別な性質はありません。
 
{{ns:12}}名前空間は通常、ヘルプファイル、説明書、使い方に関する文書などをおくために使われます。特別な性質はありません。
  
====ヘルプ・トーク (Help‐ノート)====
+
===={{ns:13}}====
  
これは通常、対応するヘルプ ページに関する議論に使用されるトーク名前空間です。特別な性質はありません。
+
This is a talk namespace that is normally used for discussions related to the associated help pages.  It has no special properties.
  
====カテゴリ====
+
===={{ns:14}}====
  
The {{ns:14}} namespace contains [[Special:MyLanguage/Help:Categories|categories]], dynamic lists of other pages.  To facilitate this, linking ''directly'' to a category page does not output an inline link, but instead includes the page into the associated category page.  So the code <tt style="white-space:nowrap"><nowiki>[[</nowiki>{{ns:14}}<nowiki>:Help]]</nowiki></tt> causes a category link to appear at the bottom of the page (at the bottom in the box marked "{{int:Pagecategories}}"). Clicking on that link takes you to the category page, where this page is visible in the category list.   
+
The {{ns:14}} namespace contains [[Help:Categories|categories]], dynamic lists of other pages.  To facilitate this, linking ''directly'' to a category page does not output an inline link, but instead includes the page into the associated category page.  So the code <tt style="white-space:nowrap"><nowiki>[[</nowiki>{{ns:14}}<nowiki>:Help]]</nowiki></tt> causes a category link to appear at the bottom of the page (at the bottom in the box marked "{{MediaWiki:Pagecategories}}"). Clicking on that link takes you to the category page, where this page is visible in the category list.   
  
To create an inline link to a category page, you need to add a colon to the front of the namespace: <tt style="white-space:nowrap"><nowiki>[[:</nowiki>{{ns:14}}<nowiki>:Help]]</nowiki></tt> produces [[:{{ns:14}}:Help]]. See [[Special:MyLanguage/Help:Categories|Help:Categories]] for more details on category link syntax.
+
To create an inline link to a category page, you need to add a colon to the front of the namespace: <tt style="white-space:nowrap"><nowiki>[[:</nowiki>{{ns:14}}<nowiki>:Help]]</nowiki></tt> produces [[:{{ns:14}}:Help]]. See [[Help:Categories]] for more details on category link syntax.
  
====カテゴリ・トーク (Category‐ノート)====
+
===={{ns:15}}====
  
これは通常、対応するカテゴリ ページに関する議論に使用されるトーク名前空間です。特別な性質はありません。
+
This is a talk namespace that is normally used for discussions related to the associated category pages.  It has no special properties.
  
 
==地域化==
 
==地域化==
116行目: 110行目:
 
!{{hl2}}|ローカル名
 
!{{hl2}}|ローカル名
 
|-
 
|-
| Media          || メディア         
+
| Media          || {{ns:-2}}
 
|-
 
|-
| Special        || 特別       
+
| Special        || {{ns:-1}}
 
|-
 
|-
 
|(Main)          || {{ns:0}}
 
|(Main)          || {{ns:0}}
 
|-
 
|-
| Talk          || トーク         
+
| Talk          || {{ns:1}}
 
|-
 
|-
| User          || 利用者         
+
| User          || {{ns:2}}
 
|-
 
|-
| User talk      || 利用者・トーク 
+
| User talk      || {{ns:3}}
 
|-
 
|-
| Project        || プロジェクト       
+
| Project        || {{ns:4}}
 
|-
 
|-
| Project talk  || プロジェクト・トーク
+
| Project talk  || {{ns:5}}
 
|-
 
|-
| File          || ファイル         
+
| File          || {{ns:6}}
 
|-
 
|-
| File talk      || ファイル・トーク 
+
| File talk      || {{ns:7}}
 
|-
 
|-
| MediaWiki      || MediaWiki     
+
| MediaWiki      || {{ns:8}}
 
|-
 
|-
| MediaWiki talk || MediaWiki・トーク
+
| MediaWiki talk || {{ns:9}}
 
|-
 
|-
| Template      || テンプレート     
+
| Template      || {{ns:10}}
 
|-
 
|-
| Template talk  || テンプレート・トーク
+
| Template talk  || {{ns:11}}
 
|-
 
|-
| Help          || ヘルプ         
+
| Help          || {{ns:12}}
 
|-
 
|-
| Help talk      || ヘルプ・トーク
+
| Help talk      || {{ns:13}}
 
|-
 
|-
| Category      || カテゴリ     
+
| Category      || {{ns:14}}
 
|-
 
|-
| Category talk  || カテゴリ・トーク
+
| Category talk  || {{ns:15}}
 
|}
 
|}
  
Namespace names can be translated into languages other than English and individual namespaces can be renamed, as set by a wiki's system admins (using [[Namespace manager]].  These names are known as the 'localized' namespace names. However, all namespaces have a 'canonical name', the original English name which will work on any installation of MediaWiki. So linking to [[User:Foo]] will always locate the user page for the user foo, whether the wiki is in French (where the localized name would be [[:Utilisateur:Foo]]), Russian ([[:Участник:Foo]]), or Hindi ([[:सदस्य:Foo]]).  
+
Namespace names can be translated into languages other than English and individual namespaces can be renamed, as set by a wiki's system admins.  These names are known as the 'localized' namespace names. However, all namespaces have a 'canonical name', the original English name which will work on any installation of MediaWiki. So linking to [[User:Foo]] will always locate the user page for the user foo, whether the wiki is in French (where the localized name would be [[:Utilisateur:Foo]]), Russian ([[:Участник:Foo]]), or Hindi ([[:सदस्य:Foo]]).  
  
 
The canonical namespace names are given in the table to the right along with their localized names on this wiki.
 
The canonical namespace names are given in the table to the right along with their localized names on this wiki.
  
{{Anchor|ns-aliases}}
 
 
===名前空間の別名===
 
===名前空間の別名===
  
176行目: 169行目:
 
;マジック ワード
 
;マジック ワード
  
[[Special:MyLanguage/Help:Magic word|マジック ワード]] <tt><nowiki>{{NAMESPACE}}</nowiki></tt> は、ページが属する名前空間の値を返します。
+
The [[Help:Magic word|magic word]] <tt><nowiki>{{NAMESPACE}}</nowiki></tt> returns the value of the namespace the page is in.
  
 
;JavaScript
 
;JavaScript
203行目: 196行目:
 
;API
 
;API
  
You can get a complete list of all the namespaces used on this wiki and some settings for each from the MediaWiki [[API]]:
+
このウィキの API で使用できるすべての名前空間の完全な一覧はこちらにあります:
  
{{TNT|ApiEx
+
:http://www.mediawiki.org/w/api.php?action=query&meta=siteinfo&siprop=namespaces
| site=www.mediawiki.org
 
| p1=action=query
 
| p2=meta=siteinfo
 
| p3=siprop=namespaces
 
| p4=formatversion=2
 
}}
 
  
 
== 関連ページ ==
 
== 関連ページ ==
* {{ll|Manual:Namespace}}
+
 
* {{ll|Manual:Using custom namespaces}}
+
* {{mediawiki|Special:MyLanguage/Manual:Namespace}}
 +
* {{mediawiki|Special:MyLanguage/Manual:Using custom namespaces}}
  
 
[[Category:Help{{langcat|Namespaces}}|Namespaces]]
 
[[Category:Help{{langcat|Namespaces}}|Namespaces]]
 
[[Category:Namespace{{langcat|Namespaces}}|Namespaces]]
 
[[Category:Namespace{{langcat|Namespaces}}|Namespaces]]

ひつじ小屋別館2代目への投稿はすべて、他の投稿者によって編集、変更、除去される場合があります。 自分が書いたものが他の人に容赦なく編集されるのを望まない場合は、ここに投稿しないでください。
また、投稿するのは、自分で書いたものか、パブリック ドメインまたはそれに類するフリーな資料からの複製であることを約束してください(詳細はひつじ小屋別館2代目:著作権を参照)。 著作権保護されている作品は、許諾なしに投稿しないでください!

このページを編集するには、下記の確認用の質問に回答してください (詳細):

取り消し | 編集の仕方 (新しいウィンドウで開きます)