Extension:MailNotification
|
MailNotification Release status: beta |
|
|---|---|
| Implementation | Notify |
| Description | A small extension to send mails to registered users via a cronjob. |
| Author(s) | Ramin Dalkouhi |
| Last version | 0.1 |
| MediaWiki | 1.7.2 |
| License | No license specified |
| Download | MailNotification-0.2.zip |
| 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.
Contents |
Usage [edit]
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:
php.exe <path-to-your-extensions-folder>/MailNotification.cronjob.php
The execution path must be set to <path-to-your-extensions-folder>
Installation [edit]
Copy all files to your wiki/extensions folder and register the cronjob as described above.
Parameters [edit]
No parameters are supported.
Changes to LocalSettings.php [edit]
Register the MailNotification extension by adding the following line to your LocalSettings.php file:
require_once( "$IP/extensions/MailNotification.php" );
Code [edit]
There are no code examples available.
Remarks [edit]
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.
License [edit]
Released under the LGPL License as pictured in www.gnu.org/licenses/lgpl.html.