Version 46 (modified by hasienda, 5 years ago) (diff)

add comment regarding support for relative wiki paths as requested by lucasrangit in #9398

Small calendar with days linking to wiki pages

This plugin is under development and will join with the sister plugin WikiTicketCalendarMacro soon. This wiki page will become the home for both. If you have a patch or another idea for future development, please don't hesitate to send it. The current version of the macro seems to be stable and working well with Trac >= 0.11.


Inserts a small calendar where each day links to a wiki page whose name matches the wiki-page-format argument. 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.

Bugs/Feature Requests

Existing bugs and feature requests for WikiCalendarMacro are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:wikicalendarmacro here].


You can check out the source for WikiCalendarMacro from Subversion here or browse the source with Trac.


Requires Trac >= 0.11.3.



[[WikiCalendar([year, [month, [show-buttons, [wiki-page-format]]]])]]


  1. year (4-digit year) - defaults to * (current year)
  2. month (2-digit month) - defaults to * (current month)
  3. show-buttons (boolean) - defaults to true
  4. wiki-page-format (string) - defaults to %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:


Screenshot of version 5

Recent Changes

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.

Refs #9568.

15112 by rjollos on 2015-12-11 06:02:47
2.1.1dev: Add additional mock classes for Trac < 0.12

Patch by bof.

Fixes #9568.

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.



Author: mgood
Maintainer: hasienda
Contributors: Alexander Klimetschek, rjollos, JoshuaH, YouLi, fjruiz

Attachments (2)

Download all attachments as: .zip