Jump to content

Template talk:Cleanup

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Strange behavior of the 'section' parameter

[edit]

In Special:Diff/825313685 to B-tree I got an invalid, misformatted link to editing a section in the phrase 'Please help improve this section if you can'.

Apparently this was caused by the 'section' parameter with whitespace spanning across lines – the problem automagically disappeared when I brought the closing vertical bar to the same line in the next edit Special:Diff/825352957. --CiaPan (talk) 23:02, 12 February 2018 (UTC)[reply]

Use "fix" for better mobile display

[edit]

Per mw:Recommendations_for_mobile_friendly_articles#Limit_page_issue_to_two_lines_of_text this template should make use of the "fix" ambox property to clearly separate the "reason" from the "issue" and use "hide-when-compact". By not doing so, when viewing Transport in Brazil on a mobile display, the text is cut off abruptly. I've added Category:Templates_that_are_not_mobile_friendly to this template while this remains unfixed. Jdlrobson (talk) 18:35, 21 November 2018 (UTC)[reply]

Template-protected edit request on 13 April 2019

[edit]

To my mind, in the default output notification "The specific problem is: … Please help …", a period should be added before Please help. (Please be so kind as to ping me when answering. Thanks a lot in advance!) Regards--Hildeoc (talk) 20:20, 13 April 2019 (UTC) Hildeoc (talk) 20:20, 13 April 2019 (UTC)[reply]

 Not done: Hildeoc, A few years ago the template was updated so that the |reason= parameter became mandatory. The first example given in the doc shows the use of a full stop. Including a default full stop would mess up the presentation when someone has a more puzzled reason? or a more emphatic reason! If you feel it's not made clear, please update the documentation. Cabayi (talk) 07:22, 14 April 2019 (UTC)[reply]

Template-protected edit request on 24 September 2019

[edit]

Can anybody provide support for this issue regarding the template documentation?--Hildeoc (talk) 17:16, 24 September 2019 (UTC) Hildeoc (talk) 17:16, 24 September 2019 (UTC)[reply]

@Hildeoc: Are my changes to the sandbox (see Template:Cleanup/testcases#Test of missing reason parameter only) what you're asking be done? * Pppery * it has begun... 17:28, 24 September 2019 (UTC)[reply]
@Pppery: Yes, exactly! Thanks a lot! Best wishes--Hildeoc (talk) 17:30, 24 September 2019 (UTC)[reply]
 Done * Pppery * it has begun... 17:34, 24 September 2019 (UTC)[reply]

Template-protected edit request on 26 September 2019

[edit]

With regard to transclusions of this template, I would recommend adding a period at the end of the reason= parameter, so as to make sure a period is rendered by default before the subsequent parameter default phrases, which bar none seem to begin with capitals (e. g. "Please help improve this article if you can" or "Relevant discussion may be found …").--Hildeoc (talk) 19:29, 26 September 2019 (UTC) Hildeoc (talk) 19:29, 26 September 2019 (UTC)[reply]

 Not done: See above. – Jonesey95 (talk) 21:20, 26 September 2019 (UTC)[reply]

Does anybody maintain this template?

[edit]

When one puts e. g.

{{cleanup|reason=primary sources|garbage dump}}

one gets interesting results:

Is the template supposed to work like that? --Ouro (blah blah) 10:32, 8 March 2024 (UTC)[reply]

@Ouro: You may want to see the template's history and its doc page history to see if, who and how often does anything about the template. --CiaPan (talk) 11:32, 8 March 2024 (UTC)[reply]
BTW, templates are not meant to be fool- and vandal-proof. Instead, users are supposed to not be fools or vandals. CiaPan (talk)
Edited the question a bit. --CiaPan (talk) 17:18, 13 March 2024 (UTC)[reply]
Yes, it is supposed to work like that. The unnamed parameter |1= is documented as changes the default descriptor. Whatever is put into that parameter appears after the word "this" in the rendered template. – Jonesey95 (talk) 19:05, 13 March 2024 (UTC)[reply]