Page MenuHomePhabricator

Email notification on content change (by script)
Closed, DeclinedPublic

Description

Author: romain.pelissier

Description:
I have look around the web and didn't find any answer to that. So I will post
the question here. Maybe it is because the feature is not implemanted yet or
maybe because I didn't find the right option ...

The question is :
Is there a way to have a global email notification system when something change
on the wiki ?

For exemple, users can edit, comment and so on but every night, a script can run
on the server and all users registred on this wiki (with the notification option
set) receive a nice email that tells what have been changed in terms of pages or
topics and if some comments has been added.

An option could also be set to allow the user who edit a page to send an
immediate email notification for all registred user.

I cannot give a lot of details here because it is just an idea that I have but I
think that it could be nice to have in future release.

Email notification could be set as an option of the user, of a group or of a page.

If there is such a script or method, can you tell me where I can find it ?

A cool thing to have could be a script that can be executed as a cron job


Version: 1.5.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz5273

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:09 PM
bzimport set Reference to bz5273.
bzimport added a subscriber: Unknown Object (MLST).

Google up the docs on email notification.

(In reply to comment #0)

Is there a way to have a global email notification system when something change
on the wiki ?

This is possible with a comparatively small modification: look into module
UserMailer.php and modify the database statement which is run when a page is
changed. It currently only regards to notify users who are _watching_ the page.
Change this (drop this part) and not only watching users but all are notified -
and your problem is solved.

A general change of the MediaWiki to certainly not wanted by developers and
users, which are usually very reluctant to receive e-mails anyway.