Extension:MKCalendar

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear app error.png
MKCalendar

Release status: unstable

Implementation Parser extension
Description Calendar
Author(s) Mihály Kepler
Last version 0.69
MediaWiki 1.15+
License GPL
Download Extension:MKCalendar#Sources
Check usage and version matrix

Contents

What can this extension do? [edit]

It's simple a Calendar.

Key Features [edit]

  • own and shared events
  • repeat events
  • remainder

Screenshots [edit]

Events and New Event

Mkcalendar01.png

Sources [edit]

svn co https://wmkcalendar.svn.sourceforge.net/svnroot/wmkcalendar wmkcalendar

Installation [edit]

  • create tables mkcalendar.sql
    • The user is only able to use the calendar, if he/she is a member of the "everyone group"
INSERT INTO `[wikidatabase]`.`mkcalendar_groups` (
  `user` ,
  `group`
)
VALUES (
'username', 'everyone'
);
  • edit mkcalendar.mysql.php
    • fill valid value
$wgmkcmysql_hostname = 'example.com';
$wgmkcmysql_username = 'mkcuser'; //set privileges
$wgmkcmysql_password = 'mkcpass';
$wgmkcmysql_dbname   = 'wikidb';
...
  • Localsettings.php
    • require_once( "$IP/extensions/mkcalendar/mkcalendar.php" );
  • cron

insert crontab

*/[5 10 20 30 minute] * * * * /[PATH TO PHP]/php /[PATH TO WIKI]/extensions/mkcalendar/mkcalendar_cron_bhour.php
00 06 * * * /[PATH TO PHP]/php /[PATH TO WIKI]/extensions/mkcalendar/mkcalendar_cron_bday.php
00 06 * * * /[PATH TO PHP]/php /[PATH TO WIKI]/extensions/mkcalendar/mkcalendar_cron_bweek.php

Usage [edit]

<mkcalendar>
view=week
group=everyone
</mkcalendar>