Template talk:AfC comment

Latest comment: 2 years ago by Primefac in topic Edit request 16 November 2022

trouble pasting URL inside this template

edit

Wanted to do this:

  • {{afc comment|Please see this preliminary discussion of notability.[https://en.wiki.x.io/w/index.php?title=User_talk:Timtrent&oldid=678163636#WP:OTHERPARENT_request_.2C_w.r.t._Draft:Jack_Flanagan_.28New_Hampshire_politician.29] Thanks, ~~~~ }}

Observed behavior:

Expected behavior:

  • should work as expected, should not display misleading error-message.  ;-)    

Workaround:

Please fix the error-message, so it doesn't claim "no comment specified" when clearly I was trying to specify a comment, and of course, please also fix the template so that it accepts (without error) the kind of comment-text I was trying to specify, thanks, 75.108.94.227 (talk) 19:32, 27 August 2015 (UTC)Reply

Strange.... {{afc comment|1=Please see this preliminary discussion of notability.[https://en.wiki.x.io/w/index.php?title=User_talk:Timtrent&oldid=678163636#WP:OTHERPARENT_request_.2C_w.r.t._Draft:Jack_Flanagan_.28New_Hampshire_politician.29]}} produces   Comment: Please see this preliminary discussion of notability.Special:PermanentLink/678163636#WP:OTHERPARENT request , w.r.t. Draft:Jack Flanagan (New Hampshire politician), weird.... I'll take a peek and see what's happening. Mdann52 (talk) 19:20, 28 August 2015 (UTC)Reply
Just to reply to this, it appears the error is being called from the "oldid=678163636" section – if no parameter is specified, it gets very confused and assumes this is what you intended. The only real solution is to include a 1= at the start – I don't think I can code it in a specific way to negate this. Mdann52 (talk) 19:42, 28 August 2015 (UTC)Reply
Good enough workaround for my purposes, thanks much. Can the errmsg be fixed, to say something like "There was no comment-text detected, try saying {{afc_comment|1=YourCommentGoesHere}}" instead of the current not-very-helpful message? And prolly the helpdocs should suggest using "1=" as the default, so that unwary beginners … or well, even not-that-unwary not-that-beginner folks like me … don't assume that the non-parameterized flavor of template-usage will Just WorkTM. 75.108.94.227 (talk) 15:35, 29 August 2015 (UTC)Reply
I've updated the template-specific-helpdocs, to suggest using 1= by default, and also added a new bit of prose about using the simplified syntax sans 1= portion, with the workaround of using 1= should that fail to work as expected. Would still like to see the errmsg itself modified to be less misleading, but not sure how to make that docfix... "no comment specified" is not always the case so some weasel-wording like "no comment-text was detected by the template-bot" would be preferable methinks. 75.108.94.227 (talk) 17:21, 31 August 2015 (UTC)Reply

Per the above, can this template be changed to [[File:Symbol opinion vote.svg|20px]] <span style=font-weight:bold>Comment:</span> {{{1|{{red|Error: There was no comment detected! Please follow the instructions at [[Template:Afc comment]].}}}}}<noinclude>{{Documentation}}</noinclude> please? Thanks, Mdann52 (talk) 18:04, 31 August 2015 (UTC)Reply

  Done --Ahecht (TALK
PAGE
) 21:15, 31 August 2015 (UTC)Reply
edit

I propose we add a self link to the template so that people accidentally using the wrong kind of parameter can easily access the template documentation. HeatIsCool (talk) 01:43, 21 December 2015 (UTC)Reply

@HeatIsCool: The template has linked back to the documentation when the parameter is excluded since 2013. --Ahecht (TALK
PAGE
) 16:17, 11 August 2016 (UTC)Reply

Add category request

edit

Request this template be added to Category:Draft namespace templates. Jonpatterns (talk) 09:10, 11 August 2016 (UTC)Reply

@Jonpatterns:   Done --Ahecht (TALK
PAGE
) 16:14, 11 August 2016 (UTC)Reply
edit

When reviewers review a resubmitted draft, they take into account any afc comments. However, these comments often relate to an earlier version of the draft, which may be substantially different from the current one. To make it easier for reviewers to evaluate the relevance of afc comments and ascertain the extent to which the issues identified in them have been addressed, wouldn't it help if each comment was automatically prefixed by a link to the corresponding revision of the page? Or even better, a link to the diff between that revision and the current one? – Uanfala (talk) 01:55, 2 January 2018 (UTC)Reply

Template-protected edit request on 27 July 2018

edit

I suggest for the image to be unlinked - just replace [[File:Symbol opinion vote.svg|20px]] with [[File:Symbol opinion vote.svg|20px|link=]]. This is because the template is simply displaying a comment that contains the image as simply a symbol, it doesn't mean to have it as an actual picture display (if that makes any sense :P). See {{Comment}}, {{warnsign}}, {{done}}, and many other similar templates - none of them link their images. SkyGazer 512 Oh no, what did I do this time? 00:31, 27 July 2018 (UTC)Reply

  Done, since that image is public-domain. Enterprisey (talk!) 05:49, 27 July 2018 (UTC)Reply

Template-protected edit request on 21 March 2019

edit

Please replace with the current version of the sandbox (diff) to add a second parameter (see testcases for examples) to customize the "Comment:" as something else (eg note: ...). Thanks, --DannyS712 (talk) 04:39, 21 March 2019 (UTC)Reply

  Done Please update the documentation. Cabayi (talk) 07:23, 21 March 2019 (UTC)Reply

Template-protected edit request on 12 September 2019

edit

Please include the <noinclude>{{Documentation}}</noinclude> in a diffrent line. The template currently doesn't show the doc in green. See the sandobox changes [1] after [2] ___CAPTAIN MEDUSAtalk 16:30, 12 September 2019 (UTC)Reply

  Done DannyS712 (talk) 16:49, 12 September 2019 (UTC)Reply

Template-protected edit request on 13 September 2019

edit

Please replace with the current version of the sandbox [3] which notifies users to add a comment. ___CAPTAIN MEDUSAtalk (We are the champions, my friends) 11:19, 13 September 2019 (UTC)Reply

  Not done: You can't ping yourself. — JJMC89(T·C) 06:10, 14 September 2019 (UTC)Reply

Template-protected edit request on 7 August 2020

edit

Please copy the sandbox over to the main template - the changes there allow for multi-line comments to keep their indentation level. LittlePuppers (talk) 05:40, 7 August 2020 (UTC)Reply

To editors LittlePuppers and DESiegel:   done, and good catch! P.I. Ellsworth  ed. put'r there 07:56, 7 August 2020 (UTC)Reply

Template-protected edit request on 14 August 2020

edit

Refining the work from the previous change, if you could copy the sandbox over it now replaces any amount of new lines with one {{pb}} (directly invoking Module:String to use regex). LittlePuppers (talk) 15:48, 14 August 2020 (UTC)Reply

To editor LittlePuppers:   done. P.I. Ellsworth  ed. put'r there 16:16, 14 August 2020 (UTC)Reply

Borked template with recent page move

edit

@Primefac: The incoming redirects that became double redirects need fixing. At this moment {{afc comment}} does not work, since it is accessing a double redirect. Since it is a protected page, I suspect the bot won't fix it, though I could be wrong. I expect many afc comments are looking odd right now. -- 65.92.244.147 (talk) 16:23, 18 November 2020 (UTC)Reply

Posting this in five different places isn't going to make me see it any faster. Already   Fixed. Primefac (talk) 18:35, 18 November 2020 (UTC)Reply
It isn't posted in 5 different places. It is only posted on this talk page, to you, as this is the talk page for that redirect (centralized discussion); and to WPAFC (the wikiproject involved), for anyone else who might fix it (as it is a WPAFC template). -- 65.92.244.147 (talk) 04:59, 19 November 2020 (UTC)Reply
If you are referring to AFCcomment and SUBMIT, being two different templates, and AFAIK aren't used in the same circumstances. (ie. AFCcomment is not used by the article wizard process per se. it is used on its own, in commenting for several different processes). -- 65.92.244.147 (talk) 04:58, 19 November 2020 (UTC)Reply

Potential bug with declined pages?

edit

See https://en.wiki.x.io/w/index.php?title=Draft:Jessaja_Mweshipopya&oldid=992072212

Already declined page unable to add comments with templates.RonaldDuncan (talk) 09:56, 3 December 2020 (UTC)Reply

RonaldDuncan, not a bug, a GIGO issue; you used |2= instead of |1= when you left your comment. Primefac (talk) 10:39, 3 December 2020 (UTC)Reply

Signature randomly breaks

edit

When I use my signature in this template, it completely breaks (see [4]). I use this code for my signature: — Yours, {{SUBST:font colour|black|'''''Berrely'''''|link=User:Berrely}} {{SUBST:font colour|#B3000C|(🎅 Ho ho ho! 🎄)}} • [[User talk:Berrely|{{SUBST:sup|Talk}}]]∕[[Special:Contributions/Berrely|{{SUBST:sub|Contribs}}]], and it looks fine on all pages, outputting something like — Yours, Berrely (🎅 Ho ho ho! 🎄) • Talk∕Contribs 13:12, 16 December 2020 (UTC). However, in this template, it outputs as — Yours, Berrely <span style="color: #B3000C;">(🎅 Ho ho ho! 🎄) • Talk∕Contribs 14:47, 16 December 2020 (UTC). Any idea why? — Yours, Berrely (🎅 Ho ho ho! 🎄) • TalkContribs 14:56, 16 December 2020 (UTC)Reply

@Berrely: See WP:SIG#NT. You're substing templates to get around the length requirement, which is a violation of the signature policy (since your signature expands to 262 characters). Even if you brought the length down, substitution of tempaltes in signatures is discouraged. Try using the following instead, which comes in just under the limit at 253 characters: — Yours, [[User:Berrely|<span style="color:#000">'''''Berrely'''''</span>]]&nbsp;<span style="color:#B01">(🎅&nbsp;Ho&nbsp;ho&nbsp;ho!&nbsp;🎄)</span>&nbsp;•&nbsp;[[User talk:Berrely|<sup>Talk</sup>]]∕[[Special:Contributions/Berrely|<sub>Contribs</sub>]] ----Ahecht (TALK
PAGE
) 17:29, 16 December 2020 (UTC)Reply
Agreed with the above; it's not a problem with this template. Primefac (talk) 18:32, 16 December 2020 (UTC)Reply
Ah thanks. I wasn't trying to get around the limit, just though it was easier to type, but thanks for highlighting the problem! — Yours, Berrely (🎅 Ho ho ho! 🎄) • TalkContribs 19:22, 16 December 2020 (UTC)Reply

I want to embed a Template:Source assess table in an AfC comment but can't

edit

Basically the title. I found the Template:Source assess table to be pretty neat and I want to use it to break down sources to make it clearer to submitters why their sourcing is bad. Unfortunately, I can't nest the template in the AfC comment template which I found out the hard way when I tried to do so in the following diff. [5] I said "screw it" in that particular case and just split the table from the AfC comment, but I doubt this is a good solution and I won't do it in the future for any other submissions. That being said, I was wondering if there was any way I could use this table in AfC comments since I'd really like to. Chess (talk) (please use {{reply to|Chess}} on reply) 05:21, 19 December 2021 (UTC)Reply

Edit request 16 November 2022

edit

Description of suggested change: Wrap in {{Main other}} to hide the comments in mainspace. Diff:

Line 1: Line 1:
*[[File:Symbol opinion vote.svg|20px|link=]] <span style=font-weight:bold>Comment:</span> {{#if: {{{1|}}} {{Main other||*[[File:Symbol opinion vote.svg|20px|link=]] <span style=font-weight:bold>Comment:</span> {{#if: {{{1|}}}
|{{#invoke:String|replace|{{{1}}}| |{{#invoke:String|replace|{{{1}}}|
+|{{paragraph break}}||false}} +|{{paragraph break}}||false}}
|{{red|Error: There was no comment detected! Please follow the instructions at [[Template:AfC comment]].}} |{{red|Error: There was no comment detected! Please follow the instructions at [[Template:AfC comment]].}}
}}{{#if:{{{2|}}}|[[Category:AFC drafts using comment template with second parameter]]}}<noinclude> }}{{#if:{{{2|}}}|[[Category:AFC drafts using comment template with second parameter]]}}}}<noinclude>
{{Documentation}} {{Documentation}}
</noinclude> </noinclude>

Qwerfjkltalk 07:17, 16 November 2022 (UTC)Reply

Not to ask the dumb question, but is this necessary? If anything we should just add a tracking cat like we do for {{AfC submission}} when it's in the wrong namespace. Primefac (talk) 08:54, 16 November 2022 (UTC)Reply
...or that. I don't mind. — Qwerfjkltalk 16:21, 16 November 2022 (UTC)Reply
  Done. Primefac (talk) 11:15, 21 November 2022 (UTC)Reply