This page is protected against editing.

Template:Rename



From Wikimedia Commons, the free media repository



Jump to navigation  Jump to search  

Criterion 1 (At the original uploader’s request.) · <Reason specified here>

Difference in words:

Template:Rename

+

File:ExampleNonExisting.jpg

Difference in characters:

Template:Rename

+

File:ExampleNonExisting.jpg


New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administratororfile mover. Please check if the rename meets one of the valid reasons before you move the file.

Manual moving

and save afterwards:
{{universal replace|Rename|File:ExampleNonExisting.jpg|reason=[[COM:FR#FR1|Criterion 1]] (original uploader’s request) · <Reason specified here> }}
Do the suggested rename

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Rename/doc.

Used to request file rename, so this template is for media only.

The template automatically sets the following categories:

Usage

{{Rename |1= |2= |3= |user= }}

Named parameter (3= or reason=) must be used when an equal sign appears somewhere in the text of the reason given (as for example, inside a link).

Template parameters

ParameterDescriptionDefaultStatus
1new namenew_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include / are invalid; please do not use them.emptyrequired
2

rationale

rationaleA number between 1 and 6 (see Template:File renaming reasons/i18n)emptyrequired
3

reason

reasonExplain how your request meets one of the criteria of the file renaming reasons. If the file name is misleading, make sure to correct the description in the {{Information}} template as well.emptyrequired
userrequestorThe requestor's user name / Last user who edited the page. – Not a signature.emptyoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1or‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Used to request file rename.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
new name1

new_name.ext − New file name. (See Commons:File naming for general guidelines.) New names that include “/” are invalid; please do not use them.

Filerequired
rationale2 rationale

A number between 1 and 6 (see Template:File renaming reasons/i18n)

Numberrequired
reason3 reason

Explain how your request meets one of the criteria of the file renaming reasons. If the file name is misleading, make sure to correct the description in the {{information}} template as well.

Contentrequired
requestoruser

The requestor's user name / Last user who edited the page. – Not a signature.

Useroptional

Additional information

The template is intended to be used in the following namespaces: the File namespace

The template is intended to be used by the following user groups: all users

Placement: At the top of the page

See also

  • {{Duplicate}}
  • {{Edit request}}
  • Localization

    Alemannisch  Bahasa Indonesia  British English  Canadian English  català  čeština  dansk  Deutsch  English  español  français  galego  hrvatski  italiano  lietuvių  magyar  Nederlands  occitan  polski  português  português do Brasil  română  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Ελληνικά  беларуская  беларуская (тарашкевіца)  български  македонски  русский  српски / srpski  українська  հայերեն  हिन्दी  বাংলা  മലയാളം  ဘာသာ မန်  မြန်မာဘာသာ  ไทย  한국어  日本語  中文  עברית  العربية  فارسی  +/−

    This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Rename/layout.

    Translate this template now!

     Administrate translations.

    Examples

    This creates:

    It has been suggested by Jarekt (talk · contribs · count · global contribs) that this media object be renamed to “File:New name.jpg” or another more suitable name for the following reason:

    You need to input a value between 1 and 6 which corresponds to the file renaming criteria. Misspelled.

    Difference in words:

    Template:Rename

    +

    File:New name.jpg

    Difference in characters:

    Template:Rename

    +

    File:New name.jpg


    New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administratororfile mover. Please check if the rename meets one of the valid reasons before you move the file.

    Manual moving

    and save afterwards:
    {{universal replace|Rename|File:New name.jpg|reason=''<span style="color:red;">You need to input a value between 1 and 6 which corresponds to the [[COM:FR#reasons|file renaming criteria]].</span>'' Misspelled. }}
    Do the suggested rename

    and tags the file as Category:Media requiring renaming.

    It has been suggested by Jarekt (talk · contribs · count · global contribs) that this media object be renamed to “File:A better name.png” or another more suitable name for the following reason:

    This request is incomplete! You need to provide a value between 1 and 6 which corresponds to the file renaming criteria!


    Difference in words:

    Template:Rename

    +

    File:A better name.png

    Difference in characters:

    Template:Rename

    +

    File:A better name.png


    New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administratororfile mover. Please check if the rename meets one of the valid reasons before you move the file.

    Manual moving

    and save afterwards:
    {{universal replace|Rename|File:A better name.png|reason= }}
    Do the suggested rename

    and tags the file as Category:Media requiring renaming.

    It has been suggested by Jarekt (talk · contribs · count · global contribs) that this media object be renamed to “File:A lousy name” or another more suitable name for the following reason:

    This request is incomplete! You need to provide a value between 1 and 6 which corresponds to the file renaming criteria!


    Difference in words:

    Template:Rename

    +

    File:A lousy name

    Difference in characters:

    Template:Rename

    +

    File:A lousy name


    New names that include a slash (/) are invalid; please do not use them. This request will be dealt with by an administratororfile mover. Please check if the rename meets one of the valid reasons before you move the file.

    Manual moving

    and save afterwards:
    {{universal replace|Rename|File:A lousy name|reason= }}
    Do the suggested rename

    and tags the file as Category:Incomplete media renaming requests.

    This file has been tagged for renaming by Jarekt (talk · contribs · count · global contribs)

    You can help by suggesting a new name. To do this use the template like this:

    {{rename|new name.jpg|{{{8}}}}}

    This media object can not yet be renamed because:

    Please help fix this by:

    Ensure the target has the same extension, and that there is no image there.

    1. check if file is used and
    2. add {{Universal replace|Rename|newimage|reason=[[Commons:File renaming|File renamed]]}} to CommonsDelinker’s commands (Quick adding) (remember to replace "newimage" with the actual name)
    3. clicking here to perform the move (don't forget to remove this template after that).
    and tags the file as Category:Media renaming requests needing target.

    Retrieved from "https://commons.wikimedia.org/w/index.php?title=Template:Rename&oldid=849109708"

    Categories: 
    Templates using TemplateData
    Templates using the Translate extension for internationalisation
    Media cleanup templates
     


    Navigation menu


    Personal tools  




    English
    Not logged in
    Talk
    Contributions
    Create account
    Log in
     


    Namespaces  




    Template
    Discussion