Template talk:Article for deletion/Archive 4

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.
Archive 1 Archive 2 Archive 3 Archive 4 Archive 5 Archive 6 Archive 8

Let's get rid of subst

I've read all the past discussions about using subst: on this template. I was in support of subst: myself a long, long time ago. But it seems to me that virtually all the arguments there are left are weak at best:

  • "Reduces server strain" - hardly. We have thousands of pages tagged with NPOV, Cleanup, Stub notices, navigation bars, infoboxes -- all of them not using subst:. The AfD pages are not in any way special here. Server strain would be an issue if the template was edited daily. This is not the case.
  • "Could be vandalized" - true for all templates. Can be protected if necessary.
  • "Links break when not using subst:" - this was always a misunderstanding.
  • "Makes text editable for special cases" - sure, but special cases are special cases. There's nothing preventing anyone from using subst: when there's a need to do so.

Now, here are the downsides:

  • Text is virtually impossible to filter or predictably detect for article mirrors, as it may change from one subst:ed version to the next.
  • With complex layout, it clutters up the article page considerably. We want articles to be edited while they are listed for deletion.
  • It looks ugly and confusing - violates the principle of least astonishment.
  • The text is inconsistent from one nominated page to the next. Updates to the template are virtually impossible to apply without a bot.

Looking through the past discussions, it seems mostly like one discussion always referred to the previous one: "This has been policy! See here .." Well, maybe it has been policy - but there's no convincing argument for it as far as I can see. Let's finally change the policy and stop recommending the use of subst where it is clearly not beneficial.--

*
06:27, 9 December 2005 (UTC)

Template:AfDU to here. Uncle G
11:28, 18 April 2007 (UTC)

←So to be clear, what is needed is to:

  1. Verbatim copy the current contents of {{
    AfDM
    }};
  2. Verbatim copy the current contents of {{
    Afd
    }};
  3. Redirect {{
    Afd
    }}.

I'm thinking that actually retaining subst:ing of the resultant AfD template is desirable because it allows a message asking for removal to not be done, and gives some meaning to the otherwise-cryptic 'computer code' that would appear on articles. Also, I don't see the need to print flyers and newspapers about this change since it's entirely transparent. This section of this talk page is plenty. Splash - tk 15:03, 28 April 2007 (UTC)

I've synched up AfDU with {{
afd}} now, and corrected a bug involving the magic word{{SERVER
}} (it should never be substed, not even in this case, because its job in this case is to prevent breaking a secure connection during an AfD nomination). So all that needs to be done now is
  1. Move {{
    afd
    }}
That's it. Don't change {{
subst:afd}}; it's just that it will be about 2 lines long (not counting the comments), not the large number it is currently. --ais523 09:41, 30 April 2007 (UTC
)

{{editprotected}}

I plan to make this change. For the time being, I'll consider this post (which is on the correct talk page), and the {{
editprotected}} tag, to be sufficient advertisement for this non-breaking change that shouldn't require any change in user behaviour. Any objections? --ais523 09:41, 30 April 2007 (UTC
)
No, I believe that to be wrong. AfDM contains the actual text that will appear on the page, and so it needs synching with AfD at this point right now, it not being the same at present (up to the awful documentation stuff, I guess). Splash - tk 13:43, 30 April 2007 (UTC)
It's not quite that simple; we need to copy the doc, but we also need to propagate the nosubust and category parameters from {{
AfDM}}. (We mustn't copy the coding for the message part of AfD, though!) --ais523 13:51, 30 April 2007 (UTC
)
Don't "verbatim copy", just move the pages, which will keep the edit history sane. You will have to move one to a temp location first, and delete some redirects as you go. CMummert · talk 23:16, 30 April 2007 (UTC)
So all that's left now is to do something with {{{nosubst}}} and {{{category}}}. Actually, just removing them might work; I've checked all {{
AfDM}}. So any objections to this change now? --ais523 15:32, 4 May 2007 (UTC
)
checkY Done. Let me know if there are any problems with the new format. --ais523 09:59, 9 May 2007 (UTC)

I can't say as I care for the new layout of the AfD Template

I dislike the new javascript thingy. It adds extra unnecessary clicking to do what needs to be done, and also clutters up the pages to which the AfD banner is added. The previous layout was superior, IMO. → Ξxtreme Unction {yakłblah} 13:03, 9 December 2005 (UTC)

