@
Primefac: That's odd, but I think its a problem with the way the templates interact – the wikitext the script added was okay (i.e. it put {{collapse top}} in the right spot). I can't see any obvious reason it displayed like that – maybe ask at
WP:VPT? - Evad37[
talk02:55, 14 August 2016 (UTC)reply
I believe the issue is when the collapse bottom is not on a newline. I just fixed another one. In my opinion, we should really avoid collapsing relisted discussions since it (1) isn't necessary, (2) causes problems like this, (3) is bad for
WP:ACCESSIBILITY due to the extra clicks, (4) increases the post-expand include size, contributing to the fact that the last day doesn't appear on the main TFD page (search source for "WARNING: template omitted, post-expand include size too large"). Thanks!
Plastikspork―Œ(talk)12:52, 30 August 2016 (UTC)reply
@
Plastikspork: Thanks for the feedback, sounds like good reasons not to collapse the discussion. Can you clarify on what the desired behaviour would be?
WP:TFDAI#Relisting (which may be outdated) says to "remove or collapse the discussion", but I see in
your fix here did not remove them? - Evad37[
talk13:25, 30 August 2016 (UTC)reply
My preferred method (as is Plastikspork's if I remember correctly) is to remove the discussion. It saves on duplication and shortens the overall TFD list (if there are still open discussions on that particular day).
Primefac (
talk)
21:49, 30 August 2016 (UTC)reply
I relist by (1) copy the entire thread and section heading to the new day, (2) remove everything but the section heading on the old day (or everything but the {{tfd links}} since they leave anchors in the case that there are multiple templates), and close the now empty section on the old day page with a pointer to the new day. Here is an example of the two steps:
Step 1 and
Step 2. And, here is an example where I left the {{tfd links}}:
Step 1 and
Step 2. To make things less complicated, I would say leaving the {{tfd links}} in the closed thread is probably fine. Or, removing the old {{tfd links}} isn't a disaster either since it's just a matter of possibly broken incoming anchor links. Thanks!
Plastikspork―Œ(talk)00:07, 31 August 2016 (UTC)reply
Is there a way to make the rationale not appear bold and included with the delete result? I just had to remove a bunch of silliness because the {{Old TfD}} notice had "the result was..." and then gave the entire rationale (see
here and the edit summary
there for what I'm talking about).
Primefac (
talk)
19:27, 20 August 2016 (UTC)reply
@
Primefac: The second way is probably better, but requires a more substantial rewrite. For now, you can type ''' in the prompt box, between the result and any rationale or further comments (e.g. Keep.''' While the result appears the same, these two templates are used for very different purposes). This way, only the result will be bolded on TfD pages, and only the result will be put into the Old Tfd template. - Evad37[
talk01:46, 21 August 2016 (UTC)reply
If a template is ready for deletion (i.e. added to that section at the
Holding Cell, shouldn't {{db-xfd}} be added to the page instead of {{being deleted}}? Bit of a hassle to say it's ready to be deleted, and then go in and edit the page to add the CSD tags.
Primefac (
talk)
20:17, 20 August 2016 (UTC)reply
A while ago, I nominated of very large number of templates for merging. Since there were a large number of templates, I put most of them in a collapse box. Today,
Omni Flames relisted the debate using this script, and it only updated the links on the templates outside of the collapse box, leaving the links on the rest of the templates still pointing to the original day. This is a bug that should be fixed.
Pppery13:03, 5 September 2016 (UTC)reply
Noted. Similar issues occur when other markup that disrupts the standard list format is used, such as linebreaks between list items. The challenge is to detect links to templates which are part of the nomination, but exclude other links that may just be part of the discussion. I haven't yet come up with a solution. - Evad37[
talk03:28, 19 September 2016 (UTC)reply
Relisting gives strange error
Resolved
Methinks that some spaces should be turned into underscores on the Relist script. When I relist a discussion it gives the message "Closed as Relisted on
2016 September 18 (reload page to see the actual close)." I'm guessing that instead of Wikipedia:Templates_for_d... it's putting Wikipedia:Templates for d....
Primefac (
talk)
02:13, 18 September 2016 (UTC)reply
Is there a way to skip the Holding Cell stage? I closed a discussion as "redirect", which took one edit to implement, and then I had to go over to the Holding Cell to remove the entry, which took a lot more clicks. If not, that's fine, but I thought I'd ask.
Primefac (
talk)
23:30, 27 September 2016 (UTC)reply
Never mind. Something like "redirect" should be a "keep/other" not a "delete/other". Now that I've realized this, I'm not sure there's a need to skip the Holding Cell for (proper) delete/others.
Primefac (
talk)
02:19, 28 September 2016 (UTC)reply
Yeah, the extra "Template:" was the problem. I'm not immediately sure how this can be solved, but I'll start thinking about it. - Evad37[
talk08:47, 28 September 2016 (UTC)reply
I listed some templates
on 4 Nov. It doesn't have "Template" in the section header, the first template uses {{tfd links}}, and I've put the other 86 inside {{cot}}/{{cob}} (for obvious reason). Is there some combination of the above that makes it so the script doesn't recognize there are template there? I completely understand not reading the ones in cot/cob (especially since they're just template links and not tfd links), but I put the one up top in an attempt to make it closable.
Primefac (
talk)
04:11, 4 November 2016 (UTC)reply
The script expects that, when it detects only one link, it is a single template nomination – as such, it expects the heading to be page title, including "Template:". The script then does a "sanity check" to make sure it's in Template: namespace, and that fails because "Latest preview release templates" is not. The TFD section should still be close-able using the script, but the templates / template_talk pages will need to be edited or deleted manually. - Evad37[
talk05:18, 4 November 2016 (UTC)reply
That makes sense, and with only the top template using tfd links I would need to be closing everything manually anyway. But things like this are reasons I keep doug's script around ;)
Primefac (
talk)
13:55, 4 November 2016 (UTC)reply
Deleting every other template
Resolved bug
– and feature request (deletion of talk pages) noted
@
Plastikspork: Should be fixed now. I was filtering out every second span before, because of those spurious ones. When they disappeared, that filter translated into filtering out every second template, hence why only every other one was deleted. - Evad37[
talk01:43, 25 December 2016 (UTC)reply
on a related note, does this script delete the talk page as well? seems like that would be a useful button to have if it's not there already. thank you again.
Frietjes (
talk)
15:46, 25 December 2016 (UTC)reply
New feature: Now compatible with collapse templates
After I moment of inspiration/enlightenment this morning, I finally figured out how to get the script to function properly when some of the nominated templates have been collapsed with {{cob}}&{{cot}}, or similar templates. Just make sure that at least one * {{Tfd links... line stays out above, and the script should detect the collapsed ones. This should solve a months-old bug, mentioned above in
§ Relisting issue and
§ Jackpot of missed signals?. Cheers and merry xmas, - Evad37[
talk04:15, 25 December 2016 (UTC)reply
As of this particular moment I am unable to relist
this TFD. Not sure if it's because it's the top template or something else, but it doesn't look like there's anything different about it (compared to other noms).
Primefac (
talk)
00:26, 6 January 2017 (UTC)reply
The quick delete/keep options don't add a full stop after the delete rationale (so it shows up as Delete Name). It's a minor thing, but it bothers me :p
Primefac (
talk)
01:33, 17 January 2017 (UTC)reply
@
Primefac: I see that there's been some recent edits to
Module:TfdLinks. I havcen't got time to investigate now, but that's likley the caused the script to grab a mid-dot character instead of the template name. (Perhaps I should add twinkle-style "if you change anything, please let me know" notices to template/module docs) - Evad37[
talk00:56, 25 January 2017 (UTC)reply