Changes between Version 54 and Version 55 of WikiCalendarMacro
- Timestamp:
- May 1, 2015, 9:09:20 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiCalendarMacro
v54 v55 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Small calendar with days linking to wiki pages =3 2 4 The "sister" macro WikiTicketCalendarMacro, once forked off from this macro, has been re-integrated. 5 Both macros are available in `wikicalendar-2.0.0` and later. 3 = Small calendar with days linking to wiki pages 6 4 7 == Description ==5 == Description 8 6 9 Inserts a small calendar where each day links to a wiki page whose name matches the `wiki-page-format` argument.10 The current day is highlighted, and days with Milestones are marked in bold. 7 This plugin inserts a small calendar where each day links to a wiki page whose name matches the `wiki-page-format` argument. 8 The current day is highlighted, and days with Milestones are marked in bold. This macro makes heavy use of CSS for formatting. 11 9 12 It can be used for maintaining a calendar of meeting minutes or any situation where the wiki page name is based on the date. 10 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 [trac:MacroBazaar#Blog Blog] macro, so if a previous month is selected from the Blog, the calendar will display the selected month. 13 11 14 12 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 [http://python.org/doc/current/lib/module-time.html time module]'s {{{strftime}}} method. Resolution of relative wiki paths is available. … … 16 14 Check the documentation for WikiTicketCalendarMacro to learn about it's option to preselect a wiki page template for new pages and much more. 17 15 16 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. 17 18 18 '''New:''' Since wikicalendar-2.1 both macros are able to display week numbers. Just add a 'w' to your macro arguments (argument position doesn't matter). With `Babel` installed you even get Sunday as first day of the week and week numbers localized according to you browser settings. 19 19 20 == Bugs/Feature Requests ==20 == Bugs/Feature Requests 21 21 22 22 Existing bugs and feature requests for WikiCalendarMacro are [query:status!=closed&component=WikiCalendarMacro&order=priority here]. … … 25 25 [/newticket?component=WikiCalendarMacro&owner=hasienda new ticket]. 26 26 27 == Download == 27 [[TicketQuery(component=WikiCalendarMacro&group=type,format=progress)]] 28 29 == Download 28 30 29 31 Download the zipped source from [download:wikicalendarmacro here]. 30 32 31 == Source ==33 == Source 32 34 33 35 You can check out the source for !WikiCalendarMacro from Subversion [http://trac-hacks.org/svn/wikicalendarmacro here] or [source:wikicalendarmacro browse the source] with Trac. 34 36 35 == Installation ==37 == Installation 36 38 37 39 Requires Trac >= 0.11.3. After [11741] you should be able to use the plugin even with Trac 0.11. 38 40 39 If you experience strange results (see #8818 for an [attachment:ticket:8818:wtc.jpg example]), 40 you may want to force CSS definitions into the HTML page with the following option: 41 {{{ 42 #!ini 41 If you experience strange results (see #8818 for an [attachment:ticket:8818:wtc.jpg example]), you may want to force CSS definitions into the HTML page with the following option: 42 43 {{{#!ini 43 44 [wikicalendar] 44 45 internal_css = True … … 46 47 ticket.due_field.format = %y-%m-%d 47 48 }}} 48 ''available since'' [11746], WikiTicketCalendarMacro options supported since [11749]49 49 50 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.50 Available since [11746], WikiTicketCalendarMacro options supported since [11749]. 51 51 52 == Example == 52 To upgrade this plugin, 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. 53 54 == Example 53 55 54 56 Usage: … … 69 71 [[WikiCalendar(2006,07,false,Meeting-%Y-%m-%d)]] 70 72 }}} 73 71 74 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: 75 72 76 {{{ 73 77 [[WikiCalendar(*,*,true,../Meeting/%Y-%m-%d)]] … … 75 79 76 80 [[Image(20130421_wikicalendar_screenshot.gif)]] 81 77 82 Screenshots using `[[WikiCalendar(w)]]` (for week numbers) with different browser locale settings 78 83 79 === About i18n/l10n support ===84 === About i18n/l10n support 80 85 81 86 These macros are prepared for localization (tooltip customization in calendar navigation and localized macro description). 82 87 83 88 But English message texts are still the (POSIX) default. If this isn't your preferred language, you can 84 1. look,if it's already available from the [TracPluginTranslation Trac plugin l10n project] at [http://www.transifex.net/projects/p/Trac_Plugin-L10N/resource/wikicalendar Transifex] or85 2. do it yourself (see the [t:wiki:CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details).89 1. check if it's already available from the [TracPluginTranslation Trac plugin l10n project] at [http://www.transifex.net/projects/p/Trac_Plugin-L10N/resource/wikicalendar Transifex] or 90 1. do it yourself, see the [t:wiki:CookBook/PluginL10N#Dotranslatorswork l10n cookbook page for Trac plugins] for more details. 86 91 87 You've done a new translation? Superb!Contributing your translation is highly appreciated.[[BR]]92 Contributing your translation is highly appreciated.[[BR]] 88 93 You could send it to the plugin's maintainer or contribute to [TracPluginTranslation Trac plugin l10n project] 89 94 via [http://www.transifex.net/projects/p/Trac_Plugin-L10N/ Transifex]: … … 105 110 Again, for more details see the [t:wiki:CookBook/PluginL10N#Compileanduseit l10n cookbook page for Trac plugins]. 106 111 107 == Recent Changes ==112 == Recent Changes 108 113 109 114 [[ChangeLog(wikicalendarmacro, 3)]] 110 115 111 == Author/Contributors ==116 == Author/Contributors 112 117 113 118 '''Author:''' [wiki:mgood mgood] [[BR]] 114 '''Maintainer:''' hasienda[[BR]]119 '''Maintainer:''' [[Maintainer]] [[BR]] 115 120 '''Contributors:''' JoshuaH, [mailto:alexander.klimetschek@hpi.uni-potsdam.de Alexander Klimetschek], YouLi, fjruiz, [wiki:jun66j5], [wiki:rjollos]