Extension:EmbedNews

What can this extension do?
This page is still in working progress and files are still in working progress

Allows the latest event to be displayed on a wiki page. Events are stored on a wiki page where the headings is the date for when this event is to be shown. The upcoming or current event will be displayed on the page.

Usage
To start displaying news on the page:

news

Where news inside the tags is the news page. If the page does not exist yet, the extension will provide a link to create the page.

The news page is structured with the date as the title and the news for that date is written below. Example below

23 November 2007
Longer dates work

2007-11-15
Short dates are picked up

2007-11-10
Wiki links work as well

Quite a few date representations can be detected by the extension.

For the regex minded person the following is used to find dates in a wiki page:

/==[\[]*([^\]\n]*)[\]]*==/

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php: