Template talk:Delete

From Wikimedia Commons, the free media repository

Jump to: navigation, search
Nuvola filesystems file locked.png Template:Delete has been protected indefinitely because it is a highly-used or visible template. Use {{editprotected}} on this page to request an edit.

Contents

[edit] Instructions

The full syntax is:
{{Delete
|reason=<your reason goes here. e.g. Duplicate Image, or Poor Quality, etc.>
|subpage=<The subpage of "Commons:Deletion requests" where the request for the image is. See below.>
|day={{CURRENTDAY}}
|month={{CURRENTMONTHNAME}}
|year={{CURRENTYEAR}}
}}

The reason is mandatory. You only need to fill out the "subpage" parameter if you create the deletion request at a different subpage of Commons:Deletion requests than the image name. For example, if you nominate Image:Foo.jpg for deletion, and you create the subpage Commons:Deletion requests/Image:Foo.jpg, then you don't need to fill out the parameter. But if you nominate that image as part of a mass nomination, you will have to fill it out. For example you nominate all the images uploaded by a particular user for deletion. Then instead of creating 50 different subpage, you create just one, Commons:Deletion requests/Images uploaded by User XYZ, and then on all of the relevant images, you put this template with the parameter subpage=Images uploaded by User XYZ.

[edit] Check usage

Shouldn't this template include check usage as well as deletion? --Saperaud 05:30, 3 December 2005 (UTC)

It does now, but the function was broken earlier. -- Jeff G. 10:33, 25 February 2007 (UTC)

[edit] Parameter

Why does this now have a parameter?? It shouldn't -- people should put the reason on COM:DEL, not on the image page. pfctdayelise (translate?) 08:11, 9 April 2006 (UTC)

The paramaters are the date parameters and pure optional (They are meant later for a second subst: template using it like subst:nsd...) The other "parameter" with the reason is an implicit informal parameter (that does not break current usage) as I think it is crucial that people give a reason (many people forget to add it to the deletion requests and giving a reason on the image page is always a good idea). The reason given at the image page can and should be copy-pasted by the tagger to deletion requests anyways. Arnomane 09:29, 10 April 2006 (UTC)
Wouldn't it be better to write Category:{{{CURRENTMONTH}}} {{{CURRENTYEAR}}} directly here in this template? --MarianSigler {bla} 15:53, 4 May 2006 (UTC)


| It DOES hurt. There is nothing on the template explicitly telling them to go post their reason at COM:DEL. Having this parameter will make them think all they need to do is put the reason here. Then these images will sit around and never get processed. pfctdayelise (translate?) 10:53, 27 April 2006 (UTC)
I have reworded the information in the template a bit in order to make clear that people have to add it to deletion requests if they use that template. (I must have overlooked it that this essential information wasn't there...). Arnomane 12:08, 30 April 2006 (UTC)

[edit] New links

you are probably aware that now the still existing links do not work anymore and if someone wants to say something to a deletionrequest he is quite challenged specially when he is not to much familiar with commons ...Sicherlich Post 09:05, 4 September 2006 (UTC)

hmm you did something to convert to the new system; this somehow vanised. WOuld be nice if you find a way to fix it ...Sicherlich Post 09:13, 4 September 2006 (UTC)

They link to the subpage where the request is to be placed, so they will become blue once the request is made. --Rory096 16:33, 4 September 2006 (UTC)

[edit] Confusing directions

I followed the directions at the bottom of the template for using{{delete2}} to make a sub-page.

I wrote {{delete2|image=Image:ASBcover.jpg|reason=This is a book cover. Unless it was it was freely licensed by the original copyright holder, a photo probably can't be GFDL'd by the photographer. Recommend move to English Wikipedia as a fair use image.}} --~~~~

However, my sub-page turned out to be garbage.

Are the instructions incorrect, or confusing for beginners, in some way?

I ended up writing the sub-page by hand. --82.153.128.122 11:28, 7 September 2006 (UTC)

Uh, what's wrong with the original page with that template? It looks fine to me. --Rory096 23:21, 8 September 2006 (UTC)

[edit] reason

I've just tried to insert this template and the reason field seems to be broken. It doesn't work if you actually use "reason=", you have to include the parameter without a name. Night Gyr 15:56, 15 October 2006 (UTC)

It should work now. Alphax (talk) 14:44, 23 November 2006 (UTC)

[edit] Preloaded debate doesn't work

The "preloaded debate" link does not work properly. After saving the preloaded deletion debate (Commons:Deletion requests/Image:Foo.jpg), the page starts with

=== [[:{{SUBPAGENAME}}]] ===

which evaluates to the correct link

=== [[:Image:Foo.jpg]]=== 

if the page is displayed standalone, but when it is displayed as a template in the deletion log ({{Commons:Deletion requests/Image:Foo.jpg}} in Commons:Deletion requests/2007/01/11 for example), {{SUBPAGENAME}} evaluates to the date of month, given the nonsensical heading

 === [[:11]]===

Also, it would be nice if the content of the "reason" field could be preloaded too.

Regards, High on a tree 02:29, 11 January 2007 (UTC)

Thanks for the fix, it's working well now. Regards, High on a tree 10:22, 17 January 2007 (UTC)

[edit] Protected 24 hours

I have protected the template for 24 hours. It is a highly used template, and I don't find the constant tests and rewording appropriate. How about creating a test-template to try out new stuff, before implementing them here? / Fred Chess 17:32, 27 January 2007 (UTC)

Sorry, that was me, and I didn't know about job queues at the time. I was just following WP:BOLD (without realising the rule doesn't apply to templates), and I saw that other people had been editing it in the same way I was, and I assumed I wasn't doing anything wrong. Does the new layout work well? That's my main concern. I was worried I'd broke the some code in its rendering, so I was very careful; hence all the minor edits. Could you (if you know what you're doing more than me) give it a look-over? Thanks, and sorry again - Jack (talk) 05:21, 28 January 2007 (UTC)
No problem; it's ok to edit templates. Just want to give you the friendly advice that it is often better to test out new stuff in test-templates. Feel free to continue improving this template though. If we didn't want people to edit it, we would protect it.
Fred Chess 14:17, 28 January 2007 (UTC)

