Commons:Sobreescriure fitxers existents

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Commons:Overwriting existing files and the translation is 32% complete. Changes to the translation template, respectively the source language can be submitted through Commons:Overwriting existing files and have to be approved by a translation administrator.
Shortcuts

Aquesta directriu tracta sobre quan i com els usuaris haurien o no de sobreescriure els fitxers existents.[1] És necessària una guia sobre això perquè tant els projectes de Wikimedia utilitzen fitxers Commons com els usuaris externs que reutilitzin directament el contingut de Commons confiïn que els fitxers siguin raonablement estables. Com a resultat, la regla bàsica és que els fitxers existents no s'han de sobreescriure amb un contingut substancialment diferent, mentre que les millores menors haurien de sobreescriure la versió anterior (però vegeu més avall per a les excepcions). En cas de dubte o per resoldre conflictes entre usuaris, pugeu-lo com a fitxer nou.

After discussion in August 2012, this guideline was proposed and formally adopted as an RFC. As of September 2023, a further discussion concluded that many overwrites did not comply with this guideline, so it was decided that it should be strictly enforced in software by limiting overwrite privileges of images uploaded by other users to those with the autopatrol right. If you want to overwrite files initially uploaded by other users, please request the autopatrol right on COM:Requests for rights. If you are not eligible for this right, you may request an exception for a specific file.

Quan no sobreescriviu el fitxer existent, els canvis s'han de penjar amb un nom nou (idealment similar a l'antic) i la pàgina de descripció del fitxer hauria d'enllaçar-lo al fitxer original i donar-li crèdit als autors originals.

Sobreescriure

Millores menors

✓[OK] As a general rule, use the link "Upload a new version of this file" only for relatively minor improvements. Examples include:

  • replacement with higher-resolution versions of the same file, however, without using artificial methods to generate higher resolution
  • minor and uncontroversial color correction, noise reduction, perspective correction, etc.
  • removal of a watermark
  • needful 90/180/270° rotation or minor rotation correction of images that are not upright
  • minor cropping
  • uncontroversial corrections to diagrams, maps, or charts, if a more accurate version is available
  • correction of SVG errors
  • adding or correcting translations, fixing spelling errors (e.g. changing "grater" to "greater")

