Shortcuts: COM:FR • COM:MOVE • COM:RENAME
This page is considered an official guideline on Wikimedia Commons.
It illustrates standards or behaviors which most editors agree with in principle and generally follow. Feel free to update the page as needed, but please use the discussion page to propose major changes.
This page in a nutshell: The file rename function allows authorized users to rename files based on specific criteria, such as improving file names, correcting errors, harmonizing names, and avoiding policy violations. Users can request a rename by filling out a form or using a user script. File redirects are preferred, but in some cases, redirects can be suppressed. |
The file rename function allows renaming (or "moving") of files, which works basically the same way as "normal" page moves. Any user can request a file rename, but only authorised users can actually rename files for now.
Whether a filename is perceived to be suitable often depends on the familiarity of the individual with the subject, which is often the place depicted. It also occurs that items are known under different terms to different contributors or they believe entities are primarily well-known under the term they are used with to describe this entity, neglecting cultural differences, even within countries.
Not of less importance is the purpose the filename is believed to have; contributors frequently categorizing files have different demands from those who create, process, manage and upload them. Uploaders often have schemas naming their files; moving files might break them. If possible, language and schema should be preserved, as well as the camera or catalogue number.
Commons:File naming describes how files should be named. In general, Commons aims to provide stable filenames as there might be external file clients and file moving involves significant human and computing resources. Thus renaming should be used with caution. Currently there are six widely undisputed uses for rename requests:
# | Aim | Examples (old name) | Examples (new name) |
---|---|---|---|
1. | At the original uploader’s request.[1] | ||
2. | To change from a meaningless or ambiguous name to a name that describes what the image particularly displays.[2] | File:DSC 1342.jpg (no information at all) | File:Pretoria Venningpark DSC 1342.jpg |
File:20110428 OH K1023900 0014.JPG - Flickr - NZ Defence Force.jpg (only photographer or rights holder) | File:Helicopter A109LUH(NZ) by NZ Defence Force.jpg | ||
File:20120519 3349.CR2.png (only date) | File:Sebkha-Chott 3349.png | ||
File:Paris 319.jpg (only broad location) | File:Paris 75018 Rue Norvins no 018 Le Consulat z.jpg | ||
File:Smartphone.jpg (generic category) | File:Samsung Galaxy Note series (Original, II, and 3).jpg | ||
File:RAS.jpg (acronym or initials) | File:Rodrigo Arias Sánchez.jpg | ||
File:Flickr - law keven - Anybody know a Good Dentist^......Happy Furry Friday Everybody...-O))).jpg (no relation to file content) | File:Lion-tailed Macaque, Colchester Zoo, England.jpg | ||
File:Louvre 12.jpg (inappropriate for specific content) | File:Mona Lisa by Leonardo da Vinci.jpg | ||
3. | To correct obvious errors in filenames, including misspelled proper nouns, incorrect dates, and misidentified objects or organisms.[3] | File:Ayres Rock 3.png File:Van Gogh portrait 1787.jpg File:Unknown insect 02.jpg |
File:Ayers Rock 3.png File:Van Gogh portrait 1887.jpg File:Hogna radiata 02.jpg |
4. | Toharmonize the names of a set of images so that only one part of all names differs.[4] | File:Bhf-BS-Icon.svg File:Icon HST bs 1.svg File:Dst symbol.svg |
File:BSicon BHF.svg File:BSicon HST.svg File:BSicon DST.svg |
5. | To change a filename that would be a violation of Commons’ policies and guidelines if it appeared elsewhere on the project as text. This includes gratuitous vulgarity, personal attacks/harassment, blatant advertising, and cases where revision deletion would be authorized.[5] | File:Stupid fat idiot.jpg File:Buy now NEW PAINT! 555-6200.png |
File:<Name of the person>.jpg File:2007 pink Honda Accord.png |
6. | Non-controversial maintenance and bug fixes, including fixing double extensions, invalid or incorrect extensions, character handling problems, and other similar technical issues.[6] | File:Map of Asia.svg.png File:Computer mouse.jpe File:Mooncake.jpg, File:Mooncake.JPG |
File:Map of Asia.png File:Computer mouse.jpg File:Mooncake.jpg, File:Square Mooncake.jpg |
Not including: Specific locations, such as a park, an individual building, or an event.
As a matter of principle it's best to leave all files with generally valid names at their locations, even if slightly better names may exist. So for example:
# | Criteria to decline | Examples (old name) | Examples (new name) |
---|---|---|---|
1. | Files should NOT be renamed only because the new name looks a bit better. | File:TowerBridge'09.jpg | File:Tower_Bridge_2009.jpg |
File:Logo_correct.jpg | File:Logo.jpg | ||
2. | Files should NOT be renamed only to translate the filename to another language and/or because the filename is not correctly capitalized. Remember, Commons is a multilingual project, so there's no reason to favor English over other languages. | File:Rathaus_bremen.jpg | File:Bremen_town_hall.jpg |
3. | If a filename in a local project conflicts with a filename at Commons, the file in the local project should be renamed. Renaming it at Commons would mean changing it in a lot of projects instead of just one. | ||
4. | Files with copyright issues should NOT be renamed until copyright issues are resolved. There is no reason to rename a file if it is going to be deleted on copyright grounds. |
Additional naming conventions and exceptions from the above list might be discussed for specific projects. For example, moving PDF and DjVu files transcluded at the Wikisources is problematic for those wikis and should be avoided unless the file mover understands the consequences.
A user repeatedly renaming files under invalid reasons can be stripped of the filemover privilege. Warning: certain cases of wheel-warring—such as reversal of a preceding renaming which had a valid reason—may result in removal of the filemover privilege even for one infraction.
Any user can request a file rename, but only authorised users can actually rename files for now.
To request a file rename while logged in, select『More → Move』near the top right of the file page, then fill in the provided form (this functionality is provided by the default gadget RenameLink). Users who do not have an account or are unwilling to run JavaScript can request a file rename by adding the template
to the file description. Either way, the file will be added to Category:Media requiring renaming and an authorised user will perform the move if it conforms to the guidelines described above. There could be a delay of a few hours to several days depending on the type and language of the request.
Responding editors should follow the instructions on the template. In most cases, a file redirect should be left on the original page, except if it is a misleading or promotional name.
Authorised users are administrators, file movers and Wikimedia stewards. (Requests to become a filemover are listed at Commons:Requests for rights#Filemover.) If you belong to any of those groups, and therefore have the movefile
right, just use the "Move & Replace" tab as you would normally do to a regular page.
Auser script that can rename many files: User:Legoktm/massrename.js.
To perform file name swaps, you need the suppressredirect
right. For example, somebody uploaded two files: "Obverse Of Token.jpg" and "Reverse Of Token.jpg", but the "obverse" image shows in fact the reverse side, and the reverse shows the obverse side. In this case, you'd have to:
When you move (rename) a file by using the move tab, by default the old title will automatically become a redirect page to the new title. Additionally urls to thumbnails of the old file name will also redirect (however, direct links to the full size version of the file will not redirect). Redirects to the moved file are automatically updated when using Move & Replace to avoid double redirects.[1] If you do not use Move & Replace, you'll have to update all redirects to the file manually.
All file movers have the suppressredirect
user right.[2] This allows file movers to not leave behind a redirect when moving files and instead automatically have the original file name deleted. Policy never requires you to suppress the redirect, suppression of redirects is entirely optional.
Suppression of redirects is only allowed in the following cases:
Please note, this ability should be used only in certain circumstances and only if you are absolutely sure that it is not going to break the display of the file on any project. Redirects should never be suppressed if the file is in use on any project. When in doubt, leave a redirect.
If you forget to suppress the redirect in case of file name vandalism or you are not fully certain if the original file name is actually vandalism, leave a redirect and tag the redirect for speedy deletion per G2.
The malicious or reckless breaking of file links via the suppressredirect
user right is considered an abuse of the file mover right and is grounds for immediate revocation of that right.
If you are using the move and replace script there will be a checkbox that says "Leave a redirect behind". This is automatically checked and cannot be turned off if the file is in use. If the file is not in use, unchecking the box will suppress the redirect and one will not be created upon moving the file. The "Leave a redirect behind" checkbox is also available on the general special page, Special:MovePage, which can be found by searching for Special:MovePage/PAGENAME in the search bar.
To easily bypass the move and replace script on file pages and use the special page instead, a new tab must be opened through the move and replace button. Depending on your mouse settings you may be able to do this by "middle clicking" (clicking the mouse wheel) on the move and replace button. For others you can right click on the move and replace button and open in a new tab. Please note, the special page will not attempt to replace any usage of the file on any pages it is on.
All file renamings are recorded in the Move log which is a log for all moves in all namespaces. There's no namespace filter for "files only" available yet.
Wikimedia Commons policies and guidelines
| |||||||||
---|---|---|---|---|---|---|---|---|---|
Policies |
| ||||||||
Guidelines |
| ||||||||
Licensing help (Village pump) |
| ||||||||
WMF policies |
| ||||||||
|