Template talk:Afd
From Wikipedia, the free encyclopedia
Archives |
1, 2, 3, 4, 5, 6, 7 |
Contents |
[edit] Proposal to include {{oldafdfull}} boilerplate text
When closing AfDs that do not end in deletion, administrators are supposed to add the {{oldafdfull}} template to the talk page. To facilitate this task, I propose to add the following line to this template before the "End of AfD message" comment:
<!-- For administrator use only: {{oldafdfull|page={{<includeonly>subst:</includeonly>#ifeq:{{{1|a}}}|{{{1|b}}}|{{{1}}}|{{<includeonly>subst:</includeonly>PAGENAME}}}}|date={{<includeonly>subst:</includeonly>CURRENTYEAR}} {{<includeonly>subst:</includeonly>CURRENTMONTHNAMEGEN}} {{<includeonly>subst:</includeonly>CURRENTDAY}}|result='''keep'''}} -->
If my very limited knowledge of MediaWiki syntax is correct, this should produce something like:
<!-- Please do not remove or change this AfD message until the issue is settled --> {{AfDM|page=Bad Article|date=2007 November 11|substed=yes}} <!-- For administrator use only: {{oldafdfull|page=Bad Article|date=2007 November 11|result='''keep'''}} --> <!-- End of AfD message, feel free to edit beyond this point -->
When closing the AfD as "keep", the administrator would edit the article page, cut the already filled-out {{oldafdfull}} text, delete the rest of the AfD message and paste the {{oldafdfull}} text to the talk page. Only the "result" parameter would need to be edited as appropriate. What do you think? Sandstein (talk) 17:37, 17 November 2007 (UTC)
- There is now a testing implementation at Template:Afd/sandbox and an example of the template's output at User:Sandstein/Temp03. Sandstein (talk) 06:32, 21 November 2007 (UTC)
I have (hopefully) improved this nice addition by changing the date to a linked date, making it compatible with the different date formats and the preferences of users. If this is done in error or otherwise gives problems, please revert me and slap me with a trout. Fram (talk) 10:48, 11 January 2008 (UTC)
[edit] Edit request
{{editprotected}} There is an extra pair of right braces, as can be seen with my pasting of the oldafdfull template here: [1]. I have highlighted in red what I believe to be the extra braces in the text of the template below. Please remove them:
<!-- Please do not remove or change this AfD message until the issue is settled --> {{<includeonly>subst:</includeonly>#ifeq:{{{1|a}}}|{{{1|b}}}||{{<includeonly>subst:</includeonly>#ifexist:Wikipedia:Articles for deletion/{{<includeonly>subst:</includeonly>PAGENAME}}|<!-- The nomination page for this article already existed when this tag was added. If this was because the article had been nominated for deletion before, and you wish to renominate it, please replace "page={{<includeonly>subst:</includeonly>PAGENAME}}" with "page={{<includeonly>subst:</includeonly>PAGENAME}} (2nd nomination)" below before proceeding with the nomination. -->}}}}{{AfDM|page={{<includeonly>subst:</includeonly>#ifeq:{{{1|a}}}|{{{1|b}}}|{{{1}}}|{{<includeonly>subst:</includeonly>PAGENAME}}}}|date={{<includeonly>subst:</includeonly>CURRENTYEAR}} {{<includeonly>subst:</includeonly>CURRENTMONTHNAMEGEN}} {{<includeonly>subst:</includeonly>CURRENTDAY}}|substed=yes{{<includeonly>subst:</includeonly>ns:0}}}} <!-- For administrator use only: {{oldafdfull|page={{<includeonly>subst:</includeonly>#ifeq:{{{1|a}}}|{{{1|b}}}|{{{1}}}|{{<includeonly>subst:</includeonly>PAGENAME}}}}|date=[[{{<includeonly>subst:</includeonly>CURRENTYEAR}}-{{<includeonly>subst:</includeonly>CURRENTMONTH}}-{{<includeonly>subst:</includeonly>CURRENTDAY}}]]}} |result='''keep'''}} --> <!-- End of AfD message, feel free to edit beyond this point --> <noinclude> {{template doc}}<!-- Add categories, documentation, and interwiki links to the /doc subpage, not here! --> </noinclude>
The Evil Spartan (talk) 01:51, 19 January 2008 (UTC)
-
- I think this was fixed yesterday in this edit by Yamamoto Ichiro. I came here to report the same thing and found your posting, went to go fix it myself, couldn't find it in the template code, and then saw it in the history. Since it's subst:ed it will remain in old AfDs. --MCB (talk) 07:28, 20 January 2008 (UTC)
[edit] Extra line break
{{editprotected}}
Could someone delete the line break between the end of the template and the noinclude tag? This causes a break in the transcluded template which leave a gap between it and any other templates on an article. Templates should be flush with each other. Chris Cunningham (talk) 11:18, 19 January 2008 (UTC)
- Done. Thanks for pointing it out. – Luna Santin (talk) 12:15, 19 January 2008 (UTC)
[edit] Oldafdfull feature broken
I have removed the code for pregeneration of Oldafdfull templates because the migration to the new preprocessor seems to have broken this feature. See my post about this on Meta. Does someone who understands code better than I do have a solution? Sandstein (talk) 12:43, 3 February 2008 (UTC)
-
- This is a horrible mess. I've been closing AFd's today, and I actually have to type all the oldafdfull's in everytime. That's worse than all those sodding extra close braces from the fram thing last week. Can't this just be reverted to some version that worked? JERRY talk contribs 03:43, 4 February 2008 (UTC)
The new preprocessor doesn't allow code inside html comments to be evaluated, Tim (the big boss) said it's non-negotiable. →AzaToth 08:26, 4 February 2008 (UTC)
- OK. Any objections to me integrating the pregenerated oldafdfull code as a small-text notice directly into Template:AfDM, then? Sandstein (talk) 11:57, 4 February 2008 (UTC)
- Fixed with an ugly template hack: replacing
<!--
with{{<includeonly>subst:</includeonly>lessthan}}!--
allows the contents of the comment to be evaluated when the template is substed. —Ilmari Karonen (talk) 14:05, 4 February 2008 (UTC)
[edit] Wording or link incorrect
This template says
"Please share your thoughts on the matter at this article's entry on the Articles for deletion page."
There will not be anything about it on that link. The wording either could say find the Afd on one of the days Afd list for that page or remove the link all together. SunCreator (talk) 01:17, 17 April 2008 (UTC)
- Perhaps the template is not working right in your browser. In the rendered template, "this article's entry" is a wikilink to the actual AfD discussion for the article. Are you not seeing that in your browser? --MCB (talk) 01:35, 17 April 2008 (UTC)
- I see that clearly and it works. But I'm saying the wording on the Articles for deletion page is not saying what it's linking to. Go to a page under Afd, Kinchan no Kasoh Taisho will do, now using that link 'Articles for deletion' navigate your way to the 'Kinchan no Kasoh Taisho' article Afd discussion. I think you will find it almost impossible. It seems that the template is using old wording as it seem in the past all Afd's where on one page, that is no longer the case, as there is a page for each day, so would be nice to review or remove such outdated link/wording. SunCreator (talk) 15:40, 17 April 2008 (UTC)
- Ah, OK, I see what you mean. I think we could fix that by having "considered for deletion" in the first sentence link to WP:AFD; leave "deletion policy" linked to WP:DP, and change the wording of the second sentence from "this article's entry on the Articles for deletion page" to "this article's discussion page" which would link to the actual article's AfD. That way there would be links to AFD, DP, and the actual article's AfD, all in the template. Here's a first attempt: User:MCB/proposedafdm. --MCB (talk) 17:59, 17 April 2008 (UTC)
- I like your proposal, but I'm not sure it's necessary to link directly to WP:AFD at all. It's likely to mislead new users, and of course, AFD is already linked from deletion policy. Superm401 - Talk 13:22, 20 April 2008 (UTC)
- "This article's discussion page" sounds like it means the article talk page, and if I saw such wording in a link that where I'd expect it would lead. Perhaps "nomination page" or "deletion discussion" might be more appropriate — neither sounds quite ideal to my ear, but at least they're less liable to cause confusion. (BTW, the current wording has quite a long history; it's not surprising that there may have been a few procedural changes since it was introduced.) —Ilmari Karonen (talk) 17:51, 20 April 2008 (UTC)
- I like your proposal, but I'm not sure it's necessary to link directly to WP:AFD at all. It's likely to mislead new users, and of course, AFD is already linked from deletion policy. Superm401 - Talk 13:22, 20 April 2008 (UTC)
- Ah, OK, I see what you mean. I think we could fix that by having "considered for deletion" in the first sentence link to WP:AFD; leave "deletion policy" linked to WP:DP, and change the wording of the second sentence from "this article's entry on the Articles for deletion page" to "this article's discussion page" which would link to the actual article's AfD. That way there would be links to AFD, DP, and the actual article's AfD, all in the template. Here's a first attempt: User:MCB/proposedafdm. --MCB (talk) 17:59, 17 April 2008 (UTC)
- I see that clearly and it works. But I'm saying the wording on the Articles for deletion page is not saying what it's linking to. Go to a page under Afd, Kinchan no Kasoh Taisho will do, now using that link 'Articles for deletion' navigate your way to the 'Kinchan no Kasoh Taisho' article Afd discussion. I think you will find it almost impossible. It seems that the template is using old wording as it seem in the past all Afd's where on one page, that is no longer the case, as there is a page for each day, so would be nice to review or remove such outdated link/wording. SunCreator (talk) 15:40, 17 April 2008 (UTC)
[edit] Template mangled
Why is the template coding all screwed up right now. The bottom half isn't showing up, and I'm getting {{#ifeq:yes|yes| at the top. Ten Pound Hammer and his otters • (Broken clamshells•Otter chirps) 18:29, 8 May 2008 (UTC)