Extension:DschosCalendar

What can this extension do?
This extension adds the special page "Calendar", which shows the dates stored in Calendar-YYYY-MM-DD, where YYYY is the year, MM is the month and DD is the day.

It is heavily based on the Hex2bit Calendar.

User:Kenyu73/Calendar - same calendar, but full page user calendar *(DschosCalendar is a Special Page calendar only)

Usage
Just go to the special page named Calendar, and browse the calendar or add entries by clicking on "Add entry".



Installation
Copy DschosCalendar.php and calendar_template.html into the extensions/ directory.

You might want to edit the sidebar: just edit the page MediaWiki:Sidebar, add a line '** calendar-url|calendar', then edit the page MediaWiki:Calendar-url to contain just the string Special:Calendar, and the page MediaWiki:Calendar to contain just the string Calendar. This will add the calendar to your navigation menu on the left side.

Parameters
This extension has no parameters.

Changes to LocalSettings.php
require_once("$IP/extensions/DschosCalendar.php");

Code
The source for DschosCalendar.php:

And the template calendar_template.html:

                <td class="calendarWednesday"> <td class="calendarThursday"> <td class="calendarFriday"> <td class="calendarSaturday">