Author: stas-fomin
Description:
We use MediaWiki 1.4.5 + Enotif 2.0.0, but I think the problem remains ( I look
though CVS 1.5 codes).
Consider the following scenario:
- We have non-empty article "TheArticle".
- Alice watched "TheArticle".
- Bob opens "TheArticle" for editing, set "watch this page" checkbox, made no
changes, but press "Save article" button.
- Alice receive notification like "Bob edited TheArticle. _This is new page_".
- Alice fear that Bob "clear or recreate" "TheArticle".
I think the problem is UserMailer.php/composeCommonMailtext:
in lines: (lastest UserMailer.php from CVS contains similar lines...)
if ($article->mOldid) { $body = str_replace('$NEWPAGE', wfMsg(
'email_notification_lastvisitedrevisiontext' ), $body);
..... } else { $body = str_replace('$NEWPAGE', wfMsg( 'email_notification_newpagetext'
), $body );
..... }
that is if "oldid" is not set, the software sends notification about "New page".
But "oldid" is not set the no changes made also...
Version: 1.5.x
Severity: normal
URL: http://meta.wikipedia.org/wiki/Enotif