1 -- Patch for email notification on page changes T.Gries/M.Arndt 11.09.2004
3 -- A new column 'wl_notificationtimestamp' is added to the table 'watchlist'.
4 -- When a page watched by a user X is changed by someone else, an email is sent to the watching user X
5 -- if and only if the field 'wl_notificationtimestamp' is '0'. The time/date of sending the mail is then stored in that field.
6 -- Further pages changes do not trigger new notification mails as long as user X has not re-visited that page.
7 -- The field is reset to '0' when user X re-visits the page or when he or she resets all notification timestamps
8 -- ("notification flags") at once by clicking the new button on his/her watchlist page.
9 -- T. Gries/M. Arndt 11.09.2004 - December 2004
11 ALTER TABLE /*$wgDBprefix*/watchlist ADD (wl_notificationtimestamp varbinary(14));