Help:Calendar

We have installed a calendaring extension to the wiki. The following istructions are from the README that came with the extension.

Simple calendar extension for mediawiki.

Released under the GPL. Copyright 2005 by Christof Damian (christof@damian.net)

I wrote this for http://krass.com/ where I have simple event calendar. Examples are at http://krass.com/wiki/Current_events and http://krass.com/wiki/Calendar

The idea was to keep the calendar as simple as possibe and leave all the editing and page creation to mediawiki. It doesn't require any new database tables or files.

To use this on your mediawiki site, copy the php files into your extension directory and put this into your LocalSettings.php:

include("extensions/Calendar.php");

Then you can use the calendar on any page like this: name=krass view=year

The parameters work like this:

"view" can be "week","month","threemonths" and "year" (default). "name" is a name for the calendar and changes the names of the day pages. "format" defaults to '%name_%year_%month_%day' and describes the names of the day pages. "formattitle" formats the titles in today/days/week view "day","month","year" you can specify the date of the calendar, it defaults to today. currently this doesn't work with "view=week" "date" this takes a php strtotime ( http:://www.php.net/strtotime ) option and overrides the "day","month","year" option above. examples are: date="+1 week" date="next monday" date="+7 days" "weekstart" week starts on 1=monday ... 7=sunday. default is 1

format & formattitle accept these substitutions: %name %day,%month,%year any php date substitution prefixed with '%', like '%m','%d','%Y'