With that sig you have the nerve to talk about clutter? ;-) The previous "layout" was a bunch of wikitext thrown into the template with no explanation why it was there. This violates pretty much every rule of usability, as a regular user seeing their page listed for deletion is confronted with a bunch of linenoise for no discernible reason. Yes, you have to click "Show" to copy and paste the text you need - on the positive side, however, you now have a more detailed explanation of what you actually need to do. As for clutter, if you mean the wiki text, this can be avoided by not using subst -- see above.--
*
13:26, 9 December 2005 (UTC)
I think my biggest problem with it is the focus the current banner gives to the "How to list a page for deletion" section. Say what you will about the previous version with the maintenance text, the text itself was fairly unobtrusive. The current replacement is exceptionally obtrusive (again, IMO), and immediately draws the focus of the eye towards it, away from what should be the meat of the banner, which is the "This page is up for deletion" bits. If there were a way to make the "How to list a page for deletion" portion less obtrusive and eye-catching, I would be less vexed by the change.
And you should have seen my signature back in the days when I first found out how to make a custom sig. Oy. =) → Ξxtreme Unction {yakłblah} 13:35, 9 December 2005 (UTC)
I've unbolded and italicized the link, is that better? I'm still a bit annoyed by the double-border, but that one is tricky to fix. --
*
14:02, 9 December 2005 (UTC)
But it's easy to hide...  Grue  14:10, 9 December 2005 (UTC)
It's an improvement over the bolded version. Don't suppose you'd consider changing the color of the background within the javascript to match that of the rest of the banner? (Assuming there's a way to do so?) → Ξxtreme Unction {yakłblah} 14:21, 9 December 2005 (UTC)
Grue has shown me the light ;-). What do you think of this version?--
*
15:01, 9 December 2005 (UTC)
MUCH better, thank you. I applaud your diligence, and thank you for your willingness to humor a cranky old luddite like me. The only other suggestion I might make is to not have the text centered, but have it left-justified instead. But that's a minor suggestion, and I can certainly live with the AfD banner as it stands currently. → Ξxtreme Unction {yakłblah} 15:14, 9 December 2005 (UTC)
Mm. I didn't realize there would be a big gap between the "How to list a page for deletion" and the "[show]" link. Perhaps right-justified would be better? → Ξxtreme Unction {yakłblah} 16:12, 9 December 2005 (UTC)
Actually, the version with the maintenence use text was great, like I said above, it made it an absolute breeze to take a page through AfD properly - whether it was your first time or your 200th, it sped things up and made it less likely that you'd make errors. I can't speak for everyone, but before I knew what the text was, I didn't even notice it. I think the benefits far outweight the risks of a few people saying "Hmmm I wonder what that text is... oh, maintenence only." --W.marsh 16:13, 9 December 2005 (UTC)
You can use the [show] link to get copy & paste text and instructions. What exactly are you missing?--
*
16:32, 9 December 2005 (UTC)
[show] link? I don't know what you mean by that. If you mean the Template:AfD in 3 steps, then you now have to manually copy and paste the afd2 and afd3 to format templates for the AfD you are listing (whereas they previously were generated automatically for you)... which takes longer, is more error prone, and involves opening yet another browser window/tab. This just seems like a step backwards for purely aesthetic reasons. --W.marsh 16:36, 9 December 2005 (UTC)
Switch to the monobook skin and/or enable javascript in your browser, and it'll show up. —
Cryptic (talk)
16:38, 9 December 2005 (UTC)
Oh, thanks, I see it now. I guess that's acceptable... even if I do have to make a whole one extra click! --W.marsh 16:39, 9 December 2005 (UTC)
Oooh, I like the new functionality. Good job, Eloquence.
e
] 16:52, 9 December 2005 (UTC)
I'd suggest a compromise: include the incomprehensible wikitext with a warning: "Shortcut for expert users only!" I don't have the templates memorized, and the copy-paste convenience of the old version was so much more convenient... Tom Lillis 09:34, 10 December 2005 (UTC)
The copy and paste convenience is still there if you click "Show".--
*
10:47, 10 December 2005 (UTC)
Ack! Yes, it is. I had Javascript turned off on the machine I was viewing from and failed to realize it. Thanks for pointing that out. Tom Lillis 11:48, 10 December 2005 (UTC)
  • Hiding the instructions... hmmm... not obvious. I came here to revert the change, because the new javascript is so subtle that I didn't see the Show/Hide. I'm now going to wait until I pass judgement. Josh Parris#: 05:02, 12 December 2005 (UTC)

debolded part of first sentence

The first sentence of this template was previously entirely bolded. This didn't entirely match with the parts needing emphasis: we need to emphasize that the article is being considered for deletion. The fact that it's being considered in accordance with our policy is certainly true, but doesn't need to be emphasized. Also, with the previous version, there were two bolded wikilinks in the message: the article's entry on AfD and the deletion policy. I kept clicking on the Deletion Policy when I was trying to quickly get to the article's AfD entry. I think that my newer version, which makes only the first part of the first sentence bolded, will increase usability. -- Creidieki 18:22, 11 December 2005 (UTC)

why not use preload

In Template:AfD doc, why don't we use preload= on the "Create its AfD subpage" link to preload the

 {{subst:afd2|pg=the page you are editing|text=Reason}} ~~~~