Rather than possibly cause more annoyances by additional editing, I'll just ask here - could someone restore the last part of the instructions that said "On the log, use: ...". With the current version, it took me a lot longer to find that step. --Davepape 03:01, 29 January 2007 (UTC)

Actualy, I see the relevant instruction is at the top of COM:DEL. But it was still a little easier to copy & paste each step from the template on an image page. --Davepape 03:34, 29 January 2007 (UTC)


[edit] Keep the Consistency (Change the layout)

Dear Administrators,

Why don't you change the layout in order to keep the consistency with Speedy Request {{Speedydelete}} and Copyvio {{Copyvio}}? They all belong to the same DELETE group.

Please refer to {{Delete/ja}}

Followings are very smal things, though...

  • Deletion Guidelines : ALL languages don't have to be shown. User can click "Language Changer Bar" at the bottom.
  • Be more clearly: UPPER Messages are for READERs, Middle are for Maintenance Staff, and LOWER Messages are for ADMINs without mixing up.
  • Explain the usage simply: The explanation should be OUTSIDE of the main box. The main Message Box is automatically shown on all tagged pages; Whom is it for? Without making READERs confused, Admins or People helping maintenance can come to check the Usage details here.

The point is to KEEP the LOOKS CONSISTENCY. If you think PINK color is too strong for this normal Delete, light-blue or light-yellow would be fine, of course.

What do you think? If you agree, then I can help to change the layout.

--SantaClaus 09:02, 24 February 2007 (UTC)

Someone seems to have done it - and I may have deleted an image which was up for a deletion request because I thought it was tagged as speedy... Samulili 20:48, 6 March 2007 (UTC)


In that case, the Warning Icon should be replaced with something else in order to distinguish between Speedy and Regular obiously. --SantaClaus 10:58, 9 March 2007 (UTC)

[edit] Suggested improvement to subpage instructions in the template

The subpage instructions should be expanded from the current ambiguous:

*'''subpage''' — the subpage of [[Commons:Deletion requests]] the image nominated for deletion is listed

to

*'''subpage''' — the subpage of [[Commons:Deletion requests]] on which the image nominated for deletion is listed, for instance Image:User.gif

Of course, if you really meant "for instance User.gif", please say so. -- Jeff G. 09:13, 25 February 2007 (UTC)

[edit] Suggested improvement to date instructions on the template page

For consistency's sake, please add to the last mention of "month" so it reads "the current day of the month, month as a word in English, and four-digit year, such as 1, January, and 2000", rather than the ambiguous current "the current day, month and year". -- Jeff G. 09:13, 25 February 2007 (UTC)

