Description
Since 1.7 (I guess), there are some problems using the monthcalender with a template (template will be used for directly editing nonexisting day pages). Even the help page under http://master.moinmo.in/HelpOnMacros/MonthCalendar is not not up-to-date!
Steps to reproduce
Just try to use the MonthCalender Macro with a Template
<<MonthCalendar(,,,,,,MonthCalendarTemplate)>>
Example
Argument "anniversary" must be a boolean value
this is also the official sytnax for including a template; but it's not working
<<MonthCalendar(,,,,,,MonthCalendarTemplate)>>
<<MonthCalendar: execution failed [Argument "anniversary" must be a boolean value, not "monthcalendartemplate"] (see also the log)>>
Argument "height6" must be a boolean value
this works that a template is used but after browsing to another month/year an error appears:
<<MonthCalendar(,,,,,,,MonthCalendarTemplate)>>
<< < 2024 / 10 > >> | ||||||
---|---|---|---|---|---|---|
Mon | Tue | Wed | Thu | Fri | Sat | Sun |
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
nonexisting day pages
Component selection
- macro/MonthCalendar.py
Details
MoinMoin Version |
1.7.x (this wiki) |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Discussion
Plan
- Priority:
- Assigned to:
Status: fixed by http://hg.moinmo.in/moin/1.7/rev/4431145e4994 and http://hg.moinmo.in/moin/1.6/rev/836b64b84dda