Release status: beta
|Description||A small extension to send mails to registered users via a cronjob.|
|License||No license specified|
|Translate the MailNotification extension if it is available at translatewiki.net|
|Check usage and version matrix.|
Extension:MailNotification stores a list of article changes within a separate database table and if the included cronjob is started, the list is sent to all registered users via mail. This is the first version of that extension. Currently, notification mails are sent to all users no matter if the e-mail address has been confirmed or not.
Simply register MailNotification.cronjob.php to run at certain time intervals as required, for example, every morning at 9:00 am. As this is a platform specific action, it depends on your system. For windows operating systems, simply add a task (c:\windows\Tasks) which executes:
The execution path must be set to <path-to-your-extensions-folder>
Copy all files to your wiki/extensions folder and register the cronjob as described above.
No parameters are supported.
Changes to LocalSettings.phpEdit
Register the MailNotification extension by adding the following line to your LocalSettings.php file:
require_once( "$IP/extensions/MailNotification.php" );
There are no code examples available.
Actually, this extension has been developed for a small development team which uses media wiki as communication platform. The implementation became necessary as no one did regulary check for wiki changes. It helps reminding people about the wiki's existance.
The environment used while developing is windows-based therefore, the usage example refers to the windows task system. Additionally, in our environment, Joomla! is used as media-wiki container.
Released under the LGPL License as pictured in www.gnu.org/licenses/lgpl.html.