Extension talk:Calendar (Kenyu73)

= Fixed Bugs = Fixes from last 'offical' contributors work User:Simsong/Calendar. I'll move the bugs from "New Bugs" to here as I find and fix them.


 * moved most code from CalendarAdjust.php to Calendar.php... bug with LDAP authentication and link paths (only used as a date refresh now)
 * overhaul of the month/year buttons
 * hitting December month forward now bumps to the new year and vise-versa with January
 * made the year dropdown a general +/- 5 years and added a parameter to override this
 * added today button
 * added template load button
 * added repeat events - (10!!Vacation) creates 1 editable source event and 9 "in memory" repeating events (saves wiki page space)
 * added "namespaces" for the calendar events
 * more Windows/Linux friendly without having to hack the code
 * tested with WindowsXP(IIS6) and CentOS 5.0(Apache)
 * fixed the "single day" view
 * fixed the bug where Aug/Nov 2008 were missing the 6th (row) of day(s)
 * can now "clear" an event by deleting all content in the event page

= New Functionality Requests = ' No promises, but post an idea and I'll see what I can do. Better yet, send me the improvment and I'll add it in.'
 * Week view option

= Removed Functionality =
 * Removed the "4!!Vacation" repeating event logic. This wasn't working as well as I wanted it too because of the design of the codebase. I might approach this again later. You can still create repeating events using "template mode". See the Readme for info.

= New Bugs =

Mouse "hover" summaries don't work

 * (12/8/08) Actually, this functionality doesn't even exist in the codebase. It's documented, but not coded. I'll look into adding it sometime

noadd value reversed

 * (12/10/2008) As of revision 27857, the noadd parameter functions backwards - if you set it to 1 the links are displayed, if you set it to 0 the they are not.

Line 730 of Calendar.php can be changed from if (isset($params["noadd"])) $calendar->showAddEvent = $params["noadd"]; to if (isset($params["noadd"])) $calendar->showAddEvent = !$params["noadd"]; to fix the problem.

--Quasar

CalendarAdjust.php path
It's me again, still 12/10/2008. I just figured out why i couldn't change months at all - turns out the way you are linking to CalendarAdjust.php does not work if the wiki is setup to use ModRewrite. That is, my extensions folder is not accessible at the same url as the actual wiki. Could you maybe add a config variable to be set in LocalSettings.php to override the default value in case you need to specify a different location for the file? I edited the code directly for myself, but others will probly run into this eventually. It still works fine by the way.

Also, a feature request while i'm on the subject - I also would like a config variable to change the name displayed on the "template load" button. However, i could just provide a patch for this when i get around to it, since it's possible few others would be interested.

--Quasar