Template talk:DYK talk

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Did you know?
Introduction and rules
IntroductionWP:DYK
General discussionWT:DYK
GuidelinesWP:DYKCRIT
Reviewer instructionsWP:DYKRI
Nominations
Nominate an articleWP:DYKCNN
Awaiting approvalWP:DYKN
ApprovedWP:DYKNA
April 1 hooksWP:DYKAPRIL
Preparation
Preps and queuesT:DYK/Q
Prepper instructionsWP:DYKPBI
Admin instructionsWP:DYKAI
Main Page errorsWP:ERRORS
History
StatisticsWP:DYKSTATS
Archived setsWP:DYKA
Just for fun
Monthly wrapsWP:DYKW
AwardsWP:DYKAWARDS
UserboxesWP:DYKUBX
Hall of FameWP:DYK/HoF
List of users ...
... by nominationsWP:DYKNC
... by promotionsWP:DYKPC
Administrative
Scripts and botsWP:DYKSB
On the Main Page
To ping the DYK admins{{DYK admins}}

Suggestions[edit]

The objective in creating this template is to accord some mileage to a DYK entry, and thus, improve the quality of DYK suggestions, leading to creation of better articles in the first place. Vaoverland's comments elsewhere about listing DYK facts on talk pages inspired me to design this template so that some of the grunt work is removed. I envisage that this template would be used voluntarily by updating admins AND that it should not be made compulsary for them; as it is, updating DYK is strenuous. Even if the admin does not add them to the talkpages, the creators of the article themselves can do so. Suggestions to improve this template are welcomed. --Gurubrahma 10:59, 13 January 2006 (UTC)[reply]

Link to a revision of DYK showing the DYK entry[edit]

It seems to me this template is pretty useless talk page spam as it currently stands, but could be useful if it provided a hard link to the revision of DYK which shows the DYK entry of the page in question. Thoughts? --kingboyk (talk) 22:02, 20 January 2008 (UTC)[reply]

I think it really should do that, but the DYK history page is so complicated, its impossible to find any previous entries older than a couple days. --haha169 (talk) 20:58, 26 July 2008 (UTC)[reply]

Documentation[edit]

{{editprotected}}

Please switch content between the <noinclude></noinclude> with {{Documentation}}. I already created the documentation page using the content that you will be deleting. Thanks. -- Suntag 20:03, 7 November 2008 (UTC)[reply]

Done --Elonka 20:46, 7 November 2008 (UTC)[reply]

Please delink the dates in the template[edit]

{{editprotected}} Given that dates are now no longer to be blue linked, could someone please remove the links around the dates in the template? Thanks. It Is Me Here (talk) 15:13, 15 November 2008 (UTC)[reply]

Done--Aervanath lives in the Orphanage 04:58, 16 November 2008 (UTC)[reply]
Thanks! It Is Me Here (talk) 09:07, 16 November 2008 (UTC)[reply]

Date formatting[edit]

{{editprotected}}

The template is not formatting International dates properly; its adding a comma between month and year (see WP:DATE). Can someone remove the comma, or better yet use a date meta-template to handle formatting? I think {{date}} would work well. Thanks – Ikara talk → 02:30, 20 November 2008 (UTC)[reply]

I simply removed the comma. I checked about ten transclusions of this template and all were using DD MONTH YYYY. --- RockMFR 22:11, 21 November 2008 (UTC)[reply]

Consider adding hard-link to DYN as a parameter[edit]

Consider adding a version-link to the word "appeared",


...'''{{PAGENAME}}''' {{#if:{{{version|}}}|[{{{version}}} appeared]|appeared}} on Wikipedia's [[Main Page]] in the '''[[:Template:Did you know|Did you know?]]''' column on {{{1}}} {{{2}}}....


Usage example: ...|version=http://en.wikipedia.org/w/index.php?title=Template:Did_you_know&oldid=255844585


This would allow people to click on the word "appeared" and see the DYK page as it looked at the time.

I haven't tested this, there may be syntax errors there, but you get what I'm trying to say. davidwr/(talk)/(contribs)/(e-mail) 20:24, 4 December 2008 (UTC)[reply]

Replace {{{entry}}} with {{{3}}}[edit]

I scanned all articles that use the template and redirects and found 35 instances which use |entry=, since the DYKBot adds the string as an unnamed third parameter does anyone have an opinion on whther it should be changed to 3? I've removed the 35 instances of |entry=, but left the comments as I added most of them. If there's no opposition I'll put in a editprotected, unless an admin watches over here. §hep¡Talk to me! 00:32, 11 December 2008 (UTC)[reply]

I would prefer it the other way around, but that's just because I'm a named-parameter bigot. Go ahead and make the change if it improves the functionality. davidwr/(talk)/(contribs)/(e-mail) 01:07, 11 December 2008 (UTC)[reply]

{{editprotected}} Please replace {{{entry}}} with {{{3}}}. Thank you. §hep¡Talk to me! 20:52, 18 December 2008 (UTC)[reply]

Would it be better to just ask the owner of DYKbot to change his/her code to use {{{entry}}}? J.delanoygabsadds 18:37, 20 December 2008 (UTC)[reply]
I asked Ameliorate! awhile back and he said he was busy. But since the bot has already done hundreds of entries using {{{3}}} and from my searches it appears users who used to add dyktalk never included the entry at all. (Only 35 instances my scan turned up and a good deal of them were my additions to the template) It appears that since everything will be automated from now on, we shoudn't have any problems with users trying to add |entry=. I'll do another scan now and see if anyone's added an |entry= in the past 9 days. In short, I think this would be the best way to do things or 100s talk pages would need to be modified. §hep¡Talk to me! 19:44, 20 December 2008 (UTC)[reply]
Finished scanning all templates. Found 4 instances. One was previously removed by me (readded by Elonka), 2 were added by Davidwr, and the fourth by Elonka again. §hep¡Talk to me! 01:55, 21 December 2008 (UTC)[reply]
I added them to enable the missing functionality. When {{{3}}} works, I will remove them. davidwr/(talk)/(contribs)/(e-mail) 03:33, 21 December 2008 (UTC)[reply]
I wasn't implying that the additions were a bad thing, more for statistical purposes than anything. §hep¡Talk to me! 03:42, 21 December 2008 (UTC)[reply]

OK. Now it will work with either {{{entry}}} or {{{3}}}. If both parameters are returned with non-null values, only {{{entry}}} will be displayed. Does that work? J.delanoygabsadds 04:13, 21 December 2008 (UTC)[reply]

That should make everyone happy. Thank you for your assistance. §hep¡Talk to me! 05:07, 21 December 2008 (UTC)[reply]
How about putting the DYK text in {{{3}}} in quotes, so that it's easier to spot? Right now, it blends right in with the rest of the template text at first glance. Gary King (talk) 19:31, 5 January 2009 (UTC)[reply]

Brackets[edit]

Just thought I'd let someone know that when {{dyktalk}} was added [[Talk:Other BBC Sports Personality of the Year Awards |here]] it placed "...%28pictured%29..." instead of "...(pictured)...". Not sure if this is a DYKadminBot or a template problem but I thought that I should make someone aware of this. Many thanks, Rambo's Revenge (talk) 20:34, 20 January 2009 (UTC)[reply]

It's the bot. Gary King (talk) 20:50, 20 January 2009 (UTC)[reply]

Italicize the entry[edit]

{{editprotected}}

Could we italicize the entry to make it stand out more? Right now, it just flows too well with the rest of the text that at first glance it's hard to spot where the entry begins. Gary King (talk) 20:57, 19 February 2009 (UTC)[reply]

Please propose code in a sandbox somewhere. Thanks! --MZMcBride (talk) 08:20, 20 February 2009 (UTC)[reply]

Placement[edit]

I'm probably going to regret asking this, but I need to know the answer. Where should this template appear on the talk page? Above the project templates, or below? Viriditas (talk) 23:42, 17 May 2009 (UTC)[reply]

I've been putting it between the {{ArticleHistory}} (which is generally the first template) and the WikiProject banners. It seems to be closely related to {{ArticleHistory}} since that template also has a DYK section in it. — Cheers, JackLee talk 04:29, 10 November 2009 (UTC)[reply]

Tweaks to the template[edit]

{{editprotected}} Instead of the sentence "A record of the entry may be seen at Wikipedia:Recent additions 162" appearing at the bottom of the template, what about linking the word column in the first sentence to the "Recent additions" page, as in {{ArticleHistory}}? In fact, what about merging this template into {{ArticleHistory}}? — Cheers, JackLee talk 04:32, 10 November 2009 (UTC)[reply]

I've initiated a discussion on whether the functionality of {{dyktalk}} should be incorporated into {{ArticleHistory}}. Please comment at "Template talk:ArticleHistory#Option for adding DYK hook (redux)". — Cheers, JackLee talk 04:57, 10 November 2009 (UTC)[reply]

That's something I'd like you to discuss with other users before we do such a merger. m.o.p 17:58, 10 November 2009 (UTC)[reply]
Per your second point; won't that be irrelevant? Unless the template is substituted, column will always link to the most recent additions. Unless that's what you're looking to do. Is it? m.o.p 20:49, 10 November 2009 (UTC)[reply]
I'm not sure I understand you. At present, one can use the |num= parameter to specify a "Recent additions" page at which a DYK hook is archived at. Thus, if I type "|num=162", the sentence "A record of the entry may be seen at Wikipedia:Recent additions 162" is displayed in the banner. I am suggesting that instead of the template displaying this sentence, we could save some space by doing what {{ArticleHistory}} does, which is just to link the word column in the sentence "A fact from Dyktalk appeared on Wikipedia's Main Page in the Did you know? column" to the "Recent additions" page. If column is linked to, say, "Wikipedia:Recent additions 162", it will not link to the most recent additions whether or not the template is substituted. — Cheers, JackLee talk 09:14, 11 November 2009 (UTC)[reply]

DYK-related changes to ArticleHistory template[edit]

I've made some suggestions for DYK-related changes to the {{ArticleHistory}} template. Please do comment on them at "Template talk:ArticleHistory#Option for adding DYK hook (redux)". — Cheers, JackLee talk 19:23, 28 November 2009 (UTC)[reply]

interwiki[edit]

Hello. Is it possible to add interwiki cs:Šablona:Zajímavost ? Thanks. Jan.Kamenicek (talk) 16:47, 15 December 2009 (UTC)[reply]

The template documentation ("Template:Dyktalk/doc") is not protected. Go ahead and add the interwiki. — Cheers, JackLee talk 08:21, 16 December 2009 (UTC)[reply]

Expression error[edit]

It is normal for this page to show "Expression error: Unexpected < operator".

Why is it normal to show that something is wrong when nothing is wrong?

Åkebråke (talk) 20:53, 22 December 2009 (UTC)[reply]

This code appears only on the template page itself, not on the pages where the template is used (if it does, we do have a problem). This is because of some complex code in the template that is interpreted in a weird way here. Ucucha 20:58, 22 December 2009 (UTC)[reply]
Easily fixable; see below. — SMcCandlish Talk⇒ ʕ(Õلō Contribs. 21:03, 20 January 2010 (UTC)[reply]

Image feature, error fix, doc update[edit]

{{Editprotected}} No editprotected yet; giving people a chance to discuss if anyone has issues. 17 days is probably enough time for any issues to be raised. — SMcCandlish Talk⇒ ʕ(Õلō Contribs. 21:02, 20 January 2010 (UTC)[reply]

I've updated the template code, at Template:Dyktalk/sandbox to:

  1. Get rid of the big red error showing up on the template page, which makes people think the template is broken (see thread immediately above). Actual template operation is unaffected; all I did was put <includeonly>...</includeonly> around the offending code.
  2. Enable a 4th parameter (either unnamed or called |image=) that replaces the pointless Wikipedia puzzle-globe image with whatever image was actually part of the original DYK, if any. My preference would be to also remove the puzzle globe entirely, and have no right-hand image at all unless one was part of the DKY in question, but that's a matter for another discussion.
  3. Put "quotation marks" around the quoted material (duh!)
  4. Actually quote the material correctly (duh!) by adding the "..." back in, after "Did you know"

The template documentation has been updated in Template:Dyktalk/sandbox/doc, to:

  1. Document the new feature.
  2. Remove the now-obsolete notice about the red error text
  3. Note that this is usually placed above project banners.
  4. Include examples (NOTE: This example code needs to be edited to refer to the real template, not its sandbox, before going live)
  5. General cleanup and clarity

SMcCandlish Talk⇒ ʕ(Õلō Contribs. 21:24, 3 January 2010 (UTC)[reply]

Support all your changes. I've made some changes/improvements to the code in Template:Dyktalk/sandbox. Perhaps you can check it again and make sure you are happy with it? In addition
  • I would be quite happy, in the spirit of WP:BRD to remove the default right image.
  • I suggest a rename - perhaps Template:DYK talk would be clearer.
— Martin (MSGJ · talk) 23:05, 20 January 2010 (UTC)[reply]
As you didn't reply I have now applied all of our fixes to the template. — Martin (MSGJ · talk) 21:54, 21 January 2010 (UTC)[reply]

Proposal to update this template[edit]

I suggest that we start using a modified version of this template, currently in the sandbox. The main reasons is that it reflects changes made to Template:ArticleHistory after a long discussion over there. The changes would be:

  • It takes up a bit less space on the talk page.
  • The link to the entry is automatically generated from the date.
  • The words "fact from this article" are linked to the archive, instead of requiring a separate sentence.
  • An anchor to the correct day is automatically appended.
  • The text of the entry is displayed without the line break (which I think looks quite unsightly)
  • The default image (Wikipedia logo) is removed from the right side. It has no meaning or purpose, I believe.

There is a comparison shown in /testcases. Any comments are welcomed. — Martin (MSGJ · talk) 20:14, 28 January 2010 (UTC)[reply]

I like the line break for two reasons: 1) it's how the hook appeared on the Main Page, and 2) if someone's skimming the talk page (which everyone does) the line break draws more attention to the hook. Shubinator (talk) 18:29, 30 January 2010 (UTC)[reply]
Okay, how about if we move the "Did you know" down to the next line as well? — Martin (MSGJ · talk) 20:53, 2 February 2010 (UTC)[reply]
It's better, but I still prefer the "Did you know" on the line above. Also, I don't like the italics. Shubinator (talk) 02:52, 3 February 2010 (UTC)[reply]

Link to article view statistics[edit]

http://stats.grok.se/en/{{{2}}}{{#time:m|{{{1}}}}}/{{FULLPAGENAMEE:{{{article|{{PAGENAME}}}}}}} does not always link to the correct place, if the article had a different name during the DYK time. There should be an optional parameter, e.g. {{{stats}}}, so that the code can be replaced with http://stats.grok.se/en/{{{2}}}{{#time:m|{{{1}}}}}/{{{stats|{{FULLPAGENAMEE:{{{article|{{PAGENAME}}}}}}}}}}.  Cs32en Talk to me  23:47, 1 March 2010 (UTC)[reply]

Surely that is what the {{{article}}} parameter is for. — Martin (MSGJ · talk) 08:38, 2 March 2010 (UTC)[reply]
Thank you! I should have seen this myself, indeed. The {{{article}}} parameter seems not to be included in the documentation right now.  Cs32en Talk to me  17:04, 2 March 2010 (UTC)[reply]

Edit request from Avanu, 13 July 2011[edit]

Please change the word 'fact' to 'quotation' in this template. Wikipedia doesn't deal with 'facts', but with Reliable Sources. And recently one of these 'facts' was incorrect/unfactual or at the very least strongly POV. -- Avanu (talk) 03:28, 13 July 2011 (UTC)[reply]

Not done for now: Could I ask you to discuss this and get consensus for the change? It's not always the best idea to change something in response to one incident. — Martin (MSGJ · talk) 12:37, 13 July 2011 (UTC)[reply]
They are at least purported to be facts, and they are certainly not quotations, since the text of the hook does not need to be in the article. Of course, we could change the text to "This article was featured on Wikipedia's Main Page in the Did you know column" or something like that. Ucucha 12:39, 13 July 2011 (UTC)[reply]

png → svg[edit]

Hello, the format of Wikipedia logo is PNG. The same logo exists in SVG format. Please change Wikipedia-logo.png to Wikipedia-logo-v2.svg. Nodulation (talk) 17:22, 16 August 2011 (UTC)[reply]

 Done -- WOSlinker (talk) 10:31, 20 August 2011 (UTC)[reply]

Edit request[edit]

Could someone please change [[File:Wikipedia-logo-v2.svg|Wikipedia|right|40px]] to [[File:Wikipedia-logo-v2.svg|Wikipedia|right|40px|link=|alt=]]? Thanks, --Σ talkcontribs 18:28, 5 September 2011 (UTC)[reply]

 Done -- WOSlinker (talk) 20:44, 6 September 2011 (UTC)[reply]

Edit request: fix red link transclusion / avoid redirect[edit]

The link to Template:Dyk talk/Views disclaimer should instead be Template:DYK talk/Views disclaimer. The current link is an accident from an edit about a week ago, attempting to avoid a different redirect to the same page. The "disclaimer" link is red in transclusions of this template (e.g. Template:DYK talk/doc#Examples) but still works when clicked. MANdARAX  XAЯAbИAM 10:31, 31 December 2011 (UTC)[reply]

Fixed. By the way, the red link could probably have been turned blue by purging the page. Ucucha (talk) 10:35, 31 December 2011 (UTC)[reply]
Ah, yes. When I edit at 2:30 in the morning, sometimes such things elude me. Thanks. MANdARAX  XAЯAbИAM 10:53, 31 December 2011 (UTC)[reply]

Day, month insert a pipe and year[edit]

That we have one parameter for the day and month and a separate one for the year is in part a sad hang over from the bad old days of date linking and in part an example of sub-optimal template writing. It was written this way so that the day and month could be linked like this, [[{{{1}}}]], and the year could be linked like this, [[{{{2}}}]]. However, we could instead have simply used a single parameter and got the dates linking like this, {{#time: [[j F]] [[Y]]|{{{1}}}}}. Now, though, we're not even linking the dates at all so it makes even less sense to use two parameters for the date. I propose to combine day, month and year into a single parameter so we'd write, for example, {{DYK talk|19 January 2012}} instead of {{DYK talk|19 January|2012}}. The hook would become {{{2}}} and the image {{{3}}}. Backward compatibility is no problem since the years are numbers and the hooks aren't so we just check whether {{{3}}} is a number. JIMp talk·cont 06:45, 19 January 2012 (UTC)[reply]

template phrasing tweak[edit]

Currently, the template displays the text:

A fact from Some article appeared on Wikipedia's Main Page in the Did you know? column on (some date), and was viewed approximately (some number) times(disclaimer) (check views). The text of the entry was as follows: "Did you know

Would there be any objection to rephrasing this as (magenta indicates changed portion):

A hook from Some article appeared on Wikipedia's Main Page in the Did you know? column on (some date); this article was viewed approximately (some number) times(disclaimer) (check views). The hook was: "Did you know

This proposal is designed to be more accurate:

  • The word fact seems too harsh for text which is occasionally whimsical.
  • Distinguishing between being read on the main page (which we cannot know) and reading the article itself is clearer.
  • I learned in writing to avoid the phase as follows. Just skip that and follow!

Clarity and brevity. —EncMstr (talk) 07:03, 22 February 2012 (UTC)[reply]

Fixing num now using year/date[edit]

Template:DYK talk/sandbox adds the following:

}} {{if||{{{numdate|}}}|

A record of the entry may be seen at [[Wikipedia:Recent additions/{{{numdate}}}]].

Note: The above isn't rendering properly, so please copy directly from the sandbox!

I've updated Template:DYK talk/doc accordingly but the comments will need removing.

I think we could do this automatically by taking the month and year out of the first parameter? Then a new parameter would not be needed. I can code this for you if you wish. — Martin (MSGJ · talk) 09:51, 8 June 2012 (UTC)[reply]
Excellent (assuming it'd remain compatible with the old usage of numbers in the parameter too)! I didn't even try to cater for 2 formats in the same parameter, so will be interested to have a look at the change when implemented. Thanks. -- Trevj (talk) 11:45, 8 June 2012 (UTC)[reply]
I've put some code on the sandbox. Perhaps you could take a look and make sure it is working properly in all situations (because I am not familiar with DYK), and then we can deploy. Regards — Martin (MSGJ · talk) 12:52, 8 June 2012 (UTC)[reply]
Almost there. I've put 3 test cases in. Not quite working because of the difference in separator: the old archives use a space, the new year/date uses a slash. Prefixing the year/date param with a slash doesn't help because the space is still included. Hopefully you can fix this. Thanks. -- Trevj (talk) 17:29, 9 June 2012 (UTC)[reply]
The idea is that num should only be used with the old system, i.e. Wikipedia:Recent additions nnn. If this is omitted it will work it out automatically from the date. Please check the testcases again. — Martin (MSGJ · talk) 19:11, 9 June 2012 (UTC)[reply]
Sorry for my misunderstanding - that's wonderful. I see how the cumulative changes work (although I couldn't code them myself). I've added an old testcase with no num specified, which works fine and doesn't give a redlink to a nonexistent page. The 6/7 April anomaly with the example I used is a separate issue from the code here (bot update for 6th but archive listed under 7th) which I may investigate elsewhere. Therefore, I think your work is OK to move to the main template. I'll update the doc afterwards. Thanks so much for doing this! -- Trevj (talk) 08:01, 10 June 2012 (UTC)[reply]
Okay, deployed! — Martin (MSGJ · talk) 18:01, 10 June 2012 (UTC)[reply]
How far back does this subpage system go back? We could put a check to make sure the relevant page exists, i.e. to prevent redlinks. — Martin (MSGJ · talk) 18:07, 10 June 2012 (UTC)[reply]
thumbs up Great! The short answer to that question is "I don't know." There seem to actually be some redirects in place, e.g. Wikipedia:Recent additions 255 (listed at Wikipedia:Recent additions 1). The first of these seems to be Wikipedia:Recent additions 242, which was 3 years ago. I'm fairly new to DYK myself, so perhaps it would've been wise for me to check with some regulars fist. Sorry. I've now pointed them here. -- Trevj (talk) 19:39, 10 June 2012 (UTC)[reply]

This system seems to go back to February 2004 so perhaps the old system (and num parameter) can be completely replaced? — Martin (MSGJ · talk) 19:56, 10 June 2012 (UTC)[reply]

Maybe. Hopefully someone else will come here in response to this note. In the mean time, I've updated the /doc page to reflect the current arrangement. From the few article talk pages I've checked, the template seems to be including the dated num page just fine with no parameter. -- Trevj (talk) 07:51, 11 June 2012 (UTC)[reply]
Originally there was only a numbered archive system, then the monthly archive system was created when I made DYKHousekeepingBot to go through and tag all the DYK pages (DYK pages were being tagged, but those from the first few years of DYK existence hadn't been). Background: fruition, planning, before launch, switch-over. You noticed the slight discrepancy with dates on day-boundaries - this happens when the hook was placed on the Main page on a certain date (reflected in the DYK talk template) and taken off of the Main page on a different date (reflected in the archives). Coming back to present, I think it's possible to remove the numbered system. There might be other projects that rely on the numbered system however (the triple crown comes to mind). Shubinator (talk) 12:36, 11 June 2012 (UTC)[reply]
Thanks for filling in with useful historical info which puts things into context. I don't know that it'll be safe for the num parameter to be removed completely, although there is some duplication in archiving, e.g. 2009/February, 241, 240, 239. Shubinator, it seems to me that some instances of the template will refer to numbered archives which don't have a corresponding date archive - is this correct? Thanks. (And thanks for clarifying the date boundaries/archive removal time too.) -- Trevj (talk) 14:08, 11 June 2012 (UTC)[reply]
Articles such as Talk:Berton Roueché (216) map OK to 2008/April, but I don't know about earlier instances as I've not searched for linking pages from every numbered archive. -- Trevj (talk) 14:18, 11 June 2012 (UTC)[reply]
Wikipedia:Recent additions 219 seems to be the first page where entries are grouped by date ... Before this there is apparently no way to tell when the item appeared on the main page. — Martin (MSGJ · talk) 16:37, 11 June 2012 (UTC)[reply]
Yeah, the numbered archives didn't show the date for a long time, partly because DYK was more of a "rolling" process in the past, much like ITN today. Every DYK entry in every numbered archive should be in a corresponding date archive. The date archives are relatively recent, but the bot delved back to the beginnings of DYK and then moved forward in time, automatically generating the archives as it went. Shubinator (talk) 16:47, 11 June 2012 (UTC)[reply]
I selected a random sample of 10 and all but 1 were correctly listed in the date archive. (This one was missing apparently because it was removed individually at a separate time from the others.) So based on this I think we should remove the num parameter from this template completely. — Martin (MSGJ · talk) 17:02, 11 June 2012 (UTC)[reply]
I'm not opposed. Shubinator (talk) 02:29, 12 June 2012 (UTC)[reply]
Based on the above, I'm not opposed either. Thanks. -- Trevj (talk) 06:00, 12 June 2012 (UTC)[reply]
I've pre-emptively removed it from the /doc page. -- Trevj (talk) 07:15, 12 June 2012 (UTC)[reply]

Protected edit request on 15 March 2014[edit]

Even though I have the rights to edit this, I am not able to do so. In light of that, would someone please add a link to the new labs aggregate site, so that we can include both views in the page? Additionally, if we could update the stats.grok link and make them both appear as they are on this template (which also holds the source code for the mentioned link), that would be wonderful. Kevin Rutherford (talk) 05:15, 15 March 2014 (UTC)[reply]

Not done: Sorry, but this request is a bit too vague for me to understand exactly what you're asking for. Could you add your proposed code to Template:DYK talk/sandbox and reactivate the request? Thanks — Mr. Stradivarius ♪ talk ♪ 07:30, 15 March 2014 (UTC)[reply]

Protected edit request on 28 February 2016[edit]

This template adds the page to Category:Wikipedia Did you know articles, which is fine when the template is added to article talk pages, but not when the template is on user pages (e.g. User:Barkeep) or user talk pages (e.g. User talk:Ae9000ae). Could someone please tweak the code so only article talk pages are categorized? Thanks! GoingBatty (talk) 04:02, 29 February 2016 (UTC)[reply]

Done — Martin (MSGJ · talk) 09:37, 29 February 2016 (UTC)[reply]

Proposed edit[edit]

I propose a change to the template that would either: 1) create a new optional parameter called article name, which would allow an editor to enter the name of the article that was featured on the DYK and would replace the default entry that is the current page name. For example, this would change the bolded default page name after "a fact from" to whatever is entered in the parameter; or 2) making whatever is entered in article perform the same function as was just described. Ergo Sum 18:02, 3 August 2017 (UTC)[reply]

Bumping this proposal. Ergo Sum 19:39, 11 February 2018 (UTC)[reply]

Proposed change - image[edit]

So over at WP:FOUR the symbol used for DYK is this:
I propose that we change the image of the question mark on this template to match - its brighter, more consistent and generally, I believe, looks better. To see the full test suite, visit testcases, but here's a sense of the change:

Bellezzasolo Discuss 05:56, 11 February 2018 (UTC)[reply]

no objections, so changed. you may want to change Template:Article history as well. Frietjes (talk) 16:46, 5 March 2018 (UTC)[reply]

Added leading bullet fix with tracking category[edit]

I added a hack to strip any leading bullets from the entry since the bullet is added by the template, so having a leading bullet makes a spurious double bullet. any transclusions which are auto fixed will be listed in Category:Pages using DYK talk with a spurious bullet for inspection. once that category has time to fill up, we can fix any problem transclusions and then remove the hack. please let me know if there are any problems! Frietjes (talk) 15:22, 27 February 2018 (UTC)[reply]

On use of this template[edit]

Currently, this template is transcluded onto article talk pages by the DYKUpdateBot when a new DYK set is added to the Main Page template, with a copy of the hook for the corresponding article. However, DYK hooks are occasionally modified while they're on the Main Page. That said, should the DYK talk template be updated on the article talk pages to reflect new changes, or should they be left as they are when first posted? The former, I think, should be a more logical answer, as hooks might contain factual errors that are rightly corrected; the final version of the hook should be recorded on the talk pages, not a possibly defective one. Just looking for some input on this question. — RAVENPVFF · talk · 03:42, 24 May 2019 (UTC)[reply]

Why link to grok before a certain date -- seems broken?[edit]

I noticed that the "check views" link from Talk:The Analytical Language of John Wilkins was broken, but that the one from Talk:Kitty O'Brien Joyner works. Looking closer, I see it's because it uses a different site based on the date. However, the grok.se server is down (I don't recall if it's permanent, but I thought I heard that it was). Does the main pageviews tool not work with older dates? What's the reason for retaining the older tool? — Rhododendrites talk \\ 17:43, 27 August 2019 (UTC)[reply]

Date is broken[edit]

Quote from Template:DYK archive header: Currently, DYK hooks are archived according to the date and time that they were taken off the Main Page.. However, the template {{DYK talk}} uses wording A fact from '''{{PAGENAME}}''' appeared on Wikipedia's [[Main Page]] [...] on {{{1|some day}}}, note the word "appeared". The same parameter {{{1}}} is used to generate a link to the archive. Which means that any usage of the template is off by one day—it either mentions an incorrect date of appearance on the Main Page, or it links to an incorrect place in the archive, with days near start/end of the month going to an incorrect month subpage.

At the moment DYKUpdateBot uses the appeared date, according to its operator (ping Shubinator). Should the template be adjusted to add 24 hours to {{{1}}} for the archive link to address the discrepancy? —⁠andrybak (talk) 21:10, 11 November 2020 (UTC)[reply]

andrybak, adding a blanket 24 hours will sometimes give bad results: when we're at two or more sets a day, half or more are archived on the same day they hit the main page, so the generated link is correct. It's the last set of the day that has the issues of being promoted one day and archived the next. (When we're doing one set a day, the archive date is always the day following promotion.) BlueMoonset (talk) 21:50, 11 November 2020 (UTC)[reply]
BlueMoonset, I see, the two or more sets per day make it almost impossible to do this with a single date parameter. How about updating the template and the bot to use two date parameters to express this? E.g. |1=display date and |archiveDate=archive date.
Another possible solution is to pass an archival timestamp to the template and make it calculate the corresponding display date (i.e. subtract a day when archived at midnight). But this might be too complicated both to implement and to use. —⁠andrybak (talk) 22:00, 11 November 2020 (UTC)[reply]

Redesign proposal[edit]

See sandbox Special:Diff/1158484275. Changes:

  • Reduced vertical height and potential visual overwhelm by removing unnecessary sentences
  • Removed: The text of the entry was as follows:. Maintained clarity by enclosing the entry in {{cquote}}
  • Removed all the sentences below the entry that only served to explain the purpose of links; piped those links to make their purpose self-explanatory; formatted these links as a horizontal list
  • Removed generic Wikipedia logo from image_right; image_right only appears if an image is passed-in

DFlhb (talk) 10:45, 4 June 2023 (UTC)[reply]

Out of courtesy, I'll link to Template:DYK talk/testcases, where the changes can be seen clearly. Sorry for forgetting that. And I forgot to state the motivation: to reduce the template's vertical height without losing any functionality. I think banners with less text are more likely to be read and not ignored. DFlhb (talk) 02:39, 5 June 2023 (UTC)[reply]

Parameter for page names in the event of a move[edit]

Just noticed this while updating some statistics: the template should have a way to input a pagename to override the automatic link to the pageview tool. A few of my DYKs have been renamed, so the link throws up an error (as the Pageview Analysis tool does not automatically redirect to the new page). SounderBruce 00:23, 22 June 2023 (UTC)[reply]