and similar things where the essential composition is not altered. This might include a minor crop, for example to remove a recently-added border (don't upload over with files that remove parts of historical images), but aggressive crops should usually be uploaded under a new name, such as "Old image name (crop).jpg".

Correction of minor errors will usually be considered a minor improvement. However, the more extensive the correction, the more likely that it is better to upload the corrected version as a new file (to avoid possible disagreements about whether the correction is appropriate, and potentially an upload war), and if necessary nominate the old file for deletion.

Note: a file with image annotations will lose those annotations if the pixel dimensions change – see Help:Image-Annotator#Limitations. This is not a reason to split a file when making minor improvements, as the annotations can be re-entered.

Exceptions

✘ If digital restoration work is being done on a historical document or artwork, the restoration (no matter how minor) should always be uploaded under a new filename from the original file, providing a link back to the source on which it was based in the new file's "other versions" field. The changes that were made should also be documented in sufficient detail to reproduce them, if possible. This is best practice for restorations, because it allows users and subsequent restorers to follow the chain of improvements and to make detailed comparison with the originals. (However, if a restoration already performed to a file, for example, missed a dust spot, it is not necessary to have a new file for each small change in the restoration.) In some cases such original files are marked with {{Please-do-not-overwrite-original-files}}.

The symbol for Featured Pictures

? Take care with files that have been awarded a special status like Featured Picture (or the equivalent on another Wikimedia project) as the status applies to a particular file version. Featured Pictures, Quality Images and Valued Images will be identified on their file description pages using {{Assessments}}. (NB the special Commons status does not transfer to derivative files.) The image creator may make minor changes where they feel this would be uncontroversial wrt the promotional status (for example, removing dust spots or fixing a minor tilt). Potentially controversial changes should be discussed with members of the forum that promoted the image.

✘ Files used in Wikimedia projects where the use requires the file to remain unchanged – which means no overwriting at all: not for updates, minor improvements, or error corrections. Comments (including pointing out errors, and pointing to other versions) may freely be made in the Commons file description, but the file itself should not be overwritten. If necessary, upload a new version as a separate file. Such files should be marked with {{Please-do-not-overwrite-permanent-version}}.

✘ Controversial or contested changes. If another editor thinks that the change is not an improvement (even if the editor making the change deems it minor), the change can be reverted, and the new image should be uploaded under a new file name. See below.

Respect content creators

The original image creator is often the best person to make edits. Since JPG is a lossy format, every edit to a JPG can deteriorate the image slightly; seemingly minor and "beneficial" edits such as changing white balance or adding noise reduction can actually do significant damage. Often the image creator has access to the RAW files from which to make a new version with whatever fix is required. This is always superior to editing the JPG. If it is a photograph, the image creator was there when the picture was taken so will be in a better position to judge whether colours and lighting are correct. Therefore it is strongly recommended that users wishing to make improvements to photographs first contact the creator, whether on Commons or elsewhere.

Unedited versions

✓[OK] Sometimes users uploading new files that have been edited (e.g. a photograph improved for colour, contrast, etc., compared to the raw photo) may wish to provide the original unedited version as well. Uploading these independently would needlessly clutter categories. The solution is to first upload the unedited version, and then shortly afterward to upload the edited version over it, so that the unedited version is available in the file history. The unedited versions are not intended to be used independently, and should not be split out as separate files unless this is needed for a specific known use. Files using this approach should be labelled with {{Unedited version}}.

Note: overwriting unedited versions applies only shortly after upload of the unedited version, and only to the original uploader when uploading an improved version of the same file. In all other cases, the usual criteria about overwriting (is it minor improvement?, etc.) apply. In addition, the usual rule about resolving disagreements applies: if another user feels it useful to split the file, it should be split.

Secondary images

✓[OK] Sometimes users may wish to provide an image related to their upload, which might fall outside the project scope as an independent file. Examples include images of labels related to the subject of the main image, or the reverse of a postcard as evidence of copyright status. The solution is to first upload the secondary image, and then shortly afterward to upload the main image over it, so that the secondary image is available in the file history. The secondary images are not intended to be used independently, and should not be split out as separate files unless this is needed for a specific known use. Files using this approach should be labelled with {{Secondary image}}. Note that secondary images are not exempt from the usual requirements of Commons:Licensing.

Note: overwriting secondary images applies only shortly after upload of the secondary image, and only to the original uploader. In all other cases, the usual criteria about overwriting (is it minor improvement?, etc.) apply. In addition, the usual rule about resolving disagreements applies: if another user feels it useful to split the file, it should be split.

Files with current data

✘ Be cautious about overwriting files with new versions reflecting new information, as in many cases this may not be what reusers want.

✓[OK] However, files may be identified to reusers as ones where information may be updated – these files can and should be overwritten to reflect new information as necessary. Identification may be by the filename, file description, categories, or (most clearly) with the {{Current}} template. A file named "File:Germany location map.svg" is expected to indicate the current boundaries, and is expected to be updated if, for example, the boundaries changed or errors were observed. On the other hand a file named "File:Germany, Federal Republic of location map October 1949 - November 1950.svg" is expected to be correct for that period and not reflect current boundaries.

NO sobreescriure

Excepcions a la regla de canvis menors

  • Les excepcions a la regla de que els "canvis menors s'han de penjar al mateix fitxer" (vegeu més amunt):
    • ✘ Restauració digital
    • ✘ Fitxers als quals se'ls ha concedit un estat especial com ara la Imatge Destacada de Commons, la Imatge de Qualitat de Commons o una distinció similar en un altre projecte de Wikimedia. Aquests fitxers estan marcats amb {{Assessments}}.
    • ✘ Fitxers utilitzats en projectes de Wikimedia on l'ús requereix que el fitxer es mantingui sense canvis
    • ✘ Canvis controvertits o contestatss: vegeu més avall.
    • ✘ Ampliar o canviar l'escala artificialment mitjançant qualsevol eina, inclosos serveis d'aprenentatge profund o basats en IA
    • ✘ Eliminació de parts d'imatges històriques.
      For instance, historical engravings often have a border, and text describing the image under the image. If it was part of the original composition, and you want to remove it for some use on Wikimedia sites, upload it as a new file. If there are annotations or markings in the image that weren't part of the original composition, these can be removed and placed into the {{Information}} template, without a need to upload as a new image; for example, in the case of the Bundesarchive images, there is usually a call number and date of the photograph.

Canvis substancials

  • ✘ Canvis importants (per exemple, una retallada radical)
  • ✘ Canvis que reflecteixen diferents dades (per exemple, actualitzar un mapa)
    • ✓[OK] tret que el fitxer estigui marcat com a actualitzable, és a dir, que s'identifiqui als usuaris de reutilització de que es pot actualitzar la informació, pel nom del fitxer, la descripció o amb la plantilla {{Current}}

Fitxers no relacionats

  • ✘ Fitxers completament no relacionats
    • ✘ Diferents fitxers sobre el mateix tema (com ara una foto d'una vaca carregada sobre una altra foto d'una vaca)
    • ✘ Diferents fitxers relacionats amb el mateix objecte (per exemple, una foto diferent del David de Miquel Àngel)
    • Nota: no sobreescriviu un fitxer per suprimir-lo; seguiu Commons:Normes de supressió

Controversial or contested changes

✘ Changes to a file that are likely to be contested should be uploaded to a separate filename. Upload wars (a form of edit war in which contributors repeatedly upload different versions of a file in an effort to have their version be the visible one) are always undesirable. As with other forms of edit warring, users who engage in upload wars may be blocked from editing.

If another editor thinks that a change is not an improvement (even if the editor making the change thinks it's minor), the change can be reverted. Once a change has been reverted, the new image should be uploaded under a new filename (unless the reverting editor explicitly or implicitly agrees to the contested change). This is true even if the change is necessary, in one editor's view, to avoid a copyright infringement: in this case, if agreement cannot be reached through discussion, the old file should be nominated for deletion.

The more known uses of a file there are (through transclusions on Wikimedia projects), the more cautious contributors should be in deciding whether a change qualifies as "minor". Widespread usage of a file makes it more likely that even small changes will be controversial. If in doubt, uploading as a separate file avoids potential surprises for reusers. In some cases, prior discussion with previous uploader(s) or in locations where the file is in use may help decide whether a planned change can be considered "minor".

Changes that break consistency with other images

✘ When images are consistent among each other, individual images should not be changed in a way that makes them inconsistent with the others. (E.g., File:Icosahedron flat.svg should not have been overwritten with a white version, because that broke the consistency of the set.)

✓[OK] Small changes can be made to all images, as long as they remain consistent. (E.g., it was fine to remove circles around numbers in File:Hawaiian Eruption-numbers.svg, because it was done to all images in the set.)

Examples

Minor improvements

See for example the version histories of

Minor improvements for textual elements include correcting spelling on a map's labels. By contrast, translating a map's labels from English to German is a major change, and should be uploaded as a separate file.

Substantial crop or un-crop

Whether a crop is "substantial" depends partly on the proportion of the image cropped, and partly on how much the excluded content affects the composition. For an image of a museum object on a grey background, cropping much closer to the object was considered a minor crop:

On the other hand, the photograph below of Martin Scorsese was substantially cropped for a closeup on his face, and the result was put into a separate file; and the photograph below of a mountain was cropped to substantially recompose it:

When cropping a JPEG image, remember to always use lossless cropping.

  • Example: This 1899 portrait of a young man with a fish by Wilhelm von Gloeden was uploaded in 2005 but then overwritten in 2010 by a full length un-cropped version. Though the intent was to restore the image to a better quality version, the overwrite proved highly controversial as it changed the context from a modest pose to a nude with potential erotic connotations. In some existing transclusions this change was unwanted and caused controversy. Uploading the higher quality image as a separate file would have avoided this.

Unedited versions

Secondary images

  • Example: File:Neapolitan Fisherboy.jpg is an image of a sculpture, and contains an image of the sculpture's label in the file history.
  • Example: File:William Shatner Star Trek.JPG is a publicity photo of William Shatner as James Kirk from the television program Star Trek, and the oldest image in the file history is used to verify the public domain status.

Files with current data

Examples:

Controversial or contested changes

Permanent versions

Linking files

Attribution

Be sure to attribute the original author appropriately, and to apply a license compatible with the original file. You can use {{Derived from}} and {{Derivative versions}} to link the files. More specific derivative templates are also available, including {{Image extracted}}, {{Retouched picture}}, and {{Attrib}}.

Using "other versions" field of Information template

The template {{Information}} has an |other versions parameter which you can use to link between different versions of a file. You can


When you want to provide or use a stable link from the other projects for any image which is anticipated to be repeatedly updated, you have several ways to do it:

  • Label the image page with the {{Current}} template (see § Files with current data). The main disadvantage is that the old version cannot be directly linked if needed.
  • Create a file redirect page under a fictive filename on Commons and use a link to this filename on the other projects. Change the redirect to each new version (inbound links from other projects need not to be updated). This means updating just one link instead of many. (Note the effect of overwriting or switching over can be delayed slightly through cache delay or can fail through software imperfection.) Example: link to File:Africa borders redirect on Wikipedia, and on Commons have File:Africa borders redirect point to File:Africa borders 2011, File:Africa borders 2012, etc. as-needed.
  • Combine the two methods. Particular version can be uploaded (and linked) separately under their specific permanent filenames and a different filename can be marked with {{Current}} version and overwritten ever by the current version. That means (just as the previous solution) that the current version is available under two filenames: one for the constant content and one for the updatable content. This solution should be less vulnerable to cache delay and software-update bugs than the previous one.

Warning: when doing one of these solutions, be sure that users of the filename are clear that the content of the file may change, and try to check uses of the file before updating the redirect or overwriting the file.

Notes

  1. Qualsevol usuari amb un compte de més de 4 dies des de la pàgina de descripció del fitxer pot sobreescriure un fitxer mitjançant l'enllaç Carrega una versió nova d’aquest fitxer situat sota lHistorial del fitxer; o mitjançant Puja un fitxer. Puja un fitxer proporciona dos missatges d'advertència quan se sobreescriu un fitxer existent – MediaWiki:UploadFormPreviewOverwriteError i MediaWiki:Fileexists (vegeu també Phab:T41344). L'UploadWizard no permet la sobreescriptura de fitxers.

See also

Help

Ways to get help

Other policies and guidelines