Help:Managing files
From STIQ
| Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. |
If file uploads are enabled, you can upload certain types of files to the wiki. This is particularly useful for uploading images, which you want to place on an article, but you can also upload other types of file.
Contents |
Upload a file
- Prepare the file for upload. Make sure the file is exactly as you want it. Think about how big the file is.
- In the sidebar, under toolbox, click "Upload file"
- Next to the Source filename, click Browse to locate the file on your computer.
- Change the Destination filename to something descriptive, if necessary.
- Fill in the Summary, if necessary.
- Click the Upload file button.
If it is a large file, you may need to wait several seconds for the upload to complete.
Using Images and Image Description Pages
After you've uploaded a file, you can use it an article, with some special wiki syntax to create the link. See Help:Images.
Your file gets its very own 'Image Description Page' within the wiki (even if it isn't an image). You should edit this page to provide more information about the file. For example, many wiki projects are quite sensitive to copyright issues, and so you should explain where you got the file from, and what its copyright status is, on the description page. Any other useful descriptive notes could also be added there.
Listing files in the wiki
There are a number Special Pages to help you view and manage files which have been uploaded. Go to 'Special Pages' (in the toolbox on the left) and then see...
- Gallery of new images - If you just uploaded one, you will see it here.
- File list shows all of the files
- Unused images helps you track down files which might not be needed.
See Help:Special pages for details of the other information available here.
>== Template ==
<onlyinclude><div class="LanguageLinks">
<table width="100%">
<tr valign="top" style="background: #EEF3E2">
<td style="width: 25px; padding-left: 0.5em;">
</td>
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">Languages: </td><td style="padding: 1px 1em 0; background: #F6F9ED;">
English
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/ar | • {{#if: Help:Managing files|العربية| العربية}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/br | • {{#if: Help:Managing files|Brezhoneg| Brezhoneg}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/ca | • {{#if: Help:Managing files|Català| Català}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/cs | • {{#if: Help:Managing files|Česky| Česky}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/de | • {{#if: Help:Managing files|Deutsch| Deutsch}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/el | • {{#if: Help:Managing files|Ελληνικά| Ελληνικά}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/es | • {{#if: Help:Managing files|Español| Español}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/fa | • {{#if: Help:Managing files|فارسی| فارسی}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/fi | • {{#if: Help:Managing files|Suomi| Suomi}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/fr | • {{#if: Help:Managing files|Français| Français}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/he | • {{#if: Help:Managing files|עברית| עברית}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/hu | • {{#if: Help:Managing files|Magyar| Magyar}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/id | • {{#if: Help:Managing files|Bahasa Indonesia| Bahasa Indonesia}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/it | • {{#if: Help:Managing files|Italiano| Italiano}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/ja | • {{#if: Help:Managing files|日本語| 日本語}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/ko | • {{#if: Help:Managing files|한국어| 한국어}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/mr | • {{#if: Help:Managing files|मराठी| मराठी}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/nl | • {{#if: Help:Managing files|Nederlands| Nederlands}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/no | • {{#if: Help:Managing files|Norsk (bokmål)| Norsk (bokmål)}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/oc | • {{#if: Help:Managing files|Occitan| Occitan}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/pl | • {{#if: Help:Managing files|Polski| Polski}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/pt | • {{#if: Help:Managing files|Português| Português}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/ro | • {{#if: Help:Managing files|Română| Română}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/ru | • {{#if: Help:Managing files|Русский| Русский}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/sq | • {{#if: Help:Managing files|Shqip| Shqip}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/sr | • {{#if: Help:Managing files|Српски / Srpski| Српски / Srpski}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/sv | • {{#if: Help:Managing files|Svenska| Svenska}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/th | • {{#if: Help:Managing files|ไทย| ไทย}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/vi | • {{#if: Help:Managing files|Tiếng Việt| Tiếng Việt}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/yue | • {{#if: Help:Managing files|粵語| 粵語}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/zh | • {{#if: Help:Managing files|中文| 中文}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/zh-hans | • {{#if: Help:Managing files|中文(简体)| 中文(简体)}}|}}
{{#ifexist: {{#if: Help:Managing files | Help:Managing files | {{#if: Help | Help:}}Managing files}}/zh-hant | • {{#if: Help:Managing files|中文(繁體)| 中文(繁體)}}|}}
</td></tr></table></div></onlyinclude>
Syntax
{{{Languages|PageName}}}
- PageName (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on MediaWiki/fr you would need to use
{{{Languages|MediaWiki}}}and not{{{Languages|MediaWiki/fr}}}).
Usage
The template should only be placed on pages that exist in more than one language, and it should be placed in the same location on each translation of the page.
The English version of a page is always the main version, with all other languages as sub-pages, named using the appropriate language code (see below).
For example, on the Main Page you would include the text {{{Languages}}}, both on Main Page itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. Main Page/ja<tt>, <tt>Main Page/fr, and ignores non-existant languages.
See Project:Language policy for further details about translating pages.
Supported languages
This shows you the name of each language's sub-page (using Main Page as an example). Other languages may be added easily as necessary. Please use the appropriate prefix, as used on Wikipedia when adding a new language. Please do not add languages for which no pages exist yet, as this will increase the time needed to include the template without adding any benefit (languages are only displayed to the user when the relevant page exists).
The link on the language names goes to the Wikipedia in that language. If no Wikipedia in your language exists, do not add pages in that language to MediaWiki.org! This wiki is not the place for language advocacy - please go through the correct channels, and once your language has a Wikipedia then please return to add content here.
| Page Name | Language |
|---|---|
| Main Page | English |
| Main Page/ar | Arabic |
| Main Page/br | Breton |
| Main Page/ca | Catalan |
| Main Page/cs | Czech |
| Main Page/de | German |
| Main Page/el | Greek |
| Main Page/es | Spanish |
| Main Page/fa | Persian |
| Main Page/fi | Finnish |
| Main Page/fr | French |
| Main Page/he | Hebrew |
| Main Page/hu | Hungarian |
| Main Page/id | Indonesian |
| Main Page/it | Italian |
| Main Page/ja | Japanese |
| Main Page/ko | Korean |
| Main Page/mr | Marathi |
| Main Page/nl | Nederlands |
| Main Page/no | Norwegian |
| Main Page/oc | Occitan |
| Main Page/pl | Polish |
| Main Page/pt | Portugese |
| Main Page/ro | Romanian |
| Main Page/ru | Russian |
| Main Page/sq | Albanian |
| Main Page/sr | Serbian |
| Main Page/sv | Swedish |
| Main Page/th | Thai |
| Main Page/vi | Vietnamese |
| Main Page/yue | Cantonese |
| Main Page/zh | Chinese |
| Main Page/zh-hans | Chinese (Simplified) |
| Main Page/zh-hant | Chinese (Traditional) |
Example
Here is how the language bar looks on the MediaWiki page: Languages
