|Version 37 (modified by rjollos, 6 years ago) (diff)|
Small calendar with days linking to wiki pages
Inserts a small calendar where each day links to a wiki page whose name matches the wiki-page-format agument. The current day is highlighted, and days with Milestones are marked in bold. This version makes heavy use of CSS for formatting.
It can be used for maintaining a calendar of meeting minutes or any situation where the wiki page name is based on the date. It is designed to work well with the Blog macro, so if a previous month is selected from the Blog, the calendar will display the selected month.
Non-existent pages link directly to the edit form for the requested page to make it easy to add new meeting minutes pages. It uses the time format syntax from the Python time module's strftime method.
If you have any issues, create a new ticket.
Note that the 0.8 and 0.9 versions of the macro will not be further developed.
Download the zipped source.
[[WikiCalendar([year, [month, [show-buttons, [wiki-page-format]]]])]]
- year (4-digit year) - defaults to * (current year)
- month (2-digit month) - defaults to * (current month)
- show-buttons (boolean) - defaults to true
- wiki-page-format (string) - defaults to %Y-%m-%d
[[WikiCalendar(2006,07)]] [[WikiCalendar(2006,07,false)]] [[WikiCalendar(*,*,true,Meeting-%Y-%m-%d)]] [[WikiCalendar(2006,07,false,Meeting-%Y-%m-%d)]]
- 15113 by rjollos on 2015-12-11 06:04:58
2.1.1dev: Remove tag_svn_revision
The attribute isn't supported in setuptools >= 10.
- 15112 by rjollos on 2015-12-11 06:02:47
2.1.1dev: Add additional mock classes for Trac < 0.12
Patch by bof.
- 14364 by hasienda on 2015-01-11 09:27:06
WikiCalendarMacro: Add missing import-fallback for format_datetime, refs #12133.
This issue on Trac installations without Babel as well as the patch have been
kindly contributed by Nick Piper, thank you.
(8.3 KB) -
added by Andy 8 years ago.
Screenshot of version 5
(30.9 KB) -
added by hasienda 3 years ago.
WikiCalendarMacro v2.1 with week numbers for different preferred locales: English (default), French, Spanish, German, Hungarian, Russian, Hebrew and Japanese
Download all attachments as: .zip