Mark a FIXME in RecentChange.php - We shouldn't be treating log entries as page changes. This causes a few problems with deletions.

This commit is contained in:
Andrew Garrett 2008-10-14 10:50:26 +00:00
parent 25501ec20f
commit e7dabc458d

View file

@ -192,6 +192,8 @@ class RecentChange
$wgUser : User::newFromName( $this->mAttribs['rc_user_text'], false );
}
# FIXME: this would be better as an extension hook
## FIXME: Why is this treating log entries as changes to the page?
## This causes problems when pages are deleted.
$enotif = new EmailNotification();
$title = Title::makeTitle( $this->mAttribs['rc_namespace'], $this->mAttribs['rc_title'] );
$enotif->notifyOnPageChange( $editor, $title,