Jump to content

Nápověda:Práce se soubory

From mediawiki.org
This page is a translated version of the page Help:Managing files and the translation is 52% complete.
PD Poznámka: Úpravou této stránky souhlasíte s uvolněním vašeho příspěvku pod licencí CC0. Více informací získáte na stránce nápovědy veřejné domény. PD

Do wiki lze vkládat i vybrané typy souborů. Hodí se to především pro obrázky, kterými pak můžete ilustrovat stránky, ale je možné načítat i jiné typy souborů. Aby to bylo možné, musíte povolit nahrávání souborů.

Načtení souboru

  1. Připravte si soubor na vašem počítači v jeho finální verzi. Především se ujistěte, že jde o soubor, který opravdu chcete načíst.
  2. Na postraním panelu, mezi "nástroje", klikněte na volbu "Načíst soubor".
  3. V otevřeném formuláři u políčka "Jméno zdrojového souboru:", je tlačítko "Vybrat..."; Klikněte na něj a otevře se vám dialog pro načtení souboru z vašeho lokálního disku. (Popisek tlačítka se může lišit, závisí na použitém webovém prohlížeči).
  4. Do políčka "Cílové jméno:" se vám vloží aktuální jméno souboru, které však můžete změnit.
  5. Do pole "Popis" uveďte odkud soubor pochází, co obsahuje a případně kategorii, do které jej chcete zařadit.
  6. Kliknutím na tlačítko "Načíst soubor" provedete vlastní načtení.

Je-li soubor velký, tak může trvat i několik sekund, než bude jeho přenos na server dokončen.

Stránka s popisem souboru

Při načtení se pro soubor založí ve wiki samostatná "stránka s jeho popisem". Její jméno bude tvořit File : následované vámi zvoleným názvem souboru. Tuto stránku můžete upravit a poskytnout další informace o souboru. Například mnoho veřejných wiki projektů je poměrně citlivých na problémy s autorskými právy, a proto byste měli na stránce s popisem vysvětlit, odkud jste soubor získali a jaký je jeho stav autorských práv. Mohou tam být přidány i další užitečné popisné poznámky.

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.

Použití souboru

Po načtení nového souboru, nedojde automaticky k jeho vložení na stránku -- a vůbec při tom nezáleží na jaké stránce jste byli, když jste kliknuli na "Načíst soubor". Je pouze na vás, abyste se rozhodli, na jaké wiki stránce se bude zobrazovat.

Můžete na stránku přidávat klidně další a další obrázky. Například můžete nahrát fotku k popisu nějaké osoby a umístit tak, aby se na stránce zobrazovala vedle textu o dané osobě. Pro další informace jak vkládat obrázky viz Nápověda:Obrázky .

Některé soubory mohou být typu, který na stránku nelze vložit jako obrázek (například tabulky z tabulkového procesoru – pokud vaše wiki vůbec umožňuje takové typy souborů nahrát). Nebo soubor může být obrázek, tak velký, že ho lze použít pouze na samostatné stránce (například velmi detailní mapa). Nebo možná budete jednoduše chtít pouze uvést odkaz na stránku, kde si bude moci někdo jiný soubor stáhnout nebo nahradit aktualizovanou verzí. V každém z uvedených případů nebudete chtít soubor vložit na stránku; spokojíte se pouze s tím, aby byl na stránce pouze odkaz na stránku s popisem souboru (nebo na samotný soubor). Jak odkazovat na soubory, viz Help:Linking to files .

Seznam souborů ve wiki

Ve wiki je k dispozici několik speciálních stránek, které pomáhají prohlížet a spravovat načtené soubory. Přejdete-li na "Speciální stránky" (položka v nástroje nalevo), pak uvidíte...

Pro podrobnosti o dalších speciálních stránkách pro práci se soubory sledujte Nápověda:Speciální stránky .

Související stránky

Mohou tam být přidány i další užitečné popisné poznámky.