Extension:Calendar (Kenyu73)/Readme

Syntax example
To add a calendar to your page, just follow the details in this Syntax section. Please remember, the calendar name is the unique identifer for all events. If you name your calendar " Eric " and someone else already has that named calendar, you both will share the same calendar events! 

Events
Events are listed on the calendar in two different ways. The calendar will try to build a title for the event from the first section heading in the article. The text under that should would appear when you put your mouse over the name (bug).

In this example, Summer Picnic will appear on the calendar. Summer Picnic Our department will be holding a summer picnic at the park. Bring your families and your appetites!

If you don't add an event on the first page line, the calendar will show the word Event, with the text in the article displayed when you have your mouse over the link (bug).

Multiple Events
In this example, two calendar events are created using the same page. The == event == can be used to create these mulitple events per page. However, you can still create new page events by clicking Add Event.

In this example, Picnic and Party will show up on the same day.

Picnic
Bring food!

Party
Bring drinks

Template Events
The template button (if enabled) allows users to add a bunch of events into one page. Only one template is created per month/year. This can be used along with all other event types.

The day and the event must be seperated by an '#' as shown in the example. You can also create duplicated days.

1#Vacation 2#Holiday 7#Election Day 7#Office Closed 31#Half Day

Repeating Events
To scheduled a repeating event, you need to enable templates by adding the (usetemplates="1") parameter. You can then add a repeating event using the following syntax: 1-10#Vacation

(discontinued) - "!!" repeating event (ie:  4!!Vacation). Might revisit later, but right now it's more hassle to get perfect.

Installation
The following are details of the administrator installation of this calendar extension. Folder Path: /extensions/Calendar Localsettings.php: require_once("$IP/extensions/Calendar/Calendar.php"); $wgExtraNamespaces[100] = "CalendarEvents"; $wgExtraNamespaces[101] = "CalendarEvents_talk";

The additional namespaces move all the events outside the "main" group... should clean the mess up some. If you have custom namespaces installed already, make sure you change bump the [100][101] values up accordingly.