Also, change "speed deletion" to "speedy deletion." --141.156.46.121 01:45, 5 March 2007 (UTC)

[edit] Template is broken

Now each and every deletion request is 'incomplete', no matter what you do. Any way to fix it? -- Prince Kassad 13:07, 5 March 2007 (UTC)

Prince Kassad was incorrect; deletion requests are completed by following the directions.   — Jeff G. (talk|contribs) 23:36, 6 March 2007 (UTC)
Why do you need to fill in subpage. Isn't it obvious? I would think you'd only need to fill it in if it was on a non-default subpage. Bawolff 02:50, 7 March 2007 (UTC)
Thank you, you are absolutely right. The template no longer considers lack of a "subpage" field to be sufficient reason for a deletion request to be incomplete. In a similar vein, I have also allowed Variable 1 to represent the reason. It may take a while for the servers to recover from these changes. Sorry for any delay or inconvenience.   — Jeff G. (talk|contribs) 12:57, 7 March 2007 (UTC)
Next time you might wanna preview first or test on another page as changing the template so many times in one day is not a very good thing to say the least. Yonatanh 17:50, 7 March 2007 (UTC)

[edit] {{Delete/lang}}

{{Delete/lang}} is necessary to be placed in <includeonly>?? I mean... If possible, the Lang Bar would be better to be seen all the time. On that template, the Lang Bar is NOT visible and people CAN'T go to the other language template.--SantaClaus 15:29, 7 March 2007 (UTC)

Yes, good point. It should be there all the time. pfctdayelise (说什么?) 12:59, 9 March 2007 (UTC)
Indeed, and thus changed. -- Bryan (talk to me) 13:27, 9 March 2007 (UTC)
Good!! Much easier to change the language template --SantaClaus 14:04, 11 March 2007 (UTC)

[edit] Edit request

{{editprotected}} May the image be changed to Gtk-dialog-warning.svg? 71.233.232.243 19:53, 26 May 2007 (UTC)

Why? What's wrong with the existing image?   — Jeff G. (talk|contribs) 22:27, 26 May 2007 (UTC)
I just think the one I want looks cooler. Nothing's wrong with the current one, IMO, I just like the one I request to use better. 71.233.232.243 00:42, 27 May 2007 (UTC)
Can you please be more specific about why the one you want looks cooler? For reference, here they are in their current versions, side by side using similar areas of 3.4 kpixels:
Nuvola apps important.svg ?-> Gtk-dialog-warning.svg
I prefer the status quo, with the rounded corners and the fatter exclamation point.   — Jeff G. (talk|contribs) 05:02, 27 May 2007 (UTC)
IMO, the one with the with the thinner ! is better. (Also it's a lower resolution and would take up less space in the template.) Get what I mean? 71.233.232.243 15:26, 27 May 2007 (UTC)
To the contrary, the existing one is 5 KB, the one you want is 9 KB.   — Jeff G. (talk|contribs) 07:50, 28 May 2007 (UTC)
X mark.svg Not done "I like it better" isn't a good reason to change. MECUtalk 21:18, 12 June 2007 (UTC)

[edit] Why have the -- been added?

Why? Seems to me the user's choice to use them, or / as some other users use, or add them in the signature... -- Bryan (talk to me) 18:14, 17 June 2007 (UTC)

You appear to have been writing about the dashes. They were put back by White Cat in this edit. It would be helpful and more transparent to have the justification here. I personally don't like them because I prefer the em dash already in my sig.   — Jeff G. (talk|contribs) 02:54, 18 June 2007 (UTC)
The default signature format is --~~~~ which should be preserved for consistency. Most people will end up with an incomplete ~~~~ otherwise. It could be made that the -- can be removed with a monobook setting perhaps but at default the --'s should be preserved. -- Cat chi? 04:39, 18 June 2007 (UTC)
Commons appears to have nothing in concrete about dashes preceding tildes in signatures. Looking, then, to Wikipedia, w:Wikipedia:Signatures#How to "sign" your posts says "1. At the end of your comments, simply type four tildes (~), like this: ~~~~." Note the distinct lack of dashes. Now, if you want to put a reminder on the edit page for Special:Preferences for users to add dashes to their custom signatures, go right ahead, but what Flominator did and you've continued appears to break functionality for the vast majority of users (the ones that don't have custom signatures), as well as for me. These dashes have been bothering me and LX since March.   — Jeff G. (talk|contribs) 20:47, 18 June 2007 (UTC)
Cat appears to have also added dashes to Commons:Deletion requests/preload in this edit. If Cat likes them so much, I suggest that Cat put them in its own signature and stop bothering the rest of us with them.   — Jeff G. (talk|contribs) 17:41, 9 October 2007 (UTC)
I dislike to be talked about as a third person in the same thread. the -- Cat ちぃ? 17:48, 9 October 2007 (UTC) is the standard way to sign. Template can have an optional parameter to override the standard if you like. Infact I'll add this now. -- Cat ちぃ? 17:48, 9 October 2007 (UTC)
There you go. Add a "|3=}}" at the end of delete and the --'s will go away. -- Cat ちぃ? 17:51, 9 October 2007 (UTC)
When you click Signature icon.png. The --'s come by default. Now you have a way to override it in this template. -- Cat ちぃ? 17:56, 9 October 2007 (UTC)

[edit] Icon change

Revert the icon change, other icon loks way better. Da Man2 20:28, 19 June 2007 (UTC)

Edit request declined. -- Bryan (talk to me) 10:24, 21 June 2007 (UTC)

There is no need for any generic icon in this template. The icon does not carry any specific message, and it doesn't improve the template visibility neither. --Juiced lemon 09:44, 21 June 2007 (UTC)

[edit] Do not remove deletion request tags

{{editprotected}} Per this suggestion, please add in bold letters "do not remove this notice from pages that you have created yourself" or something similar like "do not remove deletion request tags from images before an administrator has closed the debate. If you do not agree that the image should be deleted, you can express your opinion on the deletion request page." from {{dont remove delete}}.   — Jeff G. (talk|contribs) 21:21, 19 June 2007 (UTC)

✓ Done MECUtalk 16:02, 2 July 2007 (UTC)

[edit] Grammar

{{editprotected}}

"If you just added this template, please follow the following instructions"

I think this could be improved to avoid such an obvious source of ammusement. Perhaps:

"please follow these instructions"

Lee Carré 10:53, 2 July 2007 (UTC)

✓ Done MECUtalk 16:02, 2 July 2007 (UTC)

[edit] Grammar 2

When a date is specified, the deletion template reads "This image has been requested since [date] for deletion". This should be reworded to say "This image has been requested for deletion since [date]", which IIRC is better wording. -- Prince Kassad 21:18, 12 July 2007 (UTC)

✓ Done Fred J 15:07, 13 July 2007 (UTC)
A recent change to remove a superfluous space removed too much, producing for example "This image has been requested for deletionsince 14 July 2007." - please see Image:MooreKucinich.jpg for an example. Thanks!   — Jeff G. (talk|contribs|Flickr review status nom) 06:33, 15 July 2007 (UTC)
Alright -- back to the other one. Now there's a space right before the dot that looks awkward but it should be better. / Fred J 09:54, 15 July 2007 (UTC)

[edit] Grammar 3

{{editprotected}}

For the sentence which reads:

Note that this template is for REGULAR "Deletion Requests" to be discussed. For speedy deletions, please use {{speedy}}.

"deletion requests" should be written in lowercase, and the quotation marks should also be removed (they make the sentence look weird). The word 'regular' should be bolded instead of being in all caps because no other word on Commons is in all caps (at least none that I know of). -- Prince Kassad 15:57, 11 August 2007 (UTC)

  • Symbol support vote.svg Support - I concur with Prince Kassad's request for these changes.

Looks like it has been done now. -- Prince Kassad 10:11, 13 August 2007 (UTC)

[edit] Category:Incomplete deletion requests

Hi. This template contains two instances of "[[Category:Incomplete deletion requests|{{FULLPAGENAME}}]]". Please change them both to "[[Category:Incomplete deletion requests|{{PAGENAME}}]]" (remove "FULL") so as not to clutter up the "I" section of Category:Incomplete deletion requests. Thanks!   — Jeff G. (talk|contribs) 08:57, 10 September 2007 (UTC)

Done. Samulili 09:10, 10 September 2007 (UTC)
Thanks!   — Jeff G. (talk|contribs) 01:39, 14 September 2007 (UTC)

[edit] Mass deletions

{{editprotected}} Hi again. Please replace the following superfluous (and somewhat wrong) wording at the end of the For mass deletions: sentence with a single dot "." to end the sentence. Thanks!   — Jeff G. (talk|contribs) 01:35, 15 October 2007 (UTC)

, by manually adding {{delete|reason|group name}} to each image page and then follow the steps above. (Help on mass requests)
✓ Done Siebrand 23:09, 16 October 2007 (UTC)

[edit] Why say that all five fields must be filled?

Must really all five fields be filled? In the automated deletion, in the toolbar, only the reason field is ever created, and as far as I know no-one has complained. / Fred J 18:43, 7 December 2007 (UTC)

[edit] Punctuation

Can someone please remove the blank in “delete .” when there are no day/month/year parameters? -- Ddxc 20:49, 8 January 2008 (UTC)

✓ Done I never noticed that before. Thanks. Rocket000 05:41, 11 May 2008 (UTC)

[edit] Link to the deletion log

Would it be possible to format the link to the deletion log (step no. 2) so that it is functional even when accessed from another WikiMedia project (e.g. en:Image:France Preseren.jpg)? Thanks a lot if you'll be able to fix that. --Eleassar (t/p) 12:16, 24 April 2008 (UTC)

[edit] Put code for DR list in <nowiki></nowiki> Tags

{{Editprotected}} Hello, IMHO the code for notification of the uploader should be put in nowiki-Tags. Think of this: The reason for deletion is Images are from xyz site which does not have copyright notice. Now the template says: Visit the deletion requests subpage, and place the following code: {{subst:delete2|image=imagename.png|reason=Images are from xyz site which does not have copyright notice}}. Now, if you copy this with c&p, the link will get lost. It would be better if it looked like this: Visit the deletion requests subpage, and place the following code: {{subst:delete2|image=imagename.png|reason=Images are from [http://xyz.com xyz site] which does not have copyright notice}}. I hope you get my point. Regards, -- ChrisiPK (Talk|Contribs) 19:23, 7 October 2008 (UTC)

Erm, when trying to edit the template I already see the nowiki already put in there, if I'm wrong please tell me what to do, or give the code, thanks. --Kanonkas(talk) 12:42, 10 October 2008 (UTC)
Sorry, I looked at the wrong line. I was talking about that code that the nominator should add to the deletion request subpage of the current day: Look e.g. at Image:Threat Cat.jpg: The line that I am supposed to copy contains a link. When I copy that line, the link will be gone. I hope you get my point now, sorry I cannot provide you with some code atm. Regards, -- ChrisiPK (Talk|Contribs) 20:50, 10 October 2008 (UTC)
✓ Done There were several <nowiki> tags in that part of the template code, but not around the {{{reason}}} parameter. yes, it is a mess, indeed. Anyway, I just added it. --Waldir talk 15:44, 18 October 2008 (UTC)
I did a mistake, and found myself going deeper and deeper in a series of ugly hacks (a deeply reprehensible behavior considering that this template is used in so many pages), until I finally figured out: it is impossible to <nowiki> the {{{reason}}}, otherwise it simply isnt transcluded into the page. Sorry for the mess. --Waldir talk 16:35, 18 October 2008 (UTC)
Maybe it would work something like this: <includeonly><no</includeonly><includeonly>wiki></includeonly> -- ChrisiPK (Talk|Contribs) 20:22, 19 October 2008 (UTC)
Regardless of what we do, we need the {{{reason}}} to be outside any <nowiki> tags, otherwise it simply won't be transcluded into the page... If the parameter markup worked like the internal links markup, maybe we could have something like [[Link|Some'''thing''']] (which produces Something), but we simply cannot do {{{reason|<nowiki>$1</nowiki>}}} or whatever, because that just is not in the mechanics of the template parameter markup... I hope I could get my point across, but it's a tricky issue. --Waldir talk 20:46, 19 October 2008 (UTC)
Yes, I get your point. This is a problem in the MediaWiki software, we probably cannot solve. Sorry for taking up your time. Regards, -- ChrisiPK (Talk|Contribs) 23:22, 19 October 2008 (UTC)
No problem :) I am the one to be sorry, for not behaving properly and making experiments in a massively used template :P --Waldir talk 11:04, 20 October 2008 (UTC)

[edit] simple spelling suggestion

{{editprotected}} For mass deletions: If you want to nominate several related images, please make a mass request, by manually adding {{delete|reason|group_name}} to each image page and then follow the steps above. (Help on mass requests).

This sentence should be changed to:

For mass deletions: If you want to nominate several related images, please make a mass request by manually adding {{delete|reason|group_name}} to each image page and then following the steps above. (Help on mass requests)

Specifically, it removes a comma and a dot which are incorrect and corrects the tense of a word. -- Prince Kassad (talk) 18:21, 27 November 2008 (UTC)

✓ Done — Mike.lifeguard | @en.wb 23:19, 27 November 2008 (UTC)

[edit] image to file prefix

please change the Image:{{PAGENAME}}}}}}}}}}|here]] to file:{{PAGENAME}}}}}}}}}}|here]] {{editprotected}}. Hidro (talk) 16:08, 12 December 2008 (UTC)

I am not quite sure what you want me to do. I already did a fix that points the here-part to the correct DR subpage, as most of them are still using Image as prefix. Are you talking about the destination of the redlink, in case the request is not completed? I could implement yet another check to see whether the Image: DR page exists and, if not, point the redlink to (also non-existing, due to previous check) File: DR page. Is that your request? Regards, -- ChrisiPK (Talk|Contribs) 16:23, 12 December 2008 (UTC)
I'd also appreciate it, if you could link an example page on which the functionality is broken. Thanks and regards, -- ChrisiPK (Talk|Contribs) 16:24, 12 December 2008 (UTC)
set the template to go first to the file prefix and if it's dos not exist go to image. File:Mozilla Firefox 2.0.0.11 in Kubuntu 7.10.png is referring to Commons:Deletion requests/Image:Mozilla Firefox 2.0.0.11 in Kubuntu 7.10.png instead of Commons:Deletion requests/File:Mozilla Firefox 2.0.0.11 in Kubuntu 7.10.png. Hidro (talk) 17:01, 12 December 2008 (UTC)
Well, the behaviour you are requesting is actually implemented right now. It works fine for me, so I cannot reproduce you problem. Have you tried purging the page? Regards, -- ChrisiPK (Talk|Contribs) 23:03, 12 December 2008 (UTC)
strange... never mind. Hidro (talk) 01:51, 13 December 2008 (UTC)

{{editprotected}}

This edit fixed the here link to reflect the new File: namespace. The deletion requests subpage link further down still needs to be corrected, though. See, for example, File:Bundesarchiv Bild 183-2008-0129-500, Ruhrtal, Überschwemmungen nach Luftangriff.jpg -- Prince Kassad (talk) 16:23, 13 December 2008 (UTC)

✓ Done, thanks for pointing this out. Regards, -- ChrisiPK (Talk|Contribs) 23:31, 13 December 2008 (UTC)

There is still one instance of Image: where it should be File: on this line:

  • # Visit the [[Commons:Deletion requests/{{{subpage|{{{2|{{#ifexist: Commons:Deletion requests/{{FULLPAGENAME}} | {{FULLPAGENAME}} | Image:{{PAGENAME}}}}}}}}}}|deletion requests subpage]], and place the following code:

It creates a deletion request starting with Image:, and if you copy-paste the delete3 template on the deletion log, it looks for a deletion request starting with File:. --Tryphon (talk) 17:23, 14 December 2008 (UTC)

Reading what I just wrote, I realize that it's not very clear; besides, maybe it's not this particular line that should be changed. So I'll give an example, the deletion request for File:FFFFOUNDsnapshot.jpg.
If you do it manually, the first step involves creating the request by following deletion request subpage link; it would create a request named Commons:Deletion_requests/Image:FFFFOUNDsnapshot.jpg.
Then on step two, if you copy-paste {{subst:delete3|pg=File:FFFFOUNDsnapshot.jpg}} on the deletion log, it tries to transclude Commons:Deletion_requests/File:FFFFOUNDsnapshot.jpg, which does not exist.
That's why I think something is wrong in this template, but I might not have spotted the right place. I hope it's a bit clearer with this example. --Tryphon (talk) 17:35, 14 December 2008 (UTC)
I know what you mean and I have already thought about this. Right now, it checks for a page with File. If it does not exist, it links to the page with Image. I could add, that if that does not exist either, it points to File, if you wish. Regards, -- ChrisiPK (Talk|Contribs) 20:46, 14 December 2008 (UTC)
Well, if it can be fixed in a simple way, without risking to break anything else, I think it would be a good idea. However, keep in mind that he vast majority of people use the link in the toolbox to nominate images for deletion (which is not affected by this issue), so it might not be worth it. It's your call, but I wanted to make sure the issue was known and could be dealt with if necessary. Best wishes. --Tryphon (talk) 21:21, 14 December 2008 (UTC)
✓ Done, I guess. Regards, -- ChrisiPK (Talk|Contribs) 21:49, 14 December 2008 (UTC)
I finally had a chance to test it, and it works perfectly now. Thank you. --Tryphon (talk) 11:22, 16 December 2008 (UTC)

[edit] hide=yes?

How about adding another param, hide=yes, for after the instructions are carried out? After all, once a user has completed the four steps, there is no need for the massively large template any more: we only need the red part at the top, and possibly a section about speedy? Microchip08 (talk) 19:47, 23 January 2009 (UTC)

How about removing the information completly and pointing users to COM:DR? IMHO it would be better if we had the instructions over there instead of on the template. Regards, -- ChrisiPK (Talk|Contribs) 20:54, 23 January 2009 (UTC)
How about making it collapsed by default? Like in {{hidden}}. Rocket000(talk) 04:28, 16 March 2009 (UTC)
Collapsing needs JavaScript, which needs CPU power. There's no frequently accessed information on there, as most users use the link in the sidebar anyway. Thus we don't need to load all the information on every image page load and can just store it somewhere else. Regards, -- ChrisiPK (Talk|Contribs) 22:16, 16 March 2009 (UTC)

[edit] broken

{{editprotected}}As of the latest revision, the link to the deletion discussion is broken. -- Prince Kassad (talk) 19:44, 31 January 2009 (UTC)

Should work now, I have reverted the autotranslation. If the issue persists, please report again. Thanks and regards, -- ChrisiPK (Talk|Contribs) 23:35, 31 January 2009 (UTC)

[edit] Sorting in category

{{editprotected}} This template use the deletion request subpage name as sortkey in the month category:

[[Category:Deletion requests {{{month|}}} {{{year|}}}|{{{subpage|{{{2|{{FULLPAGENAME}}}}}}}}]]

This causes problems when more than 200 files are in one deletion request. To fix this the pagename can be added to the sortkey to make them unique:

[[Category:Deletion requests {{{month|}}} {{{year|}}}|{{{subpage|{{{2|}}}}}}{{FULLPAGENAME}}]]

(Another possibility is to just remove the sortkey:

[[Category:Deletion requests {{{month|}}} {{{year|}}}]]

But that is a bigger change, and I assume there is a reason for using a sortkey) /Ö 10:57, 19 March 2009 (UTC)

✓ Done - let's hope I didn't break anything.  — Mike.lifeguard 01:02, 1 April 2009 (UTC)

[edit] Requested edit

{{Editprotected}}

I am requesting that a couple of corrections be made:

  • The link is not external, so the external link icon does not belong there.
  • The word "their" is plural. It is not possible for multiple people to create a page or upload a file. I propose that be changed to "his or her", which is singular.

To see a diff of the requested changes, please click here. For convenience, you can simply copy and paste the contents from the sandbox into the template. -- IRP 21:34, 10 April 2009 (UTC)

✓ Done I try not to use "his or her". It's kinda awkward. Thanks for pointing out these things. Rocket000 (talk) 23:06, 15 April 2009 (UTC)

[edit] Subpage parameter

{{editprotected}} According to the documentation, the subpage parameter is optional. If it is left blank, the page name of the nominated file is supposed to default in. This is not happening. Either the documentation should be changed to state the parameter is mandatory, or the template needs to be fixed. —Werewombat (talk) 22:21, 28 April 2009 (UTC)

I can not confirm this problem. Going to a random image and puting {{delete}} on it description page gives the red box with the (red) link to the subpage Commons:Deletion requests/File:....jpg in it. --Martin H. (talk) 22:37, 28 April 2009 (UTC)
I see the problem: {{delete|subpage=}} leads to problems, the subpage then goes to Commons:Deletion requests/. --Martin H. (talk) 22:44, 28 April 2009 (UTC)
Yup. Sorry if I was too brief. —Werewombat (talk) 04:40, 29 April 2009 (UTC)
AFAIK the MediaWiki software interprets this as a given parameter, so anything like {{{param|default}}} will always be empty in case the param is given without a value. I don't see how we should fix this; people should rather use the template in a correct way. So yes, the parameter is optional, but if you don't fill it in, then remove it completely. Regards, -- ChrisiPK (Talk|Contribs) 08:58, 29 April 2009 (UTC)
It is fixable, but the code will get even uglier. I don't think there's a need for this as ChrisiPK pointed out. If you all agree, please {{tl}} the editprotected template. Cheers, Waldir talk 09:46, 10 May 2009 (UTC)
tl'ed the template. I am already working on an autotranslated version of this template, which will get a totally new interface, so code changes will (hopefully) be language-independant and easier to implement. I think we can live with this minor flaw for now. Thanks for reporting, though. Best regards, -- ChrisiPK (Talk|Contribs) 16:55, 10 May 2009 (UTC)
If you're doing the autotranslation, I hope you're not planning on using something like {{autotranslate}} to do it. It's already complicated enough, passing around parameters will not help matters. Translators shouldn't have to worry about all the complicated syntax. I would simply switch out the text only. Not the whole template (and that way you don't need a /layout page either). Rocket000 (talk) 17:43, 10 May 2009 (UTC)
Well, it's not quite as easy, because there are links with complicated syntax in the text. I am planning on doing the link computations in the main template, which then calls a translated template (subpage /en etc. of main template), which contains the text and gets the already computed strings from the main template by param. This translated template then calls the layout template, passing the text as params and some other stuff (like a computed parameter whether the subpage is missing etc.). The layout template then computes which parts of the text to display (e.g. do we need "this is incomplete, because no subpage exists"?). Regards, -- ChrisiPK (Talk|Contribs) 18:42, 10 May 2009 (UTC)
It seems to me that my explanation is unneccesarily complicated. The basic essence is: Translators will not need to worry about computing links to subpages, error messages and the like. They will be given a param {{{subpage}}} or similar, which they can then use in the translated text. The complicated syntax will be in the other templates (main and layout), so translators won't have to worry about that. Regards, -- ChrisiPK (Talk|Contribs) 18:46, 10 May 2009 (UTC)

Thanks for all the attention to this. I understand the essence of the problem now and the workaround (though all this stuff about autotranslation is way over my head). This won't be a problem for me any more, but I would recommend rewriting the final paragraph of "How to use this template" thusly:

You only need to include the "subpage" parameter if you create the deletion request at a different subpage of Commons:Deletion requests than the image name. For example, if you nominate Image:Foo.jpg for deletion, and you will create the subpage Commons:Deletion requests/Image:Foo.jpg, then just skip the parameter. Do not, however, list the "subpage" parameter but leave it blank (i.e. nothing after the = ); doing so will cause the links within the template to function improperly.

If you nominate an image as part of a mass nomination, you will have to list and complete the "subpage" parameter. For example you nominate all the images uploaded by a particular user for deletion. Then instead of creating 50 different subpages, you create just one, Commons:Deletion requests/Images uploaded by User XYZ, and then on all of the relevant images, you put this template with the parameter subpage=Images uploaded by User XYZ.

Once again, thanks for the helpful response. —Werewombat (talk) 17:33, 11 May 2009 (UTC)

As I stated above (#hide=yes?), I think the detailed description should not be on the template itself, because this is way too much text, which way too few users actually need. As there have been no objections to this proposal so far, I will probably move the description part to some section of COM:DR or similar. I'll do this together with the autotranslation. Regards, -- ChrisiPK (Talk|Contribs) 21:06, 11 May 2009 (UTC)

[edit] Wrong date --> Wrong category:Deletion requests 05 2009

When the date is entered as a numerical, the "category:Deletion requests x 2009" is generated as can be seen here. --Foroa (talk) 16:32, 10 July 2009 (UTC)

I added a switch and surprisingly it works :)) Maybe someone can cleanup the code a bit, my switch is not very elaborated, I read about the #time switch in mediawiki, maybe this can used to switch from 1 or 01 to the monthname January. --Martin H. (talk) 17:13, 10 July 2009 (UTC)
Don't work yourself up on this, I am already preparing a new version of this template with cleaned up code and autotranslation on User:ChrisiPK/Template:Delete. Regards, -- ChrisiPK (Talk|Contribs) 18:35, 10 July 2009 (UTC)