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@mercedsystems.com
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@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
On Aug 13, 2004, at 9:57 PM, Bruce Bertrand wrote:
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. (I do need to learn PHP and get a good look at the code before I try this, though.)
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.
Yeah, I figured this couldn't be too hard to do, and really the obstacle is to find the time to learn PHP. Thanks for the details!
-- Luis Casillas casillas@mercedsystems.com
On Sunday 15 August 2004 05:55 am, Luis Casillas wrote:
On Aug 13, 2004, at 9:57 PM, Bruce Bertrand wrote:
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. (I do need to learn PHP and get a good look at the code before I try this, though.)
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.
Yeah, I figured this couldn't be too hard to do, and really the obstacle is to find the time to learn PHP. Thanks for the details!
-- Luis Casillas casillas@mercedsystems.com
A little correction to my initial response, even though it's useless now, as this functionality is already here/on the way as of 1.3.1 (and probably a lot better than my minimal approach).
You would need to add a DB entry in the user information indicating the user's preference for receiving mail (unless you wanted to unconditionally send mail to everyone who had that article on their watchlist).
-B
mediawiki-l@lists.wikimedia.org