Template talk:Category for discussion

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

"add entry" link[edit]

{{Editprotected}} Why does it link to a subcategory (currently Category:Categories for discussion/Current requests/2007/09) rather than the more appropriate Commons subpage (currently Commons:Categories for discussion/Current requests/2007/09) referred to by the "this category's entry" link? Please fix that. Thanks.   — Jeff G. (talk|contribs) 16:43, 16 September 2007 (UTC)[reply]

✓ Done - thanks for changing the protection level, Bryan!   — Jeff G. (talk|contribs) 17:56, 23 September 2007 (UTC)[reply]

add entry again[edit]

What exactly is that link supposed to do? The way it looks now, it encourages adding the discussion directly to the monthly page, which, I think, isn't what is wanted. Shouldn't the link rather create a new subpage? --rimshottalk 13:44, 16 October 2007 (UTC)[reply]

Survey???[edit]

There is a March 2008 note about not changing this template until some survey is completed. The instructions in the template are simply wrong, and don't match how {{Cfd2}} works. Why on earth shouldn't we fix this so at least it isn't telling people to do the wrong thing? - Jmabel ! talk 18:21, 8 July 2008 (UTC)[reply]

Could you provide a link to that note ? Teofilo (talk) 07:34, 14 July 2009 (UTC)[reply]

Add a preload link using template:cfd2[edit]

{{Editprotected}}

New version :

New code[edit]

<noinclude>{{must be substituted}}</noinclude><div class="boilerplate metadata" id="cfd" style="margin: 0 5%; padding: 0 7px 7px 7px; background: #FFFCE6; border: 1px solid #aaa; text-align: left; font-size:95%;">
'''This category is being discussed in accordance with Commons's [[Commons:Categories for discussion|Categories for discussion policies]][[Template:Cfd|.]]''' {{#if:{{{1|}}}|This nomination is part of a discussion of several related categories.}} This does '''''not''''' mean that any of the '''pages''' or '''files''' in the category will be deleted. They may, however, be recategorized.<br />
Please share your thoughts on the matter at '''[[Commons:Categories for discussion/Current requests/{{{year}}}/{{{month}}}/{{#if:{{{1|}}}|{{{1}}}|Category:{{PAGENAME}}}}|this category's entry]]''' on the [[Commons:Categories for discussion|Categories for discussion]] page.
Please do not empty the category or remove this notice while the discussion is in progress.<br /><!--

-->{{#ifexist:Commons:Categories for discussion/Current requests/{{{year}}}/{{{month}}}/{{#if:{{{1|}}}|{{{1}}}|Category:{{PAGENAME}}}}
|<!--exists-->
|<!--not created yet-->
{{{!}}
{{!}}-bgcolor="#afffff"
{{!}}After saving the category page with < n 
o w i k i>{{subst:cfd}}</ n o w i k i>, please use [http://commons.wikimedia.org/w/index.php?action=edit&preload=Commons%3ACategories+for+discussion%2Fpreload&editintro=Commons%3ACategories+for+discussion%2Feditintro&summary=&minor=&title=Commons%3ACategories+for+discussion%2FCurrent+requests%2F{{{year}}}%2F{{{month}}}%2FCategory%3A{{PAGENAMEE}} this link] to start the discussion page.
{{!}}}
}}
</div><includeonly>{{{category|[[Category:Categories for discussion|{{PAGENAME}}]][[Category:CfD {{{year}}}-{{{month}}}]]}}}</includeonly><noinclude>
See [[Commons:Categories for discussion|Categories for discussion]] for usage of this template.
[[Category:Category maintenance templates|{{PAGENAME}}]]
</noinclude>

approximate rendering[edit]

rendering (more or less, because it needs to be used on an actual category page, not on a talk page like here):

See Categories for discussion for usage of this template. [[Category:Category maintenance templates|{{PAGENAME}}]]


testing[edit]

to test this new version, add {{Template talk:Category for discussion|year=2009|month=07}} at the top of any category page and click on the "show preview" button. Teofilo (talk) 08:52, 14 July 2009 (UTC)[reply]

Teofilo (talk) 08:39, 14 July 2009 (UTC)[reply]

I replaced the code, but it was only semi-protected so it wasn't needed to place a editprotected template :) Huib talk 18:20, 14 July 2009 (UTC)[reply]
That's true ! Thank you. Fortunately that enabled me to correct a few mistakes I had forgotten to correct in the code I provided above. Teofilo (talk) 19:19, 14 July 2009 (UTC)[reply]

Todo list[edit]

  • Make it easier to use it for listing multiple categories (e.g. sample).
-- User:Docu at 08:29, 6 September 2009 (UTC)[reply]

Please see Commons_talk:Categories_for_discussion#"current_requests"_subpage. -- User:Docu at 06:23, 10 September 2009 (UTC)[reply]

Question[edit]

I offer a daily web cartoon via my http://danscartoons.com/cotd/dailycartoon.php and want to provide it via my account. How is this achieved? — Preceding unsigned comment added by Danscartoons (talk • contribs)

Try Commons:help desk. -- User:Docu at 07:24, 14 December 2009 (UTC)[reply]

Renaming categories that contain cfd templates[edit]

see Commons:Village pump/Proposals#Renaming categories that contain cfd templates. --Achim (talk) 13:18, 27 June 2015 (UTC)[reply]

Substitution?[edit]

Does this template really need to be substituted as the instructions indicate? Because in practice, is rarely/never is. Thanks. - Themightyquill (talk) 06:49, 3 April 2016 (UTC)[reply]

Include category name when nominating?[edit]

Currently, if you click nominate for discussion the automated system adds {{Category for discussion|1=|month=05|year=2016}} to the category page. I was wondering if it would be possible to include, by default, the name of the category being nominated, ie. {{Category for discussion|1=Category:Category being nominated|month=05|year=2016}}. That way, if the category is moved, the link to the CFD page won't be lost. As a side benefit, it would also make it easier for copying and pasting the template to related categories under discussion. Thanks. - Themightyquill (talk) 18:13, 31 May 2016 (UTC)[reply]

Experienced problems with moved CFD categories too, ✓ fixed now.    FDMS  4    21:05, 31 May 2016 (UTC)[reply]
Thanks so much, FDMS4. That's great! - Themightyquill (talk) 07:10, 3 June 2016 (UTC)[reply]

Rewording[edit]

Per the discussion at Commons:Categories for discussion/2020/05/Category:Tonic: The text in {{Category for discussion}} should be updated from, "Please do not make major changes to this category or remove this notice until the discussion has been closed." to, "Please do not make major changes to this category, nor categories and page related to this discussion, or remove this notice until the discussion has been closed." Hyacinth (talk) 06:36, 8 July 2020 (UTC)[reply]

Defaults for month and year[edit]

Hello, to make the usage of the template more easy, I propose the following changes:

 |2type    = line		→ number
 |2def     = 			→ {{CURRENTMONTH}}
 |2stat    = required		→ optional-
 |3def     = 		 	→ {{CURRENTYEAR}}
 |3stat    = required		→ optional-
  • Default values for parameter 2 and 3: {{CURRENTMONTH}} and {{CURRENTYEAR}}
  • in this way we can set the stat values for 2 and 3 to optional-, like it is for parameter 1
  • change type values for paramter 3 to number, like it is for Parameter 2

Regards --W like wiki good to know 22:40, 24 January 2023 (UTC)[reply]

It won’t work: {{CURRENTMONTH}} shows the month when the template is displayed (parsed), not when it was inserted. If it was the default, all pages not explicitly specifying a parameter would end up in Category:CfD 2023-01 and link to subpages of Commons:Categories for discussion/2023/01 (including years-old ones), which is clearly not what we want. Also, number is not right for the month, as number is a simple integer (e.g. 1), but the template expects a zero-padded integer (01). —Tacsipacsi (talk) 00:15, 25 January 2023 (UTC)[reply]