From e7dabc458d37985b2df07227bcf8f06f025a78da Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Tue, 14 Oct 2008 10:50:26 +0000 Subject: [PATCH] Mark a FIXME in RecentChange.php - We shouldn't be treating log entries as page changes. This causes a few problems with deletions. --- includes/RecentChange.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/RecentChange.php b/includes/RecentChange.php index a9e10e3d71..93de9437f1 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -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, -- 2.20.1