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)

Picture[edit]

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]

{{editprotected}}

Move the period by replacing:

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

With:

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]

{{editprotected}}

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]

{{sudo}}

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)

 Done --CapitalR (talk) 01:51, 17 March 2009 (UTC)

Wha?[edit]

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)

 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)

Edit requests: expand width and standardize section templates! Add Category:Wikipedia section templates. And it's not showing on mobile Wikipedia.[edit]

The template looks ridiculously bad on any monitor that's larger than 300px and needs to be changed ASAP!
It looks crammed, like frightened from taking too much space and really, really bad and archaic. And it looks even worse when there's a normal, widespan template like {{Unreferenced section}} before or after it.

The same applies to {{Expand section}}, {{Empty section}}, {{Very long section}}. I also created edit requests on the talk pages of these pages. For a centralized general discussion please do not reply here but here instead.

They should all get standardized to one template-style - a reasonably good looking one.

→ They should be made to look like {{Unreferenced section}}, {{Refimprove section}}, {{Original research section}} and {{Summarize section}}.


Furthermore the new Category:Wikipedia section templates should be added to the template.

And lastly I just checked it on my mobile device and I can see the note neither on the mobile version of Wikipedia nor the mobile app. I'm not sure if this is an issue of the template or a technical issue? Because article hatnotes seemed to always show fine - for them it says "Page issues" (which can be shown/expanded by a click on it) - hence for sections it should say "Section issues". If this is a template-level issue I'll create a separate thread on that later so that this edit request can be resolved in its entirety right now.

--Fixuture (talk) 02:02, 8 January 2017 (UTC)

Not done: please establish a consensus for this alteration before using the {{edit template-protected}} template. Also, {{edit template-protected}} is usually not required for edits to the documentation, categories, or interlanguage links of templates using a documentation subpage. Use the 'edit' link at the top of the green "Template documentation" box to edit the documentation subpage. — JJMC89(T·C) 05:19, 8 January 2017 (UTC)