Template talk:Cleanup section

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Test current version[edit]

Template:Cleanup section(edit talk links history)

The below is a validation test of the code:
{{Cleanup section|{{subst:DATE}}}}

[template removed as it was creating an otherwise redundant monthly cleanup category]

The above will keep a fixed date, hereafter // FrankB 01:53, 2 April 2007 (UTC)


There is a picture on Template:Cleanup. Why isn't it on this template also?

Broom icon.svg

Maybe this template should be protected also.

-- Kl4m Talk Contrib 01:02, 22 August 2007 (UTC)

Move period[edit]


Move the period by replacing:

can{{#if:{{{date|}}}|'' ({{{date}}})''|}}.</small>


can. {{#if:{{{date|}}}|''({{{date}}})''|}}</small>

Gary King (talk) 22:11, 24 July 2008 (UTC)

Done - Trevor MacInnis (Contribs) 23:30, 24 July 2008 (UTC)

Merge to {{cleanup}}[edit]


There's no need for this to be maintained separately from {{cleanup}}. Requesting sync with the new sandbox to unify this with the parent template. Chris Cunningham (not at work) - talk 16:07, 16 February 2009 (UTC)

Sandbox does not work. You can't use optional parameters like that. --- RockMFR 17:40, 16 February 2009 (UTC)
Fixed. Test cases. Re-requesting. Chris Cunningham (not at work) - talk 18:01, 16 February 2009 (UTC)
Yes check.svg Done. Why aren't you an admin yet.... Cheers. --MZMcBride (talk) 08:18, 20 February 2009 (UTC)

New ambox style[edit]

A new ambox-small-left style has been finalized for section notices and I believe this template would be a good candidate for it. I took the liberty of updating the sandbox with the new style. --Blooper (Talk) 02:11, 12 March 2009 (UTC)

Right, we are about to add a "small=left" parameter that will make {{ambox}} show as a small left-aligned box, like this:
See Template talk:Expand-section#More subtle style for the style discussion. And see Template talk:Mbox#Left-aligned small box for the technical discussion.
Blooper: As I wrote over at the other discussions: I think we should deploy your sandbox version to {{cleanup section}} right away. Thus more people will see this new design and have a chance to react, before we deploy it to {{ambox}} itself.
I just noticed that this template is protected and that you Blooper are not an admin. So I deployed your /sandbox code to the template for you.
--David Göthberg (talk) 13:08, 12 March 2009 (UTC)

Update request[edit]


Please update this template with the new code at the sandbox that makes use of the ambox's small parameter instead of a hardcoded style. Thanks. --Blooper (Talk) 01:11, 17 March 2009 (UTC)

Yes check.svg Done --CapitalR (talk) 01:51, 17 March 2009 (UTC)


What consensus was there for moving this to a new style? I strongly contest this change. On one hand we were on our way to template standardization and whap, here you come with this odd mini-template. I strongly request an admin revert the change until further discussion.--Ipatrol (talk) 21:16, 18 March 2009 (UTC)

See Template talk:Expand-section#More subtle style. --Blooper (Talk) 21:36, 18 March 2009 (UTC)

Section name as parameter[edit]

What about adding section name as a parameter, so that Edit link opens only the specified section? I know that you can simply use the usual Edit section link in the section header, but if the Edit button is already here in the template, why not enhance it? --Dmitry (talkcontibs ) 18:19, 23 June 2010 (UTC)

Protection template[edit]

{{edit protected}} Remove redundant protection template, please. --Bsherr (talk) 00:15, 23 September 2010 (UTC)

Yes check.svg Done, but not really a necessary edit. — Martin (MSGJ · talk) 16:29, 23 September 2010 (UTC)
Reduces the size of the template by 20%, doesn't it? --Bsherr (talk) 16:32, 23 September 2010 (UTC)
No. Rich Farmbrough, 15:20, 23 May 2011 (UTC).

Template problems[edit]

Current some, not sure how many, articles tagged with this template have a problem. Look at Noorduyn Norseman, Politics of Armenia and Albert Camus. All of them are in the non-hidden, redlinked category Category:All articles needing cleanup and Category:Wikipedia articles needing cleanup from June 2008, Category:Wikipedia articles needing cleanup from December 2009 and Category:Wikipedia articles needing cleanup from March 2008. I checked a few other articles and they also have the same problem. Enter CBW, waits for audience applause, not a sausage. 11:42, 30 September 2010 (UTC)

Never mind it was this that caused it. Enter CBW, waits for audience applause, not a sausage. 12:04, 30 September 2010 (UTC)

Category problem[edit]

For some reason articles tagged with {{cleanup section}} end up in Category:Cleanup tagged articles without a reason field from May 2012 even if they have a reason specified. See Majhail, Chennai Super Kings and Hydraulic fracturing for examples. Could someone more familiar with template function be able to fix this. Cheers AIRcorn (talk) 03:04, 28 May 2012 (UTC)

Think I've fixed this for you. — Martin (MSGJ · talk) 07:08, 28 May 2012 (UTC)
Looks like it. Cheers AIRcorn (talk) 07:12, 28 May 2012 (UTC)
I've also converted this template to a wrapper for {{cleanup}}, so any changes/improvements to that template will be reflected here. — Martin (MSGJ · talk) 07:17, 28 May 2012 (UTC)