Calendar Events

From High Salvington Mill Trust
Access restrictions were established for this page. If you see this message, you have no access to this page.

Back to Calendar


Calendar Entry Links

Making a New Calendar Entry

Make a Link to the Proposed Event Page

To create a new entry in the Calendar you first need to create a new link by editing this page and adding a new line below the #Calendar Entry Links heading, with the link to the name of the page representing the event. The format of a link is, two open square brackets, followed by 4 year digits, a "/", 2 month digits, another "/", 2 day digits followed by an underscore, "_", and then the brief name for the event, ending with two right square brackets. Syntactically, this can be described as

[[yyyy/mm/dd_event name]]

Leave a blank line between each event to force each to display on its own line in the page, or, to have event links on consecutive lines, put an asterisk, "*", at the start of each line, outside of the link, to make the line a bulleted list item.

The event name you include in the page title will be displayed on the relevant day of the Calendar widget.

Namespaces

There is basic support for associating pages with a namespace and defining user groups that some pages can limit access to. The namespaces need to be defined by the system administrator - this cannot be done entirely within the MediaWiki software. Once a namespace is defined, a new page can be named with the namespace preceding the rest of the page name, separated by a comma. Currently, the only, supported namespaces is:

  • Board: A namespace for Board members and advisers.

It is possible to prefix the above event date and name with a namespace designation.

Create the Event Page

Be aware that the Calendar widget searches for pages that match a specific pattern containing a YYYY/MM/DD_event pattern, so just creating a new link to a page is insufficient to add the event to the calendar. When you have saved your changes to the this page, including your new event page links, you will need to click on each new link and create the page for the event itself. You can add any text you like to the actual event page. When someone clicks on the item in the Calendar they will be directed to your event page, hence it is a good place to put information you need to share to coordinate with others over the event.

Limiting Page Access to One or More User Groups

If you wish to create a page that is limited to a specific user group, e.g. Board only, then you can add the text,

<accesscontrol>Board</accesscontrol>

in front of your event label text on the first line, e.g.

<accesscontrol>Board</accesscontrol>Board Meeting

With an access control statement at the start of the page, only the named groups will be able to access the page.

The only currently supported user group is Board. Later on, we may add additional groups, such as Volunteers or Members. You can list group names, separated by a comma, within the access control statement, and you can specify some as read-only by putting (ro) after the group name, e.g. to make a page editable by a member of Board and read-only to a Member

<accesscontrol>Board,Members(ro)</accesscontrol>

Refresh the Calendar's Stored Events

Once you have created the link here and created the target page it refers to and put your brief label for the event on the first line of the target page, you may need to edit the Calendar page and just save it without any changes. This will force the Calendar extension to go and find all of the calendar entry pages and update the stored calendar.

Previous Years' Event Links