Help:Files: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
 
CSV import
Line 1: Line 1:
[[file:''descriptive_terms''|thumb|''descriptive terms'']] [[file:CI_2011_swim_04_jeh.theora.ogv"_will_appear_in_the_search_results_for_|thumb|CI 2011 swim 04 jeh.theora.ogv" will appear in the search results for |left]] [[file:swim_video}}}}.|thumb| swim video}}}}.]] [[file:'''''pagename''|thumb|'''''pagename''|left]] [[file:'''''pagename''|thumb|'''''pagename'']] [[file:'''_in_wikilinks_or_in_the_search_box,_but_"image"_will_now_refer_to_more_types_of_data_files_than_just_images.|thumb|''' in wikilinks or in the search box, but "image" will now refer to more types of data files than just images.]] == Help:Files ==
[[File:, including data files for  [[File:''descriptive terms''.|thumb]] [[File:CI 2011 swim 04 jeh.theora.ogv" will appear in the search results for [[File: swim video|thumb]] [[File:'''''pagename''|thumb]] [[File:'''''pagename''|thumb]] Help:Files


[[Files]] are an essential part of the [[MediaWiki]] software, allowing users to upload and use images, audio, video, and other types of files within [[MediaWiki]] pages. This guide provides an overview of how to upload, manage, and use files in [[MediaWiki]].
In the context of a MediaWiki environment, files are an essential component that allows users to upload, manage, and display various types of media content within the wiki pages. This article provides a comprehensive guide on how to handle files in MediaWiki, including uploading, linking, and managing them effectively.


=== Uploading Files ===
== Uploading Files ==
To upload a file, you need to have the appropriate [[user rights]]. If you have the necessary permissions, you can upload a file by clicking on the "Upload file" link in the [[sidebar]] or by navigating to [[Special:Upload]]. On the upload page, you can choose a file from your local computer, provide a description, and specify a destination filename.


=== File Description Page ===
To upload a file in MediaWiki, users typically need to have the appropriate permissions. The process involves the following steps:
Once a file is uploaded, it gets its own [[File description page]]. This page includes the file's metadata, such as the upload date, the user who uploaded it, and any descriptive text provided during the upload. You can edit this page to add more information, categorize the file, or provide additional context.


=== Using Files ===
1. '''Access the Upload Page''': Navigate to the "Upload file" link, usually found in the sidebar under "Tools". This link directs you to the Special:Upload page.
To use a file in a [[MediaWiki]] page, you can use the [[File syntax]]. For example, to display an image, you can use the following syntax:
<nowiki>[[File:Example.jpg|thumb|Caption text]]</nowiki>
This will display the image with a thumbnail and a caption. You can also specify the size, alignment, and other parameters.


=== File Management ===
2. '''Choose a File''': On the upload page, click the "Choose file" button to select a file from your local device. MediaWiki supports a variety of file types, including images, audio, and video files.
[[MediaWiki]] provides several tools for managing files. You can view a list of all uploaded files on the [[Special:ListFiles]] page. Additionally, you can use the [[Special:UnusedFiles]] page to find files that are not currently used on any pages, and the [[Special:OrphanedFiles]] page to find files that are not linked from any other pages.


=== File Types ===
3. '''File Description''': Provide a meaningful description for the file. This description should include relevant information such as the source, author, and any applicable licensing information.
[[MediaWiki]] supports a variety of file types, including images (e.g., [[JPEG]], [[PNG]], [[GIF]]), audio (e.g., [[OGG]], [[MP3]]), and video (e.g., [[WebM]], [[MP4]]). The supported file types can be configured by the site administrators.


=== Licensing and Copyright ===
4. '''Destination Filename''': Specify a destination filename. By default, this is the same as the original filename, but it can be changed to better suit the wiki's naming conventions.
When uploading files, it is important to consider [[copyright]] and [[licensing]]. Many wikis require that files be uploaded with a specific license, such as [[Creative Commons]] or [[GNU Free Documentation License]]. Be sure to provide appropriate attribution and licensing information on the file description page.
 
5. '''Upload''': Click the "Upload file" button to complete the process. If the upload is successful, the file will be stored in the wiki's file repository.
 
== Linking to Files ==
 
Once a file is uploaded, it can be linked or embedded in wiki pages. There are several ways to do this:
 
* '''Linking to a File''': To create a link to a file, use the following syntax:
  ```
  [[Media:Filename.ext]]
  ```
  This creates a direct link to the file, allowing users to download it.
 
* '''Embedding an Image''': To embed an image file within a page, use the following syntax:
  ```
  [[File:Filename.ext|thumb|Caption text]]
  ```
  This displays the image with a thumbnail and an optional caption.
 
* '''Embedding Other Media''': For audio or video files, use similar syntax to embed the media player directly in the page.
 
== Managing Files ==
 
MediaWiki provides several tools for managing files:
 
* '''File Description Page''': Each uploaded file has a description page that includes metadata, usage statistics, and a history of changes. This page can be accessed by clicking on the file link.
 
* '''File Versions''': MediaWiki supports versioning of files. Users can upload new versions of a file, and previous versions are retained for reference.
 
* '''Deleting Files''': Only users with the appropriate permissions can delete files. This is done through the file description page.
 
== File Usage and Licensing ==
 
Proper licensing and attribution are crucial when uploading files to a MediaWiki site. Users should ensure that they have the right to use and distribute the file and that they provide appropriate credit to the original creator.
 
== Also see ==


=== Related Pages ===
* [[Help:Images]]
* [[Help:Images]]
* [[Help:Media]]
* [[Help:Managing files]]
* [[Help:Managing files]]
* [[Help:Uploading files]]
* [[Help:Upload]]
* [[Help:File page]]
* [[Help:ListFiles]]
* [[Help:OrphanedFiles]]
* [[Help:UnusedFiles]]


{{Help navigation}}
{{Help}}
{{medicine-stub}}


[[Category:MediaWiki help]]
[[Category:MediaWiki Help]]
[[Category:Files]]

Revision as of 15:49, 9 December 2024

[[File:, including data files for

File:descriptive terms.

[[File:CI 2011 swim 04 jeh.theora.ogv" will appear in the search results for

File:Swim video
File:pagename
File:pagename

Help:Files

In the context of a MediaWiki environment, files are an essential component that allows users to upload, manage, and display various types of media content within the wiki pages. This article provides a comprehensive guide on how to handle files in MediaWiki, including uploading, linking, and managing them effectively.

Uploading Files

To upload a file in MediaWiki, users typically need to have the appropriate permissions. The process involves the following steps:

1. Access the Upload Page: Navigate to the "Upload file" link, usually found in the sidebar under "Tools". This link directs you to the Special:Upload page.

2. Choose a File: On the upload page, click the "Choose file" button to select a file from your local device. MediaWiki supports a variety of file types, including images, audio, and video files.

3. File Description: Provide a meaningful description for the file. This description should include relevant information such as the source, author, and any applicable licensing information.

4. Destination Filename: Specify a destination filename. By default, this is the same as the original filename, but it can be changed to better suit the wiki's naming conventions.

5. Upload: Click the "Upload file" button to complete the process. If the upload is successful, the file will be stored in the wiki's file repository.

Linking to Files

Once a file is uploaded, it can be linked or embedded in wiki pages. There are several ways to do this:

  • Linking to a File: To create a link to a file, use the following syntax:
 ```
 Media:Filename.ext
 ```
 This creates a direct link to the file, allowing users to download it.
  • Embedding an Image: To embed an image file within a page, use the following syntax:
 ```
File:Filename.ext
Caption text
 ```
 This displays the image with a thumbnail and an optional caption.
  • Embedding Other Media: For audio or video files, use similar syntax to embed the media player directly in the page.

Managing Files

MediaWiki provides several tools for managing files:

  • File Description Page: Each uploaded file has a description page that includes metadata, usage statistics, and a history of changes. This page can be accessed by clicking on the file link.
  • File Versions: MediaWiki supports versioning of files. Users can upload new versions of a file, and previous versions are retained for reference.
  • Deleting Files: Only users with the appropriate permissions can delete files. This is done through the file description page.

File Usage and Licensing

Proper licensing and attribution are crucial when uploading files to a MediaWiki site. Users should ensure that they have the right to use and distribute the file and that they provide appropriate credit to the original creator.

Also see

  • For help with this template, please post a comment on the template talk page with a {{reply to}} one or more of the == History of Files ==

.