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

<< <  2023 / 11 >  >>
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      

nonexisting day pages

Component selection

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


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/MonthCalendarWrongArgumentsForUsingTemplate (last edited 2008-07-28 07:30:43 by ThomasWaldmann)