Template talk:Current events header

add categories
editprotected I would like to request the following edit: sandbox example, but then with category name "Category: by day". This will then be used to be able to check: Special:Recentchangeslinked/Category:2007 by day so that editors can more easily keep an eye on the edits to these pages. These pages currently see regurly vanity additions and non-notable events added after they disappear of the main current events pages. The further back in time, the longer these edits have the tendency of flying under the radar, and we can do better. See also Portal talk:Current events --TheDJ (talk • contribs) 00:08, 17 May 2007 (UTC)
 * [[Image:Yes check.svg|20px]] Done. Cheers. --MZMcBride 03:13, 17 May 2007 (UTC)

hCalendar microformat
Would someone be able to assist me in adding hCalendar microformat mark-up to this template? Andy Mabbett | Talk to Andy Mabbett 12:31, 1 August 2007 (UTC)
 * This should do the trick i think User:TheDJ/SandboxTemplate. It has only dtstart atm. You can test it here User:TheDJ/Sandbox. --TheDJ (talk • contribs) 14:08, 1 August 2007 (UTC)
 * I'm not sure how useful this is because we do not have entries for individual events, just for "all events of day ..." It might be wise to consider creating a new Current events system, where we administer all events separately. On the other hand, that will make editing a lot more difficult for the casual editors i think. --TheDJ (talk • contribs) 14:23, 1 August 2007 (UTC)
 * Thank you your "sandbox" prototype works. I agree with your latter point, but this is a step in the right direction, and will be useful in the meantime. We also need to apply  to the table cell containing the list of events (as I've taken the liberty of doing in your sandbox). Please also use Category:Templates generating hCalendars. Andy Mabbett | Talk to Andy Mabbett 14:37, 1 August 2007 (UTC)
 * Done. I say we put this new version into action and wait till people complain :D --TheDJ (talk • contribs) 15:01, 1 August 2007 (UTC)


 * [[Image:Yes check.svg|20px]] Done. Cheers. --MZMcBride 15:04, 1 August 2007 (UTC)


 * "and wait till people complain" - Cynic Realist! Thank you, both. Please feel free to join the microformats project. Andy Mabbett | Talk to Andy Mabbett 15:11, 1 August 2007 (UTC)

Note: Bot_requests. Andy Mabbett | Talk to Andy Mabbett 16:04, 1 August 2007 (UTC)

Documentation page
Please change the "instructions" link to transclude Portal:Current events/DateHeader2/doc instead of linking to this talk page. Andy Mabbett | Talk to Andy Mabbett 16:09, 1 August 2007 (UTC)
 * [[Image:Yes check.svg|20px]] Done. Cheers. --MZMcBride 18:31, 1 August 2007 (UTC)

Border
Please change the border from 2px to 1px, it looks much more prettier and professional. Like this:


 * ✅ Done Seems uncontroversial to me. DMacks (talk) 04:56, 17 November 2008 (UTC)

day of week is wrong
editprotected As noted here, the template appears to have skipped Sunday, going to Monday instead. Despite US/UTC time differences, I think you'll find that the 29th is indeed a Sunday. —Vanderdecken∴ ∫ξφ 16:53, 29 March 2009 (UTC)


 * - this is generated by a ParserFunction anyway and not something we can fix here. Hers fold  (t/a/c) 19:36, 29 March 2009 (UTC)

Format
I have made some minor formatting changes in the sandbox which ensure that the user remains on the secure server if they're there. Furthermore, some cleaner code is used in some locations. Thanks, --The Evil IP address (talk) 19:32, 24 May 2010 (UTC)
 * ✅. Plastikspork ―Œ (talk) 08:42, 25 May 2010 (UTC)

April, August, December, February
editprotected Currently categories show months in alphabetical order:
 * [[Category: by day|]

i.e. A: April, August D: December F: February J: January, July, June M: March, May N: November O: October S: September.

e.g. Category:2010 by day

I propose using MONTH instead of MONTHNAME

i.e. 0: January, February, March, June, July, August, September 1: October, November, December.

Letuño (talk) 17:33, 2 January 2012 (UTC)

Override of Override in CSS
The Minerva skin applies  to all   elements when the window width is less than 720px. This causes any number of problem with layouts like the Current events header, whereby the headers do not stretch the full width of the space they are given and end up looking quite odd. I am requesting that on line 5, the style attribute be changed from:



to



This is part of my effort to make the Current Events portal have a mobile-friendly layout. More details can be found on the Portal Talk page.&#32;— RossO (talk) 19:05, 28 August 2017 (UTC)
 * Yuck. This template has not aged well. I'll make the requested change in sandbox for testing, but it's due for a total overhaul, I think. Matt Fitzpatrick (talk) 08:28, 29 August 2017 (UTC)
 * See sandbox and testcases for progress so far. More tinkering needed, probably. Matt Fitzpatrick (talk) 09:53, 29 August 2017 (UTC)
 * That looks SO much better in the mobile view: Awesomesauce! If you want to do more tinkering, feel free, but this is already an improvement over what's there. &#32;— RossO (talk) 20:01, 29 August 2017 (UTC)
 * Done, please keep improving ;) —Th e DJ (talk • contribs) 20:07, 29 August 2017 (UTC)
 * See portal talk for proposal to replace this template with a tableless layout along the lines of Template:Current events/sandbox. Matt Fitzpatrick (talk) 18:58, 30 August 2017 (UTC)

Link to Month page
I would like to have a link to the parent month page added to the individual pages. This would go at the bottom of the code here:

Thoughts? &#32;— RossO (talk) 17:33, 13 September 2017 (UTC)
 * I think that it won't do what you think it does :) As in, this will only be shown ever on Template:Current events header, and nowhere else... —Th e DJ (talk • contribs) 18:43, 13 September 2017 (UTC)
 * A link to the month would be useful. As User:TheDJ hints, though, this is difficult due to Template:Current events header's "open table" structure. I could do it with  trickery in the template, or with a manual insertion at the bottom of every day's code. Both those solutions would cause headaches in the long term, though.
 * If you don't mind holding off on this change, it would be easy to do within my Template:Current events/sandbox replacement proposal. Matt Fitzpatrick (talk) 21:03, 13 September 2017 (UTC)
 * That's just fine by me. It seemed like an obvious thing to have. You're right about where it would or wouldn't show up. Nesting nests are nesting nuts. : ) &#32;— RossO (talk) 22:39, 13 September 2017 (UTC)

Next and Previous Days links
It would be nice to have links that show only on the non-included version linking to the next and previous days, along with the 'this month' link noted above. &#32;— RossO (talk) 04:21, 18 September 2017 (UTC)
 * I was totally thinking the same thing! Matt Fitzpatrick (talk) 05:06, 19 September 2017 (UTC)

Fragile weekday
The weekday seems somewhat fragile. Here is an old version of May 26, 2016 (a Thursday) which claims it's a Sunday. While that page was live it actually said it was a Wednesday, but that may be difficult to demonstrate. I fixed it by removing a space from one of the parameters. I rather don't think an extra space here or there should break the weekday, but I'm not familiar enough with the template to easily figure out how to fix this issue. Maybe we could simply strip leading and trailing spaces from the parameters? Huon (talk) 19:55, 26 May 2018 (UTC)