Template:Rename media: Difference between revisions

Content deleted Content added
use PAGENAME instead of Template:Remove file prefix
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 6:
| style =
| textstyle =
| text = {{ #ifeq: {{{2|}}} | {{{2|u}}} | | The name of this media object is misspelled, incomplete, misleading, cryptic, does not conform to an established naming convention, is largely duplicative to another name, or shadows a file name on Wikimedia Commons.&nbsp;}}It has been suggested that this media object be '''renamed'''{{ #ifeq: {{{1|}}} | {{{1|u}}} |&nbsp;to <span class="media-move-suggestion">[[:File:{{PAGENAME:{{{1}}}}}]]</span> or a more suitable name}}{{ #ifeq: {{{2|}}} | {{{2|u}}} |&nbsp;for the following reason: <span class="media-move-reason" style="font-weight:bold">{{{2}}}</span>|.}} For further information about when to rename, see [[WikipediaProject:FileImage names#Whatuse files should be renamed?policy|Wikipedia:File names]]. This request will be dealt with by an administrator{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop||&nbsp;or [[WikipediaProject:FileImage moveruse policy|file mover]]{{#if:{{PROTECTIONLEVEL:move}}|{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop||&nbsp;with the {{#ifeq:{{PROTECTIONLEVEL:move}}|templateeditor|[[WikipediaProject:Template editordocumentation|template editor]]|{{#ifeq:{{PROTECTIONLEVEL:move}}|extendedconfirmed|[[WikipediaProject:ExtendedEditorial confirmedguidance|extended confirmed]]}}}} user right}}}}}}.{{#if:{{PROTECTIONLEVEL:move}}|&nbsp;''('''Note''': This page is currently [[WikipediaElite Dangerous Wiki:Protection policy#Move protection|move protected]]{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop||&nbsp;so that only {{#ifeq:{{PROTECTIONLEVEL:move}}|templateeditor|template editors|{{#ifeq:{{PROTECTIONLEVEL:move}}|extendedconfirmed|extended confirmed users}}}} can move the page}}. Please see the [{{fullurl:Special:Log|page={{urlencode:{{FULLPAGENAMEE}}}}}} log] for details.)''}}<br />{{#switch: {{NAMESPACENUMBER}} | 6 | 10 = {{#if:{{{1|}}}|<small class="plainlinks">[{{fullurl:Special:Movepage/{{FULLPAGENAMEE}}}}?wpNewTitle={{urlencode:File:{{PAGENAME:{{{1}}}}}}}&wpReason={{urlencode:{{{2|More suitable name}}}}} Perform this move] (or if the image is suitable, please consider copying the file to Commons via [[mw: Help:Extension:FileImporter|FileImporter]] by clicking on the "Export to Wikimedia Commons" link near the top of the file page).</small><br />{{StringDiff|{{FULLPAGENAME}}|File:{{PAGENAME:{{{1}}}}}}}|<!-- template parameter missing -->{{#ifeq: {{NAMESPACENUMBER}} | 10 |'''{{color|red|Warning: the {{tl|Rename media}} template is not meant to be used outside the File: namespace. Use {{tl|Requested move}} on the talk page of the page that you believe should be moved instead.}}'''|<span style="color:red">To suggest a new name, please use this template in the following way:</span><br />{{tlx|rename media|target name.extension|reason for name change}}}} }}| '''{{color|red|Warning: the {{tl|Rename media}} template is not meant to be used outside the File: namespace. Use {{tl|Requested move}} on the talk page of the page that you believe should be moved instead.}}'''}}<!--
 
-->{{#ifeq: {{{1|}}} ||| {{#ifexist:File:{{PAGENAME:{{{1}}}}}|<p>{{color|red|'''{{#ifeq:{{PAGENAME:{{{1}}}}}|{{PAGENAME}}|It appears that the file has already been moved; if so, please remove the template|Please note that a file by this name already exist{{#ifexist:File:{{PAGENAME:{{{1}}}}}|s|s on Wikimedia Commons}}}}.'''}}</p>}} }}<!--