Jump to content

Extension:MailNotification: Difference between revisions

From mediawiki.org
Content deleted Content added
m Reverted edits by 185.65.253.102 (talk) to last version by Kghbln
Tags: Replaced Rollback
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Archived extension|3746344}}
{{Extension
|name = MailNotification
|status = beta
|type = notify
|author = Ramin Dalkouhi
|image =
|version = 0.1
|update =
|mediawiki = 1.7.2
|download = [http://www.bbytes.net/~fom001w/uploads/MailNotification-0.1.zip MailNotification-0.1zip]
|readme =
|changelog =
|description = A small extension to send mails to registered users via a cronjob.
|parameters =
|rights =
|example =
}}

== What can this extension do? ==
The extension stores a list of article changes within a seperate 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.

== Usage ==
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:

<code>
php.exe &lt;path-to-your-extensions-folder&gt;/MailNotification.cronjob.php
</code>

== Installation ==
Copy all files to your wiki/extensions folder and register the cronjob as described above.

=== Parameters ===
No parameters are supported.

=== Changes to LocalSettings.php ===
Register the MailNotification extension by adding the following line to your LocalSettings.php file:

<code>
require_once( "$IP/extensions/MailNotification.php" );
</code>

=== Code ===
There are no code examples available.

=== Remarks ===
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, [http://www.joomla.org Joomla!] is used as media-wiki container.

=== License ===
Released under the LGPL License as pictured in [http://www.gnu.org/licenses/lgpl.html www.gnu.org/licenses/lgpl.html].

[[Category:Email extensions]]

Latest revision as of 18:51, 18 September 2021