#581 Adding a full diff to wiki watchlist email alerts
Closed: Fixed None Opened 15 years ago by kwade.

It would be great to restore the full universal diff functionality to the email alerts sent by our MediaWiki instance. Actually, the MW output that is sent to e.g. RSS for the Special:Recentchanges has a nice *ML tabled diff.

Nothing pops with my few minutes of research, but surely this is a solved thing, right?


Hey, Ian, do you know how feasible this is? I know we've definitely talked about it before, but I don't remember what the outcome was.

(Also wow, it has already been a whole year since the wiki migration? Time sure flies :-))

Ian, any feedback here?

I'm gonna talk to my self for a short bit here, please bear with me:

This would require we write an extension, as there doesn't appear to be one out there. To do this, we would need hooks to tie in how the watch notification email is composed. I have to figure out which hooks would need to be tied into.

We will run into another problem: if a page is edited multiple times, MediaWiki won't send another email until the page is visited by the logged-in user. This is fine if you have watch commits like you do now, but if you're getting diffs it's not that wonderful.

This would require we write an extension, as there doesn't appear to be one out there. To do this, we would need hooks to tie in how the watch notification email is composed. I have to figure out which hooks would need to be tied into.

No hooks are available. I'm working on a patch to trunk to submit upstream to add the necessary hook.

This is totally against the architecture of MediaWiki. I'm working on a client program to access the API and send the emails itself.

Login to comment on this ticket.

Metadata