stuff into the newly created page? Jamie 11:04, 15 December 2005 (UTC)

[Show] button

How to insert the [show] and [hide] buttons into a template? — Instantnood 15:16, 17 December 2005 (UTC)

It looks like it's some magic connected to the default Wikipedia
CSS and JavaScript
code. I dissected the AfD template and here are the relevant bits:
  <div class="NavFrame" style="border-style:none;padding:0;">
  <div class="NavFrame" style="border-style:none;padding:0;">
  
  STUFF THAT GOES IN THE MAIN BOX
  
  <div class="NavHead" style="background:#EDF1F1;text-align:left;">
  STUFF THAT GOES ON THE SAME LINE WITH [show]/[hide]
  </div>
  
  <div class="NavContent" style="display:none;background:#EDF1F1;">
  STUFF THAT GOES INSIDE HIDDEN SECTION
  </div></div></div>
The [show]/[hide] button is magically created by the "NavFrame" divs, and inserted into the "NavHead" div. It acts on the "NavContent" div, which should be declared display:none if you want the text to be initially hidden. Enjoy! If you use it in a common template, let me know — I'm curious to see it. Jamie (talk/contribs) 06:29, 18 December 2005 (UTC)
Thank you. Is it possible to put the button in a template like {{cantonese-tiyjp}}? Thanks. — Instantnood 20:09, 22 December 2005 (UTC)

Be careul editing this template!

In response to some recent changes to the template which broke the [show]/[hide] button:

This template uses some magic
AfD
. Although this code looks ugly in the wikisource, it is very fragile and easily broken by even small changes.
Please be very careful when editing this template, especially the lines involving CSS tags. And please test your changes using "show preview" to make sure the [show]/[hide] funciton still works, before commiting it to public view; the AfD template is used over 200 times daily.

Jamie (talk/contribs) 12:31, 20 December 2005 (UTC)

This is a good reason to
*
05:45, 25 December 2005 (UTC)

No pics please

Hi, no pics in this template please. It's a subst: so I've got broken images stuck on the pages I've just AfD'd now. - Randwicked 14:08, 21 December 2005 (UTC)

Why the resistance to images here?

I don't see why the template should consist solely of sterile text. What's wrong with a little icon to indicate the nature of the process? Firebug 02:01, 22 December 2005 (UTC)

The problem is,
userpage criterion 1. --WCQuidditch
18:58, 3 January 2006 (UTC)

template broken

on jan 17 the template got broken by adding a subst: on it. I've reverted the changes. [2] has a screenshot of the breakage. Moreover, if someone moves a page with an afd tag, it's the mover responsability to fix links (as in any move, mover alawys should fix links) -- ( drini's page ) 23:06, 17 January 2006 (UTC)

Weird... I tested it in my sandbox before I made the change and I successfully used it myself on a few articles (see
chat
} 07:24, 18 January 2006 (UTC)
OK, I get it. Someone didn't subst when applying the template to the article. Tsk tsk tsk. I guess I'll leave it as is, then, because you can't expect people to remember to do that. Lesser of two evils, I suppose.
chat
}
07:32, 18 January 2006 (UTC)

I reinstated the <includeonly>subst:</includeonly> trick. I also added a message to the top that appears only if you use {{afd}} instead of {{subst:afd}}. I see two benefits to having the PAGENAME substituted: 1) If the page gets moved, the AFD link doesn't break, and 2) Once the article is deleted, admins looking in

Template:Empty template to make the big subst message disappear on substing. dbenbenn | talk
05:57, 29 January 2006 (UTC)

I've gone through 16:08, 29 January 2006 (UTC)
We could add a category, Category:Unsubsted uses of Template:Afd, that only gets included on un-substed pages. That might be a little easier than using Whatlinkshere ... dbenbenn | talk 18:39, 29 January 2006 (UTC)

New optional parameter

I've made it so that the template now takes an optional parameter that will take the place of {{PAGENAME}}. This should be useful for when bundling a number of articles into a single AfD.

For example, when nominating Some article for deletion, use:

{{subst:afd}}

And then on Some other article, which is related to the first article:

{{subst:afd|Some article}}

I've tested this with and without subst and with and without the optional parameter. I don't think this should break anything.

chat
} 16:55, 18 January 2006 (UTC)

Template:Afd vs Template:AfD in 3 steps

Not that it's a gigantic problem, but wouldn't it be best if this template and

Aaron
03:11, 27 January 2006 (UTC)

How could they match?
Template:Afd is a notice that a page has been nominated. dbenbenn | talk
20:27, 29 January 2006 (UTC)

bad wording

This should changed from

You are welcome to edit this article, but please do not blank this article or remove

to

You are welcome to edit this article, but please do not blank it or remove

// paroxysm (n) 23:08, 29 January 2006 (UTC)