Commons:File naming

This page is a translated version of a page Commons:File naming and the translation is 33% complete. Changes to the translation template, respectively the source language can be submitted through Commons:File naming and have to be approved by a translation administrator.
Outdated translations are marked like this.

Shortcut : COM:FN

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Esperanto • ‎Lëtzebuergesch • ‎Tiếng Việt • ‎dansk • ‎español • ‎français • ‎galego • ‎magyar • ‎polski • ‎português • ‎čeština • ‎Ελληνικά • ‎русский • ‎українська • ‎العربية • ‎فارسی • ‎বাংলা • ‎中文 • ‎日本語 • ‎한국어

Os arquivos subidos a Wikimedia Commons deben ter un nome apropiado. Abaixo hai algunhas consideracións para ter en conta.

For detailed file and category naming conventions see the English Wikipedia's Category: Wikipedia naming conventions.

Nomeando

Os nomes deben ser

  • descriptivos, elixaos de acordo co que a imaxe amosa ou o contido do arquivo
  • preciso, especialmente onde nomes de científicos, substantivos adecuados, datas, etc úseas

Os nomes non deben ser

  • pexorativos, ofensivos ou innecesariamente crueis, tales como ser inapropiados na descrición do artigo

Lingua, xogos de caracteres e extensión

  • Arquivos media poden ser subidos con nomes en calquera linguaxe con calquera script (codificados coma UTF-8) - vexa Commons:Language policy.
  • Os títulos dos arquivos media deben ter significados e útiles nas linguaxes elexidas.
  • Evita símbolos "simpáticos" (caracteres de control, puntuacións innecesarias, etc) que deben ser significativos no futuro das marcaxes wiki. É boa idea seguir graphemic caracteres, números, guións baixos (espaciado), ASCII hyphen/minus/dash, plus, e periodos (puntos)
  • O filename extension (eg .jpg) marcará o file format (eg JPEG).
  • Cando o ano, data ou versión pode ser importante, é bo incluir no nome do arquivo.

Sobrescribir arquivos vellos

  • Except for minor technical corrections, files should be uploaded under new names. The file name applies to one concrete work: do not overwrite it even with a similar image of the same subject. See Commons:Overwriting existing files.

Length

  • File names may be up to 240 bytes long[1], a filename over 240 bytes may break horribly when uploading a new version (As the date is prefixed to the filename for old versions of the file which takes 15 bytes). English filenames will usually use 1 byte per character (some symbols may fall outside the ASCII character set), but for other languages, or cases with non-ASCII characters, 240 bytes may be much less than 240 characters, as these can take up to 4 bytes per character.[2]
    • Tip: Keeping the filename reasonably short reduces need for truncation when the file is downloaded, e.g. on CDs filenames are limited to 31, 64, 197 or 207 bytes or characters, depending on extensions used.
    • Tip: Use the 20 first characters for essential information, as those will show up on category pages.

Renaming

  • Files can be renamed after they have been created, but only under some circumstances, as this breaks inbound links. It is therefore important that a good name is chosen when the file is uploaded. See Commons:File renaming.

See also

References

  1. The limit was 255 bytes until late 2011 – see Phabricator: T32202. Existing filenames may be up to 255 bytes, but new uploads are restricted to 240.
  2. Phabricator: T32202