On Wednesday 11 August 2004 02:51 pm, Luis Casillas wrote:
Brion Vibber wrote:
Jared Nyland wrote:
Is there away in Mediawiki to setup page
notifications to be sent
when a
users page has been edited.
There's an in-wiki notification for editing of a user's _talk_ page.
Nothing for the user page itself, besides the standard watchlist.
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. (I do need to learn PHP and get a good look at the
code before I try this, though.)
--
Luis Casillas <casillas(a)mercedsystems.com>
This should be fairly straightforward.
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