Jump to content

Template:Rename media/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎top: two problems noted recently
Undid revision 1178602902 by 76.53.192.226 (talk)
 
(20 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{#ifeq:{{PAGENAME}}|Rename media/test|{{Warning|image=Stop hand nuvola.svg|textstyle=font-weight:bold;font-size:150%|style=background:red|You may have arrived here using Google. This template will '''not''' allow you to rename your sandbox. Go to [[Wikipedia:Teahouse]] and ask for help. You are most probably new to Wikipedia and if you wrote your first article in your sandbox it will likely require some polishing to meet our policies. If you are 100% positive it is appropriate to have your sandbox moved, use [[Template:Requested move|the "requested move" template]]<!-- DON'T use the {{tl}} template to link the "requested move" template. The people this message is intended for DON'T READ and copy-paste anything that looks like they can copy-paste it. -->.}}








<!-- pushing down the actual documentation when viewing the template sandbox -->


Thank you.
|{{Twinkle standard installation}}


Media bearing this template are added to [[:Category:Wikipedia files requiring renaming]]. If no suggestion is made for the new name, the media will be added to [[:Category:Incomplete file renaming requests]].
Media bearing this template are added to [[:Category:Wikipedia files requiring renaming]]. If no suggestion is made for the new name, the media will be added to [[:Category:Incomplete file renaming requests]].
Line 8: Line 22:
'''Usage:''' {{tlx|rename media|''New title''|''Reason for request''}}
'''Usage:''' {{tlx|rename media|''New title''|''Reason for request''}}


* Place the template on the file description page.
* Place the template at the top of the file page, ''not'' the corresponding talk page.
* Do not [[WP:SUBST|subst:]] the template.
* Do not [[Wikipedia:Substitution|subst:]] the template.
* Do not include the "File:" prefix.
* Do not include the "File:" prefix.
* Remember to add the file extension (.jpg, .png, etc).
* Remember to add the file extension (.jpg, .png, etc.).
* This is for media only. For galleries and templates, use {{tl|move}}. For categories, see [[Wikipedia:Categories for discussion]].
* This is for media only. For articles and templates, see [[Wikipedia:Requested moves]]. For categories, see [[Wikipedia:Categories for discussion]].


===Example===
===Example===
<nowiki>{{Rename media|CityisOurscover.jpg|The image's title is misspelled.}}</nowiki> creates:
<nowiki>{{Rename media|Renaming media.jpg|The image's title is misspelled.}}</nowiki> creates:
{{Rename media|CityisOurscover.jpg|The image's title is misspelled.|category=}}
{{Rename media|Renaming media.jpg|The image's title is misspelled.|category=}}


The namespace warning would obviously not appear when the template is placed on a file description page.
===Commons files===
===Commons files===
Files uploaded to [[Wikimedia Commons]] '''cannot''' be renamed by Wikipedia administrators or filemovers. [[:Commons:Commons:File naming|Commons:File naming]] describes how Commons files should be named. In general, Commons aims to provide stable file names as there might be external file clients and file moving involves significant human and computing resources. Thus renaming should be used with caution. To request the rename of a file at Commons, follow the instructions at [[:Commons:Commons:File renaming|Commons:File renaming]].
Files uploaded to [[Wikimedia Commons]] '''cannot''' be renamed by Wikipedia administrators or file movers. [[:Commons:Commons:File naming|Commons:File naming]] describes how Commons files should be named. In general, Commons aims to provide stable file names as there might be external file clients and file moving involves significant human and computing resources. Thus renaming should be used with caution. To request the rename of a file at Commons, follow the instructions at [[:Commons:Commons:File renaming|Commons:File renaming]].}}


===See also===
===See also===
*{{tl|rename}}
*{{tl|Requested move}}
* {{tl|db-f8}}
*{{tl|Now Commons}}
*[[Wikipedia:Template messages/Moving]]
*[[Wikipedia:Template index/Moving]]


<includeonly>{{#ifeq:{{PAGENAME}}|Rename media/test||{{Sandbox other||
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
<!-- ADD CATEGORIES BELOW THIS LINE; INTERWIKIS GO TO WIKIDATA, THANK YOU! -->
[[Category:Wikipedia file renaming|{{PAGENAME}}]]
[[Category:Wikipedia file renaming|{{PAGENAME}}]]
[[Category:File maintenance templates|{{PAGENAME}}]]
[[Category:File maintenance templates|{{PAGENAME}}]]
}}
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
}}</includeonly>
<templatedata>
{
"params": {
"1": {
"label": "New title",
"description": "Enter the desired new title for this file. Do not include the \"File:\" prefix. Remember to add the file extension (.jpg, .png, .ogg, etc)",
"example": "BetterTitle.jpg",
"type": "line",
"required": true
},
"2": {
"label": "Reason for request",
"description": "Reason for making this media rename request",
"suggested": true
},
"category": {}
},
"description": "Use this template to add this media to [[:Category:Wikipedia files requiring renaming]]. If no suggestion is made for the new name, the media will be added to [[:Category:Incomplete file renaming requests]]. ",
"paramOrder": [
"1",
"2",
"category"
]
}
</templatedata>

Latest revision as of 19:07, 4 October 2023

Media bearing this template are added to Category:Wikipedia files requiring renaming. If no suggestion is made for the new name, the media will be added to Category:Incomplete file renaming requests.

See rename criteria at Wikipedia:File mover § What files should be renamed?

Usage: {{rename media|New title|Reason for request}}

  • Place the template at the top of the file page, not the corresponding talk page.
  • Do not subst: the template.
  • Do not include the "File:" prefix.
  • Remember to add the file extension (.jpg, .png, etc.).
  • This is for media only. For articles and templates, see Wikipedia:Requested moves. For categories, see Wikipedia:Categories for discussion.

Example

{{Rename media|Renaming media.jpg|The image's title is misspelled.}} creates:

The namespace warning would obviously not appear when the template is placed on a file description page.

Commons files

Files uploaded to Wikimedia Commons cannot be renamed by Wikipedia administrators or file movers. Commons:File naming describes how Commons files should be named. In general, Commons aims to provide stable file names as there might be external file clients and file moving involves significant human and computing resources. Thus renaming should be used with caution. To request the rename of a file at Commons, follow the instructions at Commons:File renaming.

See also

[edit]


Use this template to add this media to [[:Category:Wikipedia files requiring renaming]]. If no suggestion is made for the new name, the media will be added to [[:Category:Incomplete file renaming requests]].

Template parameters

ParameterDescriptionTypeStatus
New title1

Enter the desired new title for this file. Do not include the "File:" prefix. Remember to add the file extension (.jpg, .png, .ogg, etc)

Example
BetterTitle.jpg
Linerequired
Reason for request2

Reason for making this media rename request

Unknownsuggested
categorycategory

no description

Unknownoptional