Yet Another Simple Event Calendar
Clone or download
Pull request Compare This branch is 46 commits ahead, 107 commits behind wikimedia:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Yet Another Simple Event Calendar

Outputs a tabular calendar filled with events automatically generated from page titles in a certain namespace. Based on the intersection extension and the FullCalendar jQuery plugin.

Demo: FoodHackingBase Events


EventCalendar expects page titles in the following format in a certain namespace:

yyyy/mm/dd Event Title

for example


Multi-day events can be created by setting up consecutive dates with the same title, like


where the second and following pages will usually redirect to the first.

Typical invocation on a page:

namespace = Event
aspectratio = 1.35

aspectratio is optional and defaults to 1.6. CSS max-width is set to 800px and can be overridden in MediaWiki:Common.css.


  • MediaWiki 1.22 (will probably work with other versions, comments appreciated)
  • MySQL (see #1)


  1. Deploy the files to extensions/yasec.
  2. Edit your LocalSettings.php:
    • Load the extension:

    • Setup your namespace:

      $wgExtraNamespaces = array(
          100 => "Event",
          101 => "Event_talk",
      $wgNamespacesToBeSearchedDefault = array(
          NS_MAIN => true,
          100     => true,
    • For testing you might want to disable the cache:

      # How long to cache pages using EventCalendar in seconds. Default to 1 day.
      # Set to false to use the normal amount of page caching (most efficient),
      # set to 0 to disable cache altogether (inefficient, but results will never
      # be outdated)
      $wgECMaxCacheTime = 60*60*24;   // How long to cache pages in seconds