|Version 49 (modified by 5 years ago) (diff),|
Small calendar with days linking to wiki pages
Notice: This plugin is unmaintained and available for adoption.
The "sister" macro WikiTicketCalendarMacro, once forked off from this macro, has been re-integrated.
Both macros are available in
wikicalendar-2.0.0 and later.
Inserts a small calendar where each day links to a wiki page whose name matches the
The current day is highlighted, and days with Milestones are marked in bold. This macro 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. Resolution of relative wiki paths is available.
Check the documentation for WikiTicketCalendarMacro to learn about it's option to preselect a wiki page template for new pages and much more.
If you have any issues, create a new ticket.
Download the zipped source from [download:wikicalendarmacro here].
Requires Trac >= 0.11.3. After  you should be able to use the plugin even with Trac 0.11.
[wikicalendar] internal_css = True ticket.due_field = due_close ticket.due_field.format = %y-%m-%d
Easy upgrade: Rename your old
[wikiticketcalendar] section, and the required option name change
ticket.due_field.name --> ticket.due_field.name will be done automatically for you.
[[WikiCalendar([year, [month, [show-buttons, [wiki-page-format]]]])]]
year(4-digit year) - defaults to
month(2-digit month) - defaults to
show-buttons(boolean) - defaults to
wiki-page-format(string) - defaults to
[[WikiCalendar(2006,07)]] [[WikiCalendar(2006,07,false)]] [[WikiCalendar(*,*,true,Meeting-%Y-%m-%d)]] [[WikiCalendar(2006,07,false,Meeting-%Y-%m-%d)]]
Note: relative wiki paths are supported as well, what might be especially relevant, if you later change position of the wiki page containing the WikiCalendarMacro relative to the stack of related wiki pages:
- 15113 by rjollos on 2015-12-11 05:04:58
The attribute isn't supported in setuptools >= 10.
- 15112 by rjollos on 2015-12-11 05:02:47
2.1.1dev: Add additional mock classes for Trac < 0.12
Patch by bof.
- 14364 by hasienda on 2015-01-11 08: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.
wiki-calendar-screen.2.png (8.3 KB) - added by 9 years ago.
Screenshot of version 5
20130421_wikicalendar_screenshot.gif (30.9 KB) - added by 4 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