Extension:Email notification/to-do

using namespace_title as index (as proposed here)

 * On Wednesday 11 August 2004 02:51 pm, Luis Casillas wrote: Something I've wanted to add to MediaWiki is email notifications of watchlist page changes. The users of the wiki I'm running have asked for this feature.

This should be fairly straightforward '''[available soon with this patch --Nyxos 22:36, 12 Sep 2004 (UTC)] '''

On each commit, search the watchlist table for instances of that page and collect the returned user id's into an array. Step through the array, getting the email address associated with each id. Then send out a mail that's BCC'd to each address.

If the watchlist table gets very big, it could take a long time for the edit to be committed. However, the "namespace_title" field is already a table index, so it shouldn't be too bad unless it's a huge wiki, in which case, a flag in LocalSettings could disable the option.

Bruce

resend notifications older than ..

 * a kind of bring forward

broadcast email function

 * Sysops might need a tool to send a mail to all users with email addresses and or to place messages into all user_talk pages. This could also be done by a "global" broadcast template, which is automatically included (rendered, not inserted) into all user_talk pages.

watchlist: "bulk remove pages" (clear watchlist) function

 * remove all pages from your watch list: with email notification, a user won't get hundreds of notifications for all watched pages, and it's cumbersome to select and remove them one by one.

extended watchlist (primary, with email notification) and secondary (without)

 * second column of select boxes for enable email notification on [ second watchlist] page
 * enable/disable individually selected pages by their individual (second) select box for email notification
 * enable/disable all watch listed pages for email notification

send email notification as digest

 * user selectable digest function: a collective notification mail is only sent when some conditions became true:
 * number of pending notifications (not yet sent to that user) above a threshold eg. more than 9 pending notifs OR
 * maximum silence fini timeout reached eg. 3 days

In other words, this user will get a notification digest email on the 10th page change in an interval of 3 days (since the last notification was sent) or at latest after the 3rd day if less than 10 page changes occurred.