Small calendar with days linking to wiki pages

The "sister" macro WikiTicketCalendarMacro, once forked of from this macro, has been re-integrated. Both macros are available in wikicalendar-2.0.0 and later.

Description

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 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.

Bugs/Feature Requests

Existing bugs and feature requests for WikiCalendarMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

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

Installation

Requires Trac >= 0.11.3.

Example

Usage:

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

Arguments:

  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
[[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:

[[WikiCalendar(*,*,true,../Meeting/%Y-%m-%d)]]

Screenshot of version 5

Recent Changes

[11175] by hasienda on 01/22/12 00:28:15

WikiCalendarMacro: Correct changelog after discovering about #6314, refs #6314, #9703 and #9718.

For both of these macros it's a real pain to discover and document history and give proper credit to contributors due to considerable activity without proper coodination and housekeeping in the repository.

[11174] by hasienda on 01/21/12 23:47:32

WikiCalendarMacro: Enable parsing of relative wiki path patterns, refs #9718.

Thanks to Ian for the suggestion.

[11172] by hasienda on 01/21/12 15:21:05

WikiCalendarMacro: Restore ability to display multiple milestones per day, refs #9719.

Obviously code has been simplyfied too much in the big macro merge [10203]. Thanks to ilewismsl for spotting this 8 months old regression.

[10998] by rjollos on 12/03/11 03:41:10

Show svn revision on plugin admin panel.

Author/Contributors

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

Attachments