Jump to content

Help:ファイルの管理

From mediawiki.org
This page is a translated version of the page Help:Managing files and the translation is 52% complete.
PD 注意: このページを編集すると、編集内容が CC0 のもとで公開されることに同意したと見なされます。詳細はパブリック・ドメインのヘルプ ページを参照してください。 PD

ファイルアップロードが有効な場合、決まったタイプのファイルをウィキにアップロードできます。この機能はページ内に表示させたい画像をアップロードするのに特に便利ですが、画像以外のファイルもアップロードできます。 この機能を有効にするには、ファイルのアップロードの設定が必要な場合があります。

ファイルのアップロード

  1. アップロードするファイルを準備します。ファイルの内容がアップロードしようと思っているものか確認してください。
  2. サイドバーの「ツール」にある「ファイルをアップロード」をクリックします。
  3. アップロード元のファイル名:」の隣にある「ファイルを選択」をクリックして、あなたのコンピューター上のファイルを指定します(「ファイルを選択」のボタン名はお使いのウェブブラウザーによって異なることがあります)
  4. 必要に応じて、「登録するファイル名:」をファイルの内容を具体的に表すようなものに変えます。
  5. 概要」の欄を必要に応じて埋めます。
  6. ファイルをアップロード」ボタンをクリックしてください。

大きなファイルの場合、アップロードが完了するまでにしばらくかかることがあります。

ファイル解説ページ

各ファイルは、Wiki上で独自の「ファイル説明ページ」を取得します。 ページ名はFile :の後に指定した宛先ファイル名が続きます。 このページを編集して、ファイルに関する詳細情報を提供できます。 たとえば、多くの公開wikiプロジェクトは著作権の問題に非常に敏感であるため、ファイルの入手元の説明ページとその著作権の状態について説明する必要があります。 他の有用な説明メモもそこに追加できます。

Viewing the file description page shows:

  1. Displayed image - The uploaded image or file is displayed here. Just below the image, the image reesolution size is specified, an option to view the image as a full preview is also available.
  2. Content - The wikitext of the image page itself is rendered here, between the image and the file history.
  3. File history - This includes the date and time the image was uploaded. When a new version of the image is uploaded, you can view the history of the previous image.
  4. File usage - This outlines the pages in the wiki where the image was referenced.
  5. Global file usage - On Wikimedia Commons (or other wikis using the GlobalUsage extension), there is a separate section for usage of the image on other wikis.
  6. Metadata - This outlines any metadata displayed in the image. Metadata is normally added from the device where the image originated from.

Shared description pages

If the image comes from another wiki, then the content of the local description page is concatenated with the description page on the shared wiki, with an additional message announcing the file is shared. This is MediaWiki:Sharedupload, and appears on this wiki as:


Wikimedia Commons Logo This is a file from the Wikimedia Commons. The description on its description page there is copied below.

Any categories the image page on the source wiki is in are ignored, and any links it has still point to the source wiki rather than the wiki the image is rendered on.

Editing a description page

When you edit a description page, you're editing the page's content, not the image itself. The edit history tracks changes to the page's content (text, descriptions), not the image file. Image history records updates to the image itself, like new uploads, and it is displayed in the "File history" section of the page.

When previewing edits, the preview shows only text changes, not the image, its history, or links.

To change an image, go to the "File history" section and upload a new file. You can't modify the image through the edit page.

Categorizing images

If an image page is added to a category, the image is added to the category normally. Images appear in categories in their own section, complete with thumbnails and names, and they don't count toward the total number of pages in that category. This setup makes it easier to view and manage images independently of articles, without cluttering the main category. To categorize a new image, you don't need to edit the page—just add the category tag in the upload summary, and it will automatically be included in the correct category.

Protection

When protecting a file description page, there is a separate option to protect the page against uploads. If an image is used on a page with cascading protection enabled, the protection applies to both editing the page content and to uploading new versions.

ファイルの使用

新しいファイルをアップロードした後、そのファイルはどのページにも自動的に表示されません。「ファイルをアップロード」リンクをクリックしたときに表示されていたページでも表示されません。 表示するウィキのページを決定する必要があります。

ページには、画像や他のイメージを埋め込めます。 例えば、ある人物の写真をアップロードし、その写真をその人物に関するページのテキストと一緒に表示したい場合があります。 画像を埋め込む方法の情報は、Help:画像 を参照してください。

一部のファイルは、ページに埋め込むことができないタイプのものかもしれません (例えば、スプレッドシートなど)。ただし、ウィキがそのようなファイル種類のアップロードを許可している場合です。 また、ファイルが非常に大きい画像の場合、それ自体のページでのみ有用な場合もあります (例えば、詳細な地図など)。 また、読者にファイルのダウンロードや置換の方法を案内したい場合もあります。 これらの場合、ファイルを別のページに埋め込む必要はありません。単にページにファイルの説明ページへのリンク (またはファイルそのものへのリンク) を配置したいだけです。 ファイルにリンクする方法の情報は、Help:ファイルへのリンク を参照してください。

ウィキ内のファイルの列挙

アップロードされたファイルの閲覧と管理を手助けするいくつかの特別ページがあります。「特別ページ」にいって次のページなどを見てください (左の「ツール」からアクセスできます)

特別ページで利用できる他の情報については Help:特別ページ を参照してください。

関連項目

  • Attachments 拡張機能を使用すると、ファイルをページに添